-
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
remove usage of flexvolume in kubeadm #2135
Comments
@neolit123 Since kubernetes/kubernetes#91329 has been merged, shall we remove the mount of flexvolume-dir now? |
so my understanding is that flex volume support does not work with the distroless image for the KCM that k8s ships by default now. however, someone might decide to build their own image and override the one that kubeadm uses from k8s.gcr.io. this leads me to believe that instead of removing the kubeadm support for flex volume today, we should wait until flex volume is completely removed. |
yep well said @neolit123 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
kube-proxy distroless would require us to do the iptables bits so I'm not sure if anyone will pick that up but is maybe still a good idea. flex volume seems problematic in general, because e.g. updating the userspace in this distroful images is also technically perhaps a breaking change... But it still needs an official timeline. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale |
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 |
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
|
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
|
Seems like we should just freeze this until there's a pending timeline for removal from kubernetes that kubeadm can follow? |
Yep, that is true. |
FlexVolume was deprecated since v1.23. But according to https://github.com/kubernetes/community/blob/master/sig-storage/volume-plugin-faq.md#working-with-out-of-tree-volume-plugin-options
FlexVolume was deprecated but will not be removed, but will be still maintained.(No new feature.) |
we can remove the kubeadm integration which will be fairly easy, but perhaps we should do it once k/k core removes it. if we remove it now it's not clear how many kubeadm users we will break. |
Upgrade behavior should not be changed. So if user upgrades their cluster, the cluster will not break. |
i think after kubeadm upgrade if the manifests no longer have the flex volume bits, an existing user of the deprecated flex volume support from core k8s will be broken. for init it can be done, but we should tie it to the k8s core removal instead. |
distroless effort:
kubernetes/kubernetes#70249
see this message from sig-storage https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/kubernetes-dev/zC8jCLg142w/2P3BN5oTAgAJ
kube-apiserver and kube-scheduler already moved to distroless, but the kube-controller-manager was blocked due to flexvolume. kube-proxy is yet to move too.
currently kubeadm has related logic to manage flex volumes for the kube-controller-manager static Pod:
IIRC the above is currently GA and required for the KCM to run properly.
in case the KCM / kubelet deprecates and remove flexvoluime support kubeadm should follow.
upstream ticket:
kubernetes/kubernetes#98815
The text was updated successfully, but these errors were encountered: