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
When writing an ingress controller that looks up Nodes via the StoreLister the API query sent is invalid when --watch-namespace is present. Consider the following example where --watch-namespace is set to test-nm.
The ingress controller's logs will print the following:
pkg/ingress/controller/controller.go:1037: Failed to list *api.Node: the server could not find the requested resource
The API server, with --audit-log-path set, will print the following:
When writing an ingress controller that looks up Nodes via the StoreLister the API query sent is invalid when
--watch-namespace
is present. Consider the following example where--watch-namespace
is set totest-nm
.The ingress controller's logs will print the following:
The API server, with
--audit-log-path
set, will print the following:Note the inclusion of
/namespaces/test-nm
resulting in a 404.After removing
--watch-namespace
and redeploying, the query is valid and nodes are returned. An example query sent to the API server is now:The text was updated successfully, but these errors were encountered: