You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have been attempting to use --ingress-class on the Nginx controller to only pick up a select subset of the ingress resources provisioned in the cluster. What is happening is that all ingress resources are handled by the Nginx controller.
I0217 20:47:05.794602 7 queue.go:59] queuing item &TypeMeta{Kind:,APIVersion:,}
I0217 20:47:05.800593 7 controller.go:167] ignoring add for ingress class-test based on annotation kubernetes.io/ingress.class
I0217 20:47:05.828321 7 queue.go:59] queuing item &TypeMeta{Kind:,APIVersion:,}
I0217 20:47:07.760524 7 controller.go:761] creating upstream default-class-test-80
I0217 20:47:07.760537 7 controller.go:797] obtaining port information for service default/class-test
I0217 20:47:07.760542 7 controller.go:952] getting endpoints for service default/class-test and port 80
I0217 20:47:07.760549 7 controller.go:1012] endpoints found: []
W0217 20:47:07.760558 7 controller.go:806] service default/class-test does not haveany active endpoints
I0217 20:47:07.762718 7 controller.go:654] replacing ingress rule default/class-test location / upstream default-class-test-80 (upstream-default-backend)
I0217 20:47:07.762746 7 controller.go:683] upstream default-class-test-80 does not have any active endpoints. Using default backend
And then goes on to show the diff of the nginx upstream and server blocks that is being added to the config.
I have verified that the ingress does indeed get configured even though the --ingress-class does not match.
I have attempted to follow the code but I cannot work out how the ignored ingress resource makes it into ingLister.Store.List()? Can anyone shed some light on what is going on?
The text was updated successfully, but these errors were encountered:
Have been attempting to use
--ingress-class
on the Nginx controller to only pick up a select subset of the ingress resources provisioned in the cluster. What is happening is that all ingress resources are handled by the Nginx controller.Nginx controller: gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.1
Kubernetes version: v1.5.1
Start controller with args:
--ingress-class=xyz
and--v=3
Create an ingress resource with annotation:
kubernetes.io/ingress.class: "asdf"
The interesting parts of the ingress controller logs show:
And then goes on to show the diff of the nginx upstream and server blocks that is being added to the config.
I have verified that the ingress does indeed get configured even though the
--ingress-class
does not match.I have attempted to follow the code but I cannot work out how the ignored ingress resource makes it into
ingLister.Store.List()
? Can anyone shed some light on what is going on?The text was updated successfully, but these errors were encountered: