1
基於此文檔https://github.com/kubernetes/ingress/tree/master/examples/deployment/nginx/kubeadm 我正在創建nginx控制器。但我的控制器沒有啓動。它給出下面的錯誤消息。kubernetes入口控制CrashLoopBackOff - 沒有名稱kube-system/default-http-backend的服務找到
2017-05-21T17:15:45.274300000Z I0521 17:15:45.259441 1 launch.go:101] &{NGINX 0.9.0-beta.5 git-83cb03b5 [email protected]:ixdy/kubernetes-ingress.git}
2017-05-21T17:15:45.274448000Z I0521 17:15:45.259460 1 launch.go:104] Watching for ingress class: nginx
2017-05-21T17:15:45.274563000Z I0521 17:15:45.259620 1 launch.go:257] Creating API server client for https://10.96.0.1:443
2017-05-21T17:15:45.274670000Z I0521 17:15:45.258931 1 nginx.go:180] starting NGINX process...
2017-05-21T17:15:45.310531000Z F0521 17:15:45.303209 1 launch.go:118] no service with name kube-system/default-http-backend found: User "system:serviceaccount:kube-system:default" cannot get services in the namespace "kube-system". (get services default-http-backend)
我看到默認的後端服務正在運行。
$ kubectl --kubeconfig=/c/software/k612_centos/admin.conf -n kube-system get po
NAME READY STATUS RESTARTS AGE
default-http-backend-2198840601-zt8gt 1/1 Running 0 6m
nginx-ingress-controller-4108150732-q2rb2 0/1 CrashLoopBackOff 6 6m
如何清除此錯誤訊息?
感謝 SR
我的版本是1.6.2。讓我檢查一下這個頁面。謝謝 – sfgroups
坦克它的工作。 – sfgroups
我在啓用ABAC授權模式的kubernetes 1.5.2上遇到同樣的問題。 – PRF