Create your first valkey cluster using Aonnis Valkey Panther
Prerequisits
-
Kubernetes cluster
For this guide, you can use any Kubernetes cluster, including Amazon EKS, Azure AKS, Google GKE, Civo, or any other managed Kubernetes service. If you prefer to test locally, we recommend using Kind (Kubernetes in Docker). To get started, refer to the Kind Quick Start Documentation for installation instructions. Once installed, you can create a new cluster using the following script:Create Kind clustergit clone https://gitlab.com/aonniscloud/getting-started.git
cd getting-started
kind create cluster --name local-k8s-cluster --config kind_config.yml -
Cert-manager
Aonnis Valkey Pantherrelies on cert-manager to create secure HTTP webhooks. These webhooks are essential for validating and defaulting incoming requests related to cluster management. Installing cert-manager is a prerequisite to ensure secure and seamless operation ofAonnis Valkey Panther. Refer cert-manager's documentation for installation.
Steps to create your first Aonnis valkey cluster
-
Login to Aonnis Web Console
Sign in to theAonnis Web Consoleto create anAonnis Valkey Pantherlicense. Please create an account if you do not have one. -
Create a License
Ensure your account has the required minimum credit balance, then create a license and its access key by following this.- Make sure to create a Kubernetes secrete according to this link for storing licence access key on kubernetes cluster.
- This secret (license) will be used by
Aonnis Valkey Panther.
-
Set up image pull secret
Follow this to setup image pull secret. These credentials are necessary for your Kubernetes environment to pull theAonnis Valkey Pantherimage for the first deployment. OnceAonnis Valkey Pantheris deployed and managing at least oneValkey ClusterorValkey-compatible database, it will automatically keep these credentials updated in the associated Kubernetes secret. -
Install CRD Install
Aonnis Valkey ClusterCRD by following this link. -
Clone getting started helm charts
-
Clone getting started
Aonnis Valkey ClsuterandAonnis Valkey Pantherhelm charts.Clone getting started repositorygit clone https://gitlab.com/aonniscloud/getting-started.git -
After clonning make sure to update following things:
- Image pull secret in
values.yamlfile for valkey panther helm chart (required only if license secret is create with a different name thanavp-image-pull-secret). - Valkey version in
values.yamlfile for valkey cluster helm chart.- If specific Valkey version is required, click here to check supported valkey versions.
- Image tag to use in
values.yamlfile for valkey panther helm chart. Choose latest Aonnis Valkey Panther image tag from here licenseAccessKeySecretRefinvalues.yamlfor valkey clsuter helm chart.
- Image pull secret in
-
-
Deploy
Valkey PantherandValkey Cluster
Deploy yourValkey Clusterin your Kubernetes environment, leveraging the capabilities ofAonnis Valkey Pantherfor efficient management.Deploy Aonnis valkey panther and valkey clsuterhelm install --wait valkey-panther valkey/valkey-panther && \
helm install --wait valkey-cluster valkey/valkey-cluster
By following these steps, you can set up and use Aonnis Valkey Panther to manage your Valkey clusters and compatible databases in a Kubernetes environment.