Created
November 12, 2020 11:28
-
-
Save ajanthanblog/12e5cb769c7a5d0479714093a0bca1e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First find the PV: | |
sl-ajanthan@slajanthan-Latitude-3580:~$ kubectl get pv | |
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE | |
pvc-cb2e4c3e-24d8-11eb-9bc3-080027f9e433 50M RWX Delete Bound wso2test/wso2am-pattern-1-am-shared-synapse-configs-volume-claim nfs 8m | |
pvc-cb2e7589-24d8-11eb-9bc3-080027f9e433 20M RWX Delete Bound wso2test/wso2am-pattern-1-am-shared-executionplans-volume-claim nfs 8m | |
pvc-cb2e830d-24d8-11eb-9bc3-080027f9e433 8Gi RWO Delete Bound wso2test/wso2am-mysql-db-service nfs 8m | |
pvc-e1af0cfe-24d3-11eb-9bc3-080027f9e433 50M RWX Delete Released wso2test/wso2am-pattern-1-am-shared-synapse-configs-volume-claim nfs 38m | |
pvc-e1aff88e-24d3-11eb-9bc3-080027f9e433 20M RWX Delete Released wso2test/wso2am-pattern-1-am-shared-executionplans-volume-claim nfs 38m | |
pvc-e1b02e6f-24d3-11eb-9bc3-080027f9e433 8Gi RWO Delete Released wso2test/wso2am-mysql-db-service nfs 38m | |
Then: | |
kubectl exec -it apim-deployment-1-nfs-server-provisioner-0 bash -n wso2test | |
cd /export/pvc-e1b02e6f-24d3-11eb-9bc3-080027f9e433 | |
Then remove all the files inside there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment