Clean up feature state includes (#9895)
parent
73f4567c80
commit
18ba9a10f4
|
@ -15,8 +15,11 @@ Persistent volume claims (PVCs) that are in active use by a pod and persistent v
|
||||||
{{% capture prerequisites %}}
|
{{% capture prerequisites %}}
|
||||||
|
|
||||||
The Storage Object in Use Protection feature is enabled in one of the below Kubernetes versions:
|
The Storage Object in Use Protection feature is enabled in one of the below Kubernetes versions:
|
||||||
- {% assign for_k8s_version = "1.10" %} {% include feature-state-beta.md %}
|
|
||||||
- {% assign for_k8s_version = "1.11" %} {% include feature-state-stable.md %}
|
{{< feature-state for_k8s_version="v1.10" state="beta" >}}
|
||||||
|
|
||||||
|
|
||||||
|
{{< feature-state for_k8s_version="v1.11" state="stable" >}}
|
||||||
|
|
||||||
{{% /capture %}}
|
{{% /capture %}}
|
||||||
|
|
||||||
|
@ -186,7 +189,7 @@ Events:
|
||||||
|
|
||||||
- Create a second pod that uses the same PVC:
|
- Create a second pod that uses the same PVC:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
kind: Pod
|
kind: Pod
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -212,11 +215,11 @@ spec:
|
||||||
|
|
||||||
- Verify that the scheduling of the second pod fails with the below warning:
|
- Verify that the scheduling of the second pod fails with the below warning:
|
||||||
|
|
||||||
```
|
```shell
|
||||||
Warning FailedScheduling 18s (x4 over 21s) default-scheduler persistentvolumeclaim "slzc" is being deleted
|
Warning FailedScheduling 18s (x4 over 21s) default-scheduler persistentvolumeclaim "slzc" is being deleted
|
||||||
```
|
```
|
||||||
|
|
||||||
- Wait until the pod status of both pods is `Terminated` or `Completed` (either delete the pods or wait until they finish). Afterwards, check that the PVC is removed.
|
- Wait until the pod status of both pods is `Terminated` or `Completed` (either delete the pods or wait until they finish). Afterwards, check that the PVC is removed.
|
||||||
|
|
||||||
## Storage Object in Use Protection feature used for PV Protection
|
## Storage Object in Use Protection feature used for PV Protection
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue