-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Trello: Pospispa 566 postpone pvc deletion if used in a pod #7577
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
Conversation
[source, yaml] | ||
---- | ||
kubeletArguments: | ||
feature-gates: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces indent above, but 3 spaces here.
---- | ||
kubeletArguments: | ||
feature-gates: | ||
- PVCProtection=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be the same indent level as above line.
@liangxia Changes made, please review. Thanks! |
LGTM now. Thanks. |
[rev_history] |
PVC Protection alpha feature was added to K8s 1.9 in PRs: - kubernetes/kubernetes#55824 - kubernetes/kubernetes#55873 and documented in K8s 1.9 in PR: - kubernetes/website#6415 That's why the PVC Protection is a new alpha feature in OpenShift 3.9 and that's why PVC Protection documentation is added.
@openshift/team-documentation PTAL. Rev history in the previous comment. |
@@ -0,0 +1,59 @@ | |||
[[install-config-configuring-pvc-protection]] | |||
= Configuring Persistent Volume Claim Protection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tmorriso-rh Is this configuration specific to installation time? I'm wondering if this file would be better at home in the Admin Guide. Perhaps even in the Managing Pods section:
https://docs.openshift.com/container-platform/3.7/admin_guide/managing_pods.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is specific to installation.
[NOTE] | ||
==== | ||
PVC protection is an alpha feature and may change in a future release of {product-title}. | ||
==== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be good to add the description of why someone would want to do this from lines 117-124 in the file you've changed above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this information. Thanks.
@tmorriso-rh I made some comments. Let me know what you think! |
/cherrypick enterprise-3.6-stage |
@tmorriso-rh: #7577 failed to apply on top of branch "enterprise-3.6-stage":
In response to this:
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. |
@tmorriso-rh - there are 2 commits in this PR. Commits should be squashed. |
@pospispa Please review this PR for the following Trello card:
https://trello.com/c/fIJWvdpc/721-document-prevent-pvc-deletion-if-pvc-in-use-by-a-pod