Deploy Hydrolix
Hydrolix deployments follow the Kubernetes operator pattern. To deploy Hydrolix, generate an operator configuration (operator.yaml) and a custom resource Hydrolix configuration (hydrolixcluster.yaml). You'll use these files to deploy Hydrolix on your Kubernetes cluster.
Prerequisites⚓︎
You must complete all of the steps outlined in the Prepare Your Cluster guide before you can deploy Hydrolix in EKS.
Then, ensure that you've loaded the environment variables defined in env.sh:
Switch kubectl context to use your Hydrolix cluster namespace:
Deploy Operator⚓︎
The Hydrolix operator resources API generates all of the Kubernetes resource definitions required to deploy the operator, including service accounts and role permissions. Once deployed, the operator manages your Hydrolix cluster deployment.
You generated the operator configuration in the previous section, so now run the following kubectl command to deploy an operator with the configuration stored in the file:
Deploy Hydrolix⚓︎
Hydrolix provides a number of scale profiles that allocate all cluster resources based on a single expected load value. Specify a profile using the spec.scale-profile field in your cluster configuration. If omitted, Hydrolix uses the default minimal profile. The following instructions create a dev scale deployment and apply it to your cluster. Write the following into a file named hydrolixcluster.yaml:
The above config will deploy, among other things, a default, internal Postgres instance that is non-HA. If you want to run a more resilient version, read our Deploy Production Postgres guide.
Use the following command to replace the environment variables above with their values:
Don't forget to add your IP address to the allowlist. You can get your IP address by running the following command:
Finally, deploy the configuration:
Create the DNS Record⚓︎
Next, create the DNS record so you can access your cluster through the hostname. To retrieve the traefik CNAME, use the following command:
If you can't find the service, check to make sure you're using the correct Kubernetes namespace for your cluster.
👍 Enable IP and SSL/TLS access
This may also be a good time to set-up IP access control and a TLS certificate. You can find instructions in the Configure IP Access and Enable TLS sections.
Check Deployment⚓︎
You can now check the status of your deployment. You can use kubectl or through the EKS console. For example, to see the status of each pod, run the following kubectl command:
You should see output similar to the following:
👍 Admin Email
When you create a new Hydrolix cluster, your cluster sends an email to HDX_ADMIN_EMAIL with instructions and a link to create a password. If you do not receive this email, contact us at mailto:support@hydrolix.io.