Pod

  1. pod 进入指定的 container
# Name of the container: kaniko
# Name of the pod: jnlp-gjrpc
$ kubectl exec -ti jnlp-gjrpc -c kaniko /bin/sh
  1. 强制删除 pod
$ kubectl delete pods mypod-ba97bc8ef-8rgaa --grace-period=0 --force

Label

  1. create a label for a node:
$ kubectl label node <nodename> <labelname>=<value>
  1. delete above labels from its node
$ kubectl label node <nodename> <labelname>-
  1. confirm node labels
$ kubectl get nodes --show-labels

Helm

helm get --revision 0 engine-realtime-clustering-service-nebula | head