Pod
- pod 进入指定的 container
# Name of the container: kaniko
# Name of the pod: jnlp-gjrpc
$ kubectl exec -ti jnlp-gjrpc -c kaniko /bin/sh
- 强制删除 pod
$ kubectl delete pods mypod-ba97bc8ef-8rgaa --grace-period=0 --force
Label
- create a label for a node:
$ kubectl label node <nodename> <labelname>=<value>
- delete above labels from its node
$ kubectl label node <nodename> <labelname>-
- confirm node labels
$ kubectl get nodes --show-labels
Helm
helm get --revision 0 engine-realtime-clustering-service-nebula | head