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

Updated important note point with CNI env set #334

Closed
wants to merge 1 commit into from
Closed

Updated important note point with CNI env set #334

wants to merge 1 commit into from

Conversation

itsLucario
Copy link

@itsLucario itsLucario commented Mar 13, 2021

Issue: aws/amazon-vpc-cni-k8s#641 (comment) #202

Description of changes:
Updated important note for users who are upgrading the CNI with Custom Networking.
If users miss changing the CNI custom networking environment variable to true in case, they are using it. It can cause the whole cluster networking go down.

This is one important instruction which has to be included as an upgrade note.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jimdial-aws
Copy link

I don't understand your concern. If you're using custom networking, this value is already set to true (See step 3 - https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html), so why is it necessary to mention it in the upgrade document?

@itsLucario
Copy link
Author

itsLucario commented Mar 22, 2021

@jimdial-aws
When we do custom networking, we manual patch the environmental variable to true.
But when we do an upgrade the manifest will have environment variable false, which cause issues if we forget to update the value to true before upgrade.

So, this is an important note which has to be considered while upgrading.
Cause we faced this issue resulted in entire cluster chaos and the cluster networking went down.

@itsLucario
Copy link
Author

Hi, If you think this is not required. I can close the PR.

@jimdial-aws
Copy link

OK, I get it, thanks, but this warning would apply to any changes made to your CNI config, not only custom networking, so I think we should broaden the warning. So, in the step where (today) it just tells you to apply the manifest, maybe there should be an important note there that says something like "If you've made any changes to your CNI configuration from the default configuration, then download the manifest and make the same changes to it before applying it. Does that sound useful?

@jimdial-aws
Copy link

Thanks for the submission. Closing because I added an important note cautioning about needing to re-make any changes to default settings in the manifest, rather than calling out custom networking specifically.

@itsLucario itsLucario deleted the cni-upgrade-doc-update branch March 31, 2021 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants