Prerequisites
Installing Validio on Customer VPC requires knowledge of:
- Kubernetes: how to install, configure, and monitor resources on AWS, GCP or Azure.
- Helm: how to install and configure helm charts on Kubernetes.
- All nodes must be in the same AWS availability zone, GCP zone or Azure zone.
- Persistent volume provisioning enabled, to create Kubernetes PVC resources.
- We also recommend a configured load balancer or ingress controller, such as:
- kubectl CLI tool and set the
kubectlcontext to the destination cluster. - Helm version 3.8.0 or later with Helm OCI support.
Installation
Complete the following steps to install your VPC deployment. Also, you can refer to VPC Deployment Examples.1. Create namespace
Create the namespace you want to use for your configuration. In our examples, we usevalidio.
Bash
2. Add the docker-registry secret
Create aKubernetes Secret to pull the docker images required by the helm chart. This requires the JSON file provided by Validio.
First, set the VALIDIO_SECRET environment variable to point to your JSON file:
Bash
Kubernetes Secret:
Bash
3. Install the helm chart
The helm chart installation requires the
validio-values.yaml file. For details, refer to configuration and examples.Bash
4. Configure the validio-values.yaml file
The Helm chart supports the following keys in the validio-values.yaml file:
If the default value is
false or true, the value type is bool. For all others, the value type is String.<service>.resources.* keys supports both CPU and Memory resources, specified only as <service>.resource.*.
Available keys for each service:
YAML
The following are memory and CPU recommendations:
- Memory: set a limit with
<service>.resources.limits.memory. Kubernetes terminates a container that exceeds its memory limit, so the limit caps how much a service can consume. - CPU: set a request with
<service>.resources.requests.cpuand leave the limit unset. The request reserves capacity when the pod is scheduled, and with no limit in place a service can use spare CPU on the node instead of being throttled. - CPU limits: if your platform policy requires one, set
<service>.resources.limits.cputo1000m. That is five times the suggested request, so it bounds worst-case use without throttling normal load.
Each service runs as a single replicaEvery Validio service runs as exactly one replica and can’t be scaled horizontally. The Helm chart has no replica count or autoscaling setting, and you shouldn’t scale the deployments or statefulsets beyond one replica by any other means. To give a service more capacity, raise its
<service>.resources.* values instead.affinity, tolerations or nodeSelector that is possible on all our services. Here is an example of how it would be done:
YAML
<service>.probes.*. Available keys are listed below, note that they are enabled by default and the commented values are the default values, so no need to make any changes if you are happy with the default values.
YAML
Sign in to the Validio platform
The first time you sign in to the Validio platform, you must use the admin credentials created in the Kubernetes Secret.Bash
surface.ingress.host key. For example, https://validio.example.com/
If you did not configure an ingress, use port-forward to forward the Validio platform to your localhost:
Bash