2017-07-27 49 views
0

我试图从Kubernetes Web UI上的Pods页面删除失败的窗格,但该窗口未被删除。无法删除Kubernetes Web UI中失败的窗格

我知道错误本身是什么,我相信我已经通过使用secrets解决了它,因为这是一个私人回购。也就是说,我无法再正确地重新添加吊舱,因为它已经存在。

这是我所看到的Pods页面中Kubernetes UI上:

波德状态: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 

有没有其他方法可以删除此窗格?

回答

2

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