kubernets helm 如何删除tiller
[root@k8s1 yml]# kubectl get all -n kube-system -l app=helm -o name|xargs kubectl delete -n kube-systempod "tiller-deploy-5bff647646-45d6j" deletedservice "tiller-deploy" deleteddeployment.apps ...
[root@k8s1 yml]# kubectl get all -n kube-system -l app=helm -o name|xargs kubectl delete -n kube-system
pod "tiller-deploy-5bff647646-45d6j" deleted
service "tiller-deploy" deleted
deployment.apps "tiller-deploy" deleted
replicaset.apps "tiller-deploy-5bff647646" deleted
replicaset.apps "tiller-deploy-85748c5d55" deleted
[root@k8s1 yml]#
[root@k8s1 yml]#
[root@k8s1 yml]# kubectl get pod -n kube-system -l app=helm
No resources found in kube-system namespace.
[root@k8s1 yml]#
[root@k8s1 yml]#
[root@k8s1 yml]#
[root@k8s1 yml]# kubectl get -n kube-system secrets,sa,clusterrolebinding -o name|grep tiller|xargs kubectl -n kube-system delete
secret "tiller-token-nwlq5" deleted
serviceaccount "tiller" deleted
[root@k8s1 yml]#
[root@k8s1 yml]#
[root@k8s1 yml]#
[root@k8s1 yml]# kubectl get all --all-namespaces | grep tiller
[root@k8s1 yml]#
[root@k8s1 yml]# kubectl get all --all-namespaces | grep tiller
[root@k8s1 yml]# kubectl get all --all-namespaces | grep tiller
[root@k8s1 yml]# kubectl get pods -n kube-system
NAME READY STATUS RESTARTS AGE
calico-kube-controllers-55754f75c-dwsdv 1/1 Running 0 4d22h
calico-node-5s8m5 1/1 Running 0 4d22h
calico-node-cbs66 1/1 Running 0 4d22h
calico-node-ph6ff 1/1 Running 1 4d22h
coredns-58cc8c89f4-hpspb 1/1 Running 1 4d23h
coredns-58cc8c89f4-nmsj7 1/1 Running 0 4d23h
etcd-k8s1 1/1 Running 1 4d23h
kube-apiserver-k8s1 1/1 Running 1 4d23h
kube-controller-manager-k8s1 1/1 Running 2 4d23h
kube-flannel-ds-amd64-26mtc 1/1 Running 0 4d22h
kube-flannel-ds-amd64-6m59w 1/1 Running 0 4d22h
kube-flannel-ds-amd64-tqk5l 1/1 Running 1 4d22h
kube-proxy-cjgdc 1/1 Running 0 4d23h
kube-proxy-dvrp6 1/1 Running 3 4d23h
kube-proxy-n7r65 1/1 Running 0 4d23h
kube-scheduler-k8s1 1/1 Running 2 4d23h
[root@k8s1 yml]#
更多推荐
所有评论(0)