Scenario-304: Use helm To Deploy Service IV
- Objective: Deploy elasticsearch cluster with 5 instances
- Requirements:
1. Create an elasticsearch cluster
2. Scale the env to 5 instances
minikube start
eval $(minikube docker-env)
https://github.com/kubernetes/charts/tree/master/stable/wordpress
https://deliciousbrains.com/running-wordpress-kubernetes-cluster
- Start Helm
cd challenges-kubernetes/Scenario-304/
helm init
kubectl get pods --namespace kube-system
tiller_name=$(kubectl get pods --namespace kube-system | grep "tiller.*Running" | awk -F" " '{print $1}')
kubectl --namespace kube-system describe pod $tiller_name
helm repo update
# check whether the helm backend(tiller) is up and running
helm list
- Run helm Deployment
helm install --name my-es -f values.yaml incubator/elasticsearch
- Verify functionality after deployment
helm status my-es
helm delete --purge my-es
minikube delete
https://github.com/kubernetes/charts/tree/master/incubator/elasticsearch
https://github.com/kubernetes/helm