Skip to content
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

Add flag to disabling node listing #1290

Merged
merged 3 commits into from
Sep 2, 2017

Conversation

chancez
Copy link
Member

@chancez chancez commented Sep 1, 2017

I want to run nginx ingress isolated in it's own namespace, without having to setup a ClusterRole/ClusterRoleBinding, this makes it possible by disabling the node informer.

Note that this will mean the ingress controller is unable to get the list of IP address/fqdns where the ingress controller is currently running, and will be unable to update ingress status with that information. Since this isn't critical to to ingress functioning in all cases, this should be fine, and this configuration is disabled by default, and should only be used when trying to run isolate the ingress controller to it's namespace.

I wasn't sure about the flag naming, but it can be updated. Also, I considered defaulting this to true if force-isolate-namespace is true, but decided to hold off on that.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 1, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 1, 2017
@chancez
Copy link
Member Author

chancez commented Sep 1, 2017

cc @aledbf, this is the PR for what I brought up in #sig-network

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 43.532% when pulling d793d53 on chancez:disable_node_listing into cda42f9 on kubernetes:master.

@chancez chancez changed the title Add flag to allow disabling node listing Add flag to disabling node listing Sep 1, 2017
@aledbf aledbf self-assigned this Sep 2, 2017
@aledbf
Copy link
Member

aledbf commented Sep 2, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 2, 2017
@aledbf
Copy link
Member

aledbf commented Sep 2, 2017

@chancez thanks!

@aledbf aledbf merged commit cffeac0 into kubernetes:master Sep 2, 2017
@chancez chancez deleted the disable_node_listing branch September 5, 2017 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants