-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nginx ingress controller not able to resolve namespace/service (kube 1.6) #610
Comments
I'm having the same issue in Kube 1.5 with a simple ABAC configuration policies, Do you know if there's an issue also? |
@perrefe please check the pod logs. |
The pod log is equivalent to the one reported by @fritzb
Ingress controller image: gcr.io/google_containers/nginx-ingress-controller:0.8.3 As you can see here, that service is present:
This ingress used to work until I configured ABAC authorization mode in API server, mi policy file contains the following:
Unfortunately, I haven't found anything about kube 1.5 w/ABAC + nginx-ingress-controller. I'll appreciate any help! |
@perrefe please update to the latest beta 0.9-beta.8 |
Done, but I'm getting the same error:
|
@perrefe I asked to liggit about ^^ and this was the response
|
Thanks @aledbf, I finally made it work configuring these three policies: Everything readonly (maybe this could be more specific): Permission to write on ingresses resources across cluster: Permision to write configmaps on self namespace: |
This worked for me:
|
@pawelprazak @perrefe Can you pls specify how to configure those? or any link could help. thanks |
@Navruzjon at this point in time you shouldn't, ABAC is deprecated anyway, here are the docs: https://kubernetes.io/docs/admin/authorization/abac |
I tried to follow the example here: https://github.com/kubernetes/ingress/tree/master/examples/deployment/nginx to deploy nginx ingress controller, but not having a success with kube 1.6 (with kubeadm). The ingress controller failed to resolve the service backend, and the default backend is there. Any idea ? This is not a problem in Kube 1.5.2
kubectl logs nginx-ingress-controller-1543599588-6h81t -n kube-system
I0415 15:53:29.382927 7 launch.go:96] &{NGINX 0.9.0-beta.3 git-3dd7461 git@github.com:ixdy/kubernetes-ingress.git}
I0415 15:53:29.382976 7 launch.go:99] Watching for ingress class: nginx
I0415 15:53:29.383424 7 launch.go:245] Creating API server client for https://10.254.0.1:443
F0415 15:53:29.437150 7 launch.go:113] no service with name kube-system/backend found: the server does not allow access to the requested resource (get services backend)
kubectl get svc -n kube-system backend
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
backend 10.254.48.240 80/TCP 11m
The text was updated successfully, but these errors were encountered: