This document explains how to get started with Scalar Helm Chart on a Kubernetes cluster as a test environment. Here, we assume that you already have a Mac or Linux environment for testing. We use Minikube in this document, but the steps we will show should work in any Kubernetes cluster.

Tools

We will use the following tools for testing.

  1. minikube (If you use other Kubernetes distributions, minikube is not necessary.)
  2. kubectl
  3. Helm
  4. cfssl / cfssljson

Step 1. Install tools

First, you need to install the following tools used in this guide.

  1. Install the minikube according to the minikube document

  2. Install the kubectl according to the Kubernetes document

  3. Install the helm command according to the Helm document

  4. Install the cfssl and cfssljson according to the CFSSL document

    • Note:
      • You need the cfssl and cfssljson when you try ScalarDL. If you try Scalar Helm Charts other than ScalarDL (e.g., ScalarDB, Monitoring, Logging, etc…), the cfssl and cfssljson are not necessary.

Step 2. Start minikube with docker driver (Optional / If you use minikube)

  1. Start minikube.
    minikube start
    
  2. Check the status of the minikube and pods.
    kubectl get pod -A
    

    [Command execution result]

    NAMESPACE     NAME                               READY   STATUS    RESTARTS      AGE
    kube-system   coredns-64897985d-lbsfr            1/1     Running   1 (20h ago)   21h
    kube-system   etcd-minikube                      1/1     Running   1 (20h ago)   21h
    kube-system   kube-apiserver-minikube            1/1     Running   1 (20h ago)   21h
    kube-system   kube-controller-manager-minikube   1/1     Running   1 (20h ago)   21h
    kube-system   kube-proxy-gsl6j                   1/1     Running   1 (20h ago)   21h
    kube-system   kube-scheduler-minikube            1/1     Running   1 (20h ago)   21h
    kube-system   storage-provisioner                1/1     Running   2 (19s ago)   21h
    

    If the minikube starts properly, you can see some pods are Running in the kube-system namespace.

Step 3.

After the Kubernetes cluster starts, you can try each Scalar Helm Charts on it. Please refer to the following documents for more details.