This version of ScalarDB is no longer supported. We recommend that you update to the latest version of ScalarDB.
Getting Started with Scalar Helm Charts
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.
We will use the following tools for testing.
- minikube (If you use other Kubernetes distributions, minikube is not necessary.)
- cfssl / cfssljson
Step 1. Install tools
First, you need to install the following tools used in this guide.
Install the minikube according to the minikube document
Install the kubectl according to the Kubernetes document
Install the helm command according to the Helm document
Install the cfssl and cfssljson according to the CFSSL document
- 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)
- Start minikube.
- 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.
After the Kubernetes cluster starts, you can try each Scalar Helm Charts on it. Please refer to the following documents for more details.