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
Handle Non-graceful Node Shutdown #108486
Handle Non-graceful Node Shutdown #108486
Conversation
Hi @sonasingh46. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/assign |
/ok-to-test |
@sonasingh46 Can you add a release note? |
/assign @YuikoTakada |
0b5347a
to
e728d5c
Compare
/retest |
/lgtm |
/test pull-kubernetes-node-e2e-containerd |
/retest |
1 similar comment
/retest |
The new feature gate needs a docs website update. |
Thanks @tengqm for the reminder. |
Signed-off-by: Ashutosh Kumar <sonasingh46@gmail.com> Co-authored-by: Ashutosh Kumar <sonasingh46@gmail.com> Co-authored-by: xing-yang <xingyang105@gmail.com>
K8s v1.24 has a new well-known taint "node.kubernetes.io/out-of-service" that enables automatic deletion of pv-attached pods on failed nodes. This patch makes fencing-controller adding it to a fenced node just after the fencing job was successfully finished. See the pages below for more detail: kubernetes/enhancements#2268 kubernetes/kubernetes#108486
K8s v1.24 has a new well-known taint "node.kubernetes.io/out-of-service" that enables automatic deletion of pv-attached pods on failed nodes. This patch makes fencing-controller adding it to a fenced node just after the fencing job was successfully finished. See the pages below for more detail: kubernetes/enhancements#2268 kubernetes/kubernetes#108486
K8s v1.24 has a new well-known taint "node.kubernetes.io/out-of-service" that enables automatic deletion of pv-attached pods on failed nodes. This patch makes fencing-controller adding it to a fenced node just after the fencing job was successfully finished. See the pages below for more detail: kubernetes/enhancements#2268 kubernetes/kubernetes#108486
Signed-off-by: Ashutosh Kumar sonasingh46@gmail.com
Co-authored-by: Ashutosh Kumar sonasingh46@gmail.com
What type of PR is this?
Implements KEP https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/2268-non-graceful-shutdown
/kind feature
What this PR does / why we need it:
This PR adds a feature to detach volume immediately and does not wait for the 6 min timeout in case of a non graceful shutdown of a node that has an
node.kubernetes.io/out-of-service
taint added manually.Adds feature gate
NodeOutOfServiceVolumeDetach
for this feature which is disabled by default.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Performed the following tests:
Used kubernetes cluster created on vSphere infra and vSphere CSI driver.
Kubernetes Version:
Kube-controller-image was based out on the current PR
Test 1:
Test 2:
Test 3:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: