无法删除Kubernetes Web UI中失败的窗格

我试图从Kubernetes Web UI上的Pods页面中删除一个失败的窗格,但是它并没有被删除。

我明白错误本身是什么,我相信我已经通过使用secrets解决它,因为这是一个私人的回购。 这就是说,我不能重新添加正确的,因为它已经存在。

以下是我在Kubernetes UI的Pods页面上看到的内容:

Pod状态: Waiting: ContainerCreating

错误

 Failed to pull image "<USERNAME>/<REPO>:<TAG>": failed to run [fetch --no-store docker://<USERNAME>/<REPO>:<TAG>]: exit status 254 stdout: stderr: Flag --no-store has been deprecated, please use --pull-policy=update fetch: Unexpected HTTP code: 401, URL: https://xxxxxx.docker.io/v2/<USERNAME>/<NAMESPACE>/manifests/<TAG> Error syncing pod 

我也尝试删除与kubectl的荚,但kubectl甚至不能看到失败的荚!

 $ kubectl get pods No resources found $ kubectl get pods --show-all No resources found 

有没有其他办法可以删除这个豆荚?

我刚刚find解决我自己的问题。 转到Kubernetes Web UI中的“ Workloads页面,并删除关联的“ Deployment ,同时也将删除“ Pod