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 restart flag to config set and delete commands #154

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

aditighag
Copy link
Member

@aditighag aditighag commented Apr 2, 2021

After setting config map changes, Cilium pods need to be restarted for the changes to take effect.
Currently, this is a manual step. Add a new flag to restart the pods by default.
Tested the changes on a local kind cluster.

@aditighag aditighag changed the title Add reset flag to config set command Add restart flag to config set command Apr 2, 2021
@aditighag aditighag requested a review from tgraf April 2, 2021 18:33
internal/cli/cmd/config.go Show resolved Hide resolved
internal/cli/cmd/config.go Show resolved Hide resolved
@aditighag aditighag force-pushed the pr/aditighag/setconfig-reset-flag branch from 588da1e to 3546c5f Compare April 7, 2021 15:39
@aditighag aditighag requested a review from tklauser April 7, 2021 15:52
Copy link
Member

@tklauser tklauser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internal/cli/cmd/config.go Outdated Show resolved Hide resolved
@aditighag
Copy link
Member Author

I realized that we need to add the restart behavior to delete config command as well. @tgraf I've also addressed your comments in the latest commit. PTAL.

@aditighag aditighag force-pushed the pr/aditighag/setconfig-reset-flag branch from 3546c5f to 8cf61c6 Compare April 13, 2021 23:00
@aditighag aditighag changed the title Add restart flag to config set command Add restart flag to config set and delete commands Apr 13, 2021
@aditighag aditighag force-pushed the pr/aditighag/setconfig-reset-flag branch from 8cf61c6 to 0b31252 Compare April 13, 2021 23:02
@aditighag aditighag requested a review from tgraf April 13, 2021 23:04
@aditighag aditighag force-pushed the pr/aditighag/setconfig-reset-flag branch from 0b31252 to 92a7763 Compare April 13, 2021 23:10
After config map changes are made, Cilium pods
need to be restarted for the changes to take effect.
Currently, this is a manual step. Add a flag with
default value to restart Cilium pods.

Signed-off-by: Aditi Ghag <[email protected]>
@aditighag aditighag force-pushed the pr/aditighag/setconfig-reset-flag branch from 92a7763 to 7d5ecbb Compare April 13, 2021 23:11
@aditighag
Copy link
Member Author

aditighag commented Apr 13, 2021

AWS::EC2::EIP/NATIP: CREATE_FAILED – "The maximum number of addresses has been reached.

EKS failures are due to resource unavailability issue.

Edit : The changes are not related EKS platform, and connectivity tests on other two platforms have passed so I'm not restarting all the tests again.

@aditighag aditighag closed this Apr 23, 2021
@aditighag aditighag reopened this Apr 23, 2021
@tgraf tgraf merged commit c4c1dbd into master Apr 23, 2021
@tgraf tgraf deleted the pr/aditighag/setconfig-reset-flag branch April 23, 2021 15:37
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.

4 participants