Why can't I delete heapster and kubernetes-dashboard on gke namespace=kube-system

Viewed 2084

I want to have full control of what I do with my single node cluster (savings...lol), but somehow I can't do this even if I delete the deployment it respawns ..

3 Answers

Even if you delete heapster pod; it restart automatically. I can made it with scaling it down to zero as shown below

kubectl scale --replicas=0 deployment/heapster-v1.6.0-beta.1 --namespace=kube-system

And you can find the exact name of the heapster pod within result of the command below

kubectl get deployments --namespace=kube-system

By the way you can find more options to reduce resource usage here: https://cloud.google.com/kubernetes-engine/docs/how-to/small-cluster-tuning

Related