Cilium: K8S=1 vagrant does not create RBAC rules for coredns

Created on 29 Oct 2018  路  3Comments  路  Source: cilium/cilium

E1029 00:19:38.902888       1 reflector.go:205] github.com/coredns/coredns/plugin/kubernetes/controller.go:348: Failed to list *v1.Service: services is forbidden: User "system:serviceaccount:kube-system:coredns" cannot list resource "services" in API group "" at the cluster scope

Fix:

kubectl -n kube-system apply -f test/provision/manifest/1.12/coredns_deployment.yaml
kinbug need-more-info

All 3 comments

It is part of the provision scripts. Do you have more detail?

It's probably included in the test VM, but not in the dev VM. I see that coredns is added only in test/provision/k8s_install.sh.

Was this page helpful?
0 / 5 - 0 ratings