一 删除单个pod
1 删除指定命名空间的指定名称的pod
k delete po kubia-manual -n default
pod "kubia-manual" deleted
2 通过标签删除pod
[root@node01 pod]# k delete po -l app=k8s pod "kubia-manual-gpu" deleted pod "kubia-manual-with-labels" deleted
3 通过删除整个命名空间的方式来删除pod
[root@node01 pod]# k delete ns custom-namespace namespace "custom-namespace" deleted