-
Notifications
You must be signed in to change notification settings - Fork 715
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
Support custom env in kubeadm ControlPlaneComponent
#2845
Comments
There are no sig labels on this issue. Please add an appropriate label by using one of the following commands:
Please see the group list for a listing of the SIGs, working groups, and committees available. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/area kubeadm |
/transfer kubeadm |
i don't remember if we discussed this before but it seems ok to add for the next api v1beta4 or v1. notably this functionality is possible with --patches today |
I added it to the candidate list for v1beta4 in kubernetes/enhancements#970 (comment).
@chenk008 have you tried the |
+1 to make this in v1beta4, the request sound reasonable to me. If no one own this, I will take over this. /assign feel free to take over if anyone else want to help. |
For BTW, only some golang default env like
|
For tuning GOGC, see kubernetes/kubernetes#112408 (comment). This may be a use case. |
https://tip.golang.org/doc/go1.19#runtime
|
/close implemented via kubernetes/kubernetes#118867 |
@chendave: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What would you like to be added?
https://github.com/kubernetes/kubernetes/blob/7537cec567e01172c1d95b3559085d794cb2afbd/cmd/kubeadm/app/apis/kubeadm/types.go#L142-L153
For now, the ControlPlaneComponent contains
ExtraArgs
andExtraVolumes
. How about add custom env?Why is this needed?
Support custom environment variables, facilitate our control over the behavior of components and Golang runtime(e.g. GOMAXPROCS).
The text was updated successfully, but these errors were encountered: