Prerequisites
Before beginning the installation, ensure you have the following:- A running Kubernetes cluster (v1.19 or later recommended)
kubectlconfigured to communicate with your clusterhelmv3.x installed on your local machine- Administrative access to your Kubernetes cluster
Step 1: Request Registry Access
The Hyko v2 Helm chart is hosted in a private OCI registry. Before you can proceed with the installation, you must request access from the Hyko team. Contact the Hyko team at [email protected] to request access to the Docker registry. Provide your Docker Hub username or the email associated with your Docker account. Once approved, you will be granted access to pull the chart and container images.Step 2: Authenticate with Docker Registry
After receiving access approval, authenticate your local Docker client with the registry:Step 3: Create Image Pull Secret
Create a Kubernetes secret to allow the cluster to pull images from the private registry:Step 4: Create Application Secrets
Create a Kubernetes secret namedweb-secrets containing your application’s sensitive configuration, for more detailed information about environment variables check out Environment Variables docs
To create the web-secrets secret with these environment variables:
Create a .env file with all variables:
Step 5: Prepare Values File
Create avalues.yaml file with your environment-specific configuration. You can use the example values provided by the Hyko team as a starting point and customize them according to your infrastructure requirements.
Important considerations when preparing your values file:
- Configure ingress settings based on your ingress controller (if you’re using one)
- Adjust resource requests and limits based on your cluster capacity
- Set the appropriate storage class available in your cluster
- Configure TLS/SSL settings based on your certificate management approach
- Update domain names and email addresses as needed
Step 6: Install the Helm Chart
Install the Hyko v2 chart using the following command:values.yaml file.
Verify Installation
Check the deployment status:Running state. This may take a few minutes as images are pulled and containers start.
View the application logs:
Upgrading the Installation
To upgrade an existing installation with new values or a new chart version:Uninstalling
To remove the Hyko v2 deployment:Troubleshooting
Pods Not Starting
Check pod events for errors:Image Pull Errors
If you encounter image pull errors, verify that:- Your Docker credentials are correct
- The
regcredsecret was created properly in the correct namespace - Your Docker account has been granted access to the repository
Missing Secrets
If pods are failing due to missing secrets, ensure theweb-secrets secret contains all required keys for your deployment.