聚合国内IT技术精华文章,分享IT技术精华,帮助IT从业人士成长

Failed to establish pod watch in Argo

2020-06-05 13:50 浏览: 695 次 我要评论(0 条) 字号:

After creating a brand new Kubernetes cluster in GKE, I launched an Argo workflow but saw these errors:




Argo will create two containers for a step: ‘main’ container and ‘wait’ container. But why the creation of ‘wait’ failed? The reason is the default service account for Argo haven’t permission for get pod, as this comment said.
So I just run

kubectl create rolebinding default-admin --clusterrole=admin --serviceaccount=default:default

to give default service account ‘admin’ privilege. And everything goes successfully now.



网友评论已有0条评论, 我也要评论

发表评论

*

* (保密)

Ctrl+Enter 快捷回复