@@ -1202,12 +1202,54 @@ Service:
1202
1202
kubectl delete svc nginx
1203
1203
```
1204
1204
1205
+ Delete the persistent storage media for the PersistentVolumes used in this tutorial.
1205
1206
1207
+ ``` shell
1208
+ kubectl get pvc
1209
+ ```
1210
+ ```
1211
+ NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
1212
+ www-web-0 Bound pvc-2bf00408-d366-4a12-bad0-1869c65d0bee 1Gi RWO standard 25m
1213
+ www-web-1 Bound pvc-ba3bfe9c-413e-4b95-a2c0-3ea8a54dbab4 1Gi RWO standard 24m
1214
+ www-web-2 Bound pvc-cba6cfa6-3a47-486b-a138-db5930207eaf 1Gi RWO standard 15m
1215
+ www-web-3 Bound pvc-0c04d7f0-787a-4977-8da3-d9d3a6d8d752 1Gi RWO standard 15m
1216
+ www-web-4 Bound pvc-b2c73489-e70b-4a4e-9ec1-9eab439aa43e 1Gi RWO standard 14m
1217
+ ```
1218
+
1219
+ ``` shell
1220
+ kubectl get pv
1221
+ ```
1222
+ ```
1223
+ NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
1224
+ pvc-0c04d7f0-787a-4977-8da3-d9d3a6d8d752 1Gi RWO Delete Bound default/www-web-3 standard 15m
1225
+ pvc-2bf00408-d366-4a12-bad0-1869c65d0bee 1Gi RWO Delete Bound default/www-web-0 standard 25m
1226
+ pvc-b2c73489-e70b-4a4e-9ec1-9eab439aa43e 1Gi RWO Delete Bound default/www-web-4 standard 14m
1227
+ pvc-ba3bfe9c-413e-4b95-a2c0-3ea8a54dbab4 1Gi RWO Delete Bound default/www-web-1 standard 24m
1228
+ pvc-cba6cfa6-3a47-486b-a138-db5930207eaf 1Gi RWO Delete Bound default/www-web-2 standard 15m
1229
+ ```
1230
+
1231
+ ``` shell
1232
+ kubectl delete pvc www-web-0 www-web-1 www-web-2 www-web-3 www-web-4
1233
+ ```
1234
+
1235
+ ```
1236
+ persistentvolumeclaim "www-web-0" deleted
1237
+ persistentvolumeclaim "www-web-1" deleted
1238
+ persistentvolumeclaim "www-web-2" deleted
1239
+ persistentvolumeclaim "www-web-3" deleted
1240
+ persistentvolumeclaim "www-web-4" deleted
1241
+ ```
1242
+
1243
+ ``` shell
1244
+ kubectl get pvc
1245
+ ```
1246
+
1247
+ ```
1248
+ No resources found in default namespace.
1249
+ ```
1206
1250
{{< note >}}
1207
1251
You also need to delete the persistent storage media for the PersistentVolumes
1208
1252
used in this tutorial.
1209
-
1210
-
1211
1253
Follow the necessary steps, based on your environment, storage configuration,
1212
1254
and provisioning method, to ensure that all storage is reclaimed.
1213
- {{< /note >}}
1255
+ {{< /note >}}
0 commit comments