Installing Kasten

Let's perform the following steps to install Kasten as a backup solution in our Kubernetes cluster:

  1. Add the K10 helm repository:
$ helm repo add kasten https://charts.kasten.io/

  1. Before we start, let's validate the environment. The following script will execute some pre-installation tests to verify your cluster:
$ curl https://docs.kasten.io/tools/k10_preflight.sh | bash
Checking for tools
--> Found kubectl --> Found helm
Checking access to the Kubernetes context kubernetes-admin@net39dvo58
--> Able to access the default Kubernetes namespace
Checking for required Kubernetes version (>= v1.10.0)
--> Kubernetes version (v1.15.3) meets minimum requirements
Checking if Kubernetes RBAC is enabled
--> Kubernetes RBAC is enabled
Checking if the Aggregated Layer is enabled
--> The Kubernetes Aggregated Layer is enabled
Checking if the Kasten Helm repo is present
--> The Kasten Helm repo was found
Checking for required Helm Tiller version (>= v2.11.0)
--> Tiller version (v2.14.3) meets minimum requirements
All pre-flight checks succeeded!
  1. Make sure your preferred storage class is set as the default; otherwise, define it by adding the -set persistence.storageClass parameters to the following command. In our example, we are using the openebs-cstor-default storage class. Also, add your AWS access key and secret and install K10:
$ helm install kasten/k10 --name=k10 --namespace=kasten-io 
--set persistence.storageClass=openebs-cstor-default
--set persistence.size=20Gi
--set secrets.awsAccessKeyId="AWS_ACCESS_KEY_ID"
--set secrets.awsSecretAccessKey="AWS_SECRET_ACCESS_KEY"
  1. Confirm that the deployment status is DEPLOYED using the following helm command:
$ helm ls
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
k10 1 Tue Oct 29 07:36:19 2019 DEPLOYED k10-1.1.56 1.1.56 kasten-io

All the pods should be deployed in around a minute after this step as Kasten exposes an API based on Kubernetes CRDs. You can either use kubectl with the new CRDs (refer to the Kasten CLI commands link in the See also section) or use the Kasten Dashboard by following the next recipe, that is, the Accessing the Kasten Dashboard recipe.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.131.212