Skip to content
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

Add note to Volume Lifecycle figure #513

Conversation

YuikoTakada
Copy link

This PR adds note to Volume Lifecycle figure in spec.md in order to explain actual Kubernetes volume lifecycle behavior which has changed by non-graceful node shutdown feature of Kubernetes .

Fix: #512

@jdef
Copy link
Member

jdef commented Jun 15, 2022 via email

@@ -210,6 +210,7 @@ creation to destruction.
Figure 6: The lifecycle of a dynamically provisioned volume, from
creation to destruction, when the Node Plugin advertises the
STAGE_UNSTAGE_VOLUME capability.
NOTE: When using Non-Graceful Node Shutdown feature in Kubernetes, status can be moved from PUBLISHED to CREATED without going through VOL_READY and/or NODE_READY status.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This behavior is not introduced by Non-Graceful Node Shutdown feature. Kubernetes already supports this behavior without Non-Graceful Node Shutdown. See "Test 2" in the PR description section below. By forcefully deleting the Pods on the shutdown node manually, Kubernetes will behave this way.

kubernetes/kubernetes#108486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Volume Lifecycle is not correspond to actual k8s behavior
3 participants