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

Hide clean-cilium-state options from default configmap #17412

Closed
joestringer opened this issue Sep 15, 2021 · 2 comments
Closed

Hide clean-cilium-state options from default configmap #17412

joestringer opened this issue Sep 15, 2021 · 2 comments
Labels
good-first-issue Good starting point for new developers, which requires minimal understanding of Cilium. kind/enhancement This would improve or streamline existing functionality.

Comments

@joestringer
Copy link
Member

The options clean-cilium-bpf-state / clean-cilium-state were introduced very early on as a last resort option to clear out bad state on nodes. These days it is rare that any user legitimately needs this functionality and uses it properly. It is now more likely that users will see the options and think they will help solve their problem when it really only digs them deeper into a hole.

I propose that we do a pass through the git repository to hide or remove references to these options, or if we leave them anywhere in place then ensure there is a strong warning to avoid using it unless you know exactly what you are doing.

At a glance, the documentation under Documentation/concepts/kubernetes/configuration.rst is quite clear. To solve this issue, we most likely just need to update the helm charts to avoid adding these options into the configmap by default.

@joestringer joestringer added kind/enhancement This would improve or streamline existing functionality. good-first-issue Good starting point for new developers, which requires minimal understanding of Cilium. labels Sep 15, 2021
@chowmean
Copy link
Contributor

Hi as per the charts these options will not be set by defaults. They will be set only if the values file have these are true.


In the values files also these are false by default.
Please correct me If I am wrong here. Thanks
cleanBpfState: false

@joestringer
Copy link
Member Author

Thanks for digging into this @chowmean , I agree that seems pretty clear and I see no other remaining references. This looks good to close out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue Good starting point for new developers, which requires minimal understanding of Cilium. kind/enhancement This would improve or streamline existing functionality.
Projects
None yet
Development

No branches or pull requests

2 participants