mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. kubeadm: Allows to specify custom flag values for control plane components This makes it possible to override / add flag values to the k8s api server, controller manager and scheduler components on `kubeadm init` and `kubeadm alpha controlplane <component>` **What this PR does / why we need it**: This PR makes kubeadm a little more flexible by allowing to specify flag values (or override kubeadm defaults) for the control plane components. One good example is to deploy Kubernetes with a different admission-control flag on API server **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #58072 **Special notes for your reviewer**: Not sure about what should be fixed. The PR merely adds flags to the CLI exposing existing functionality (which I suppose is already tested) **Release note**: ```release-note kubeadm now accept `--apiserver-extra-args`, `--controller-manager-extra-args` and `--scheduler-extra-args` to override / specify additional flags for control plane components ``` |
||
---|---|---|
.. | ||
app | ||
test | ||
BUILD | ||
OWNERS | ||
kubeadm.go |