Kubernetes gets more popular by the day and is also a very convenient tool.
In this tutorial we shall integrate ignite and Kubernetes.
The first step would be to spin up Minikube.
To get ignite on your Kubernetes installation the first step would be to install the helm chart.
>helm repo add stable https://kubernetes-charts.storage.googleapis.com >helm install ignite-cache stable/ignite NAME: ignite-cache LAST DEPLOYED: Sat Mar 7 22:23:49 2020 NAMESPACE: default STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: To check cluster state please run: kubectl exec -n default ignite-cache-0 -- /opt/ignite/apache-ignite/bin/control.sh --state
Eventually after this command is issued it is expected to have an ignite cache setup on your kubernetes cluster.
>kubectl get pods NAME READY STATUS RESTARTS AGE ignite-cache-0 1/1 Running 0 79s ignite-cache-1 1/1 Running 0 13s >kubectl get svc ignite-cache ignite-cache ClusterIP None <none> 11211/TCP,47100/TCP,47500/TCP,49112/TCP,10800/TCP,8080/TCP,10900/TCP 6m24s
To those familiar with Kubernetes an ignite cache has just been spinned up in your kubernetes cluster and your applications can use the ignite service within the cluster.
The next blog focuses on the service account needed.