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
kubeadm: apply resource requests in the etcd pod spec #94479
kubeadm: apply resource requests in the etcd pod spec #94479
Conversation
/cc @neolit123 |
cmd/kubeadm/app/phases/etcd/local.go
Outdated
@@ -247,6 +248,14 @@ func GetEtcdPodSpec(cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.A | |||
staticpodutil.NewVolumeMount(etcdVolumeName, cfg.Etcd.Local.DataDir, false), | |||
staticpodutil.NewVolumeMount(certsVolumeName, cfg.CertificatesDir+"/etcd", false), | |||
}, | |||
Resources: v1.ResourceRequirements{ | |||
Requests: v1.ResourceList{ | |||
// TODO: make these values configurable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this TODO for now.
users can use the --experimental-patches functionality to apply patches during init/join/upgrade.
the patches feature can one day be in the kubeadm config too.
/retitle kubeadm: apply resource requests in the etcd pod spec |
/cc @rosti @ereslibre |
/hold for review |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: knight42, neolit123 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: knight42 <anonymousknight96@gmail.com>
cc073f9
to
2ebd293
Compare
/retest |
we didn't get immediate objections on kubernetes/kubeadm#2195 so let's see how this goes. /hold cancel |
/lgtm |
/retest |
Signed-off-by: knight42 anonymousknight96@gmail.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes kubernetes/kubeadm#2195
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: