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

Added config map for env vars #1088

Closed
wants to merge 1 commit into from
Closed

Conversation

nithu0115
Copy link
Contributor

Issue #, if available: N/A

Description of changes:
Moved all env vars to a configmap to persist these variable during CNI update

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jayanthvn jayanthvn requested a review from mogren July 13, 2020 21:42
@mogren mogren added the config Helm, raw configuration manifests, deployment artifacts label Jul 13, 2020
jaypipes
jaypipes previously approved these changes Jul 15, 2020
Copy link
Contributor

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

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

👍 nice cleanup, @nithu0115, thanks!

Copy link
Contributor

@anguslees anguslees left a comment

Choose a reason for hiding this comment

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

(lgtm fwiw, with the usual mild ConfigMap concern about how we tell users they should rollout a change to the configmap - since it won't "just happen" anymore. I think it's a net win to be clear, and a conservative admin most likely isn't blindly consuming our manifests without modification anyway.)

@dschunack
Copy link

dschunack commented Jul 27, 2021

Hi,

what's the current state here? In the last month it was pushed only release to release.

@TBBle
Copy link

TBBle commented Aug 19, 2021

As well as rebasing, this PR probably needs to have the Helm chart support added, which has appeared in this repo via #1271 since this PR was originally created.

@jayanthvn
Copy link
Contributor

Hi @TBBle.

Yes once we add the config map support we need to fix the helm for config map.

@dschunack,
With config maps along + DaemonSet there is no vanilla k8s support for rolling upgrade when config map is modified. We are working on this and should have some updates in the following weeks.

@julianxhokaxhiu
Copy link

What's the current milestone for this PR? This gets even more urgent now that for eg. in order to allow nodes having more Pods we need to enable an environment variable ( see https://aws.amazon.com/blogs/containers/amazon-vpc-cni-increases-pods-per-node-limits/ ).

Having a ConfigMap would help here instead of running a custom kubectl set env command on each installation ( and which also can't be automated via Terraform... ).

Thanks!

@dschunack
Copy link

dschunack commented Jan 31, 2022

Hi @jayanthvn ,

What's the current state of this PR?

@mlschindler
Copy link

Any updates on this issue? It is rather cumbersome for us to use hacky config management with Terraform (kubectl provider, local null resources, etc) and not to mention needing to bounce nodes when this style of management fails (as it does a little too frequently).

@dschunack
Copy link

Any Update?

@github-actions
Copy link

This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Sep 21, 2022
@dschunack
Copy link

Still waiting on this

@github-actions github-actions bot removed the stale Issue or PR is stale label Sep 23, 2022
@jdn5126 jdn5126 assigned jdn5126 and unassigned jayanthvn Oct 4, 2022
@jdn5126 jdn5126 added the 2.x CNI plugin Features and issues to address in 2.x CNI plugin label Oct 4, 2022
@jdn5126
Copy link
Contributor

jdn5126 commented Oct 4, 2022

Using ConfigMap to source environment variables for CNI is being tracked as a v2.x task, as rolling update with ConfigMap + daemonset pod needs more investigation. In the meantime, kubectl set env is the recommended mechanism.

This PR will not merge as is, but will be left open for those tracking. #2102 is the associated the issue, so please track this going forward.

@github-actions
Copy link

github-actions bot commented Dec 4, 2022

This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Issue or PR is stale label Dec 4, 2022
@github-actions
Copy link

Pull request closed due to inactivity.

@github-actions github-actions bot closed this Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x CNI plugin Features and issues to address in 2.x CNI plugin config Helm, raw configuration manifests, deployment artifacts stale Issue or PR is stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.