-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Consider if to add Patches field to InitConfiguration and JoinConfiguration #4874
Comments
I think it would be really useful. We had to use the functionality to patch requests/limits/initContainer/... of the control plane static pod manifests because kubeadm didn't expose those fields. |
/milestone Next |
I've seen requests to enable this. In particular in vSphere environments, some folks switch off their entire cluster, and when they turn it back on the entire cluster goes into CrashLoopBackoff as every etcd node complains about missing nodes on it's health status even though it's available. It's possible to work around it by changing the livenessProbe to check only that serializable (local) read, e.g. ETCDCTL_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key get --consistency="s" foo I will also check in kubeadm to see if we should change the livenessProbe entirely as it seems wrong to have the entire cluster go into crashLoopBackoff and never recover. |
We should definitely file a bug in upstream kubeadm as well |
looks like @randomvariable filed the kubeadm ticket. it also links to a new etcd repo ticket, where the main question is how to enable more granular checks or relax the existing checks. kubeadm patches in CAPI make sense in general and @randomvariable and me discussed this today at the VMware slack. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Detailed Description
kubernetes/kubernetes#103063 recently added
InitConfiguration.Patches.Directory
,JoinConfiguration.Patches.Directory
to allow the user to configure a directory from which to take patches for components deployed by kubeadm.Should we add the same to the KubeadmConfig type in CAPI?
Anything else you would like to add:
IMPORTANT: This will work only on clusters with Kubernetes version >= 1.22
/kind feature
/area bootstrap
The text was updated successfully, but these errors were encountered: