更新时间:2021-11-15 23:00:59
要删除广告连播,
kubectl delete pods web-3476088249-w66jr
如果此Pod是通过某些plicateSet或部署或正在创建副本的任何东西启动的,则找到它并首先将其删除.
If this pod is started via some replicaSet or deployment or anything that is creating replicas then find that and delete that first.
kubectl get all
这将列出在您的k8s集群中创建的所有资源.要获取有关在名称空间kubectl get all --namespace=<your_namespace>
This will list all the resources that have been created in your k8s cluster. To get information with respect to resources created in your namespace kubectl get all --namespace=<your_namespace>
要获取有关控制此pod的资源的信息,您可以
To get info about the resource that is controlling this pod, you can do
kubectl describe web-3476088249-w66jr
会有一个控制者"字段,或者是一个所有者字段,您可以使用它来标识创建该资源的资源.
There will be a field "Controlled By", or some owner field using which you can identify which resource created it.