180 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
Now that the database is running, it contains loaded data in the Power Systems cluster 
on-premises. Delete the pod and keep the data to use it on the other cluster, as shown in 
Example 7-20. 
Delete the pod so that it no longer runs on-premises, and start the workload on AWS.
Example 7-20   Deleting Pod and maintaining the data
[root@dcocp01 ~]# oc get pods
NAME                       READY     STATUS    RESTARTS   AGE
appmongo-ibm-mongodb-dev   1/1       Running   0          21h
docker-registry-2-7dxwx    1/1       Running   1          13d
router-1-g9btn             1/1       Running   1          13d
[root@dcocp01 ~]# oc delete pod appmongo-ibm-mongodb-dev
pod "appmongo-ibm-mongodb-dev" deleted
[root@dcocp01 ~]#ls -la /nfsmongofs/mongo/
total 146028
drwx------. 4 mongo mongo      4096 Nov 10 12:07 .
drwxr-xr-x. 4 root  root       4096 Oct 31 12:28 ..
-rw-------. 1 mongo root      16384 Nov 10 12:07 
collection-0--1629751576978663310.wt
-rw-------. 1 mongo root      24576 Nov 10 12:07 
collection-0-7744448727083060016.wt
-rw-------. 1 mongo root      32768 Nov 10 12:07 
collection-2--1629751576978663310.wt
-rw-------. 1 mongo root  145391616 Nov 10 12:07 
collection-3-7744448727083060016.wt
-rw-------. 1 mongo root      16384 Nov 10 12:07 
collection-4--1629751576978663310.wt
drwx------. 2 mongo root       4096 Nov 10 12:07 diagnostic.data
-rw-------. 1 mongo root      16384 Nov 10 12:07 index-1--1629751576978663310.wt
-rw-------. 1 mongo root      24576 Nov 10 12:07 index-1-7744448727083060016.wt
-rw-------. 1 mongo root      24576 Nov 10 12:07 index-2-7744448727083060016.wt
-rw-------. 1 mongo root      32768 Nov 10 12:07 index-3--1629751576978663310.wt
-rw-------. 1 mongo root    3735552 Nov 10 12:07 index-4-7744448727083060016.wt
-rw-------. 1 mongo root      16384 Nov  9 14:38 index-5--1629751576978663310.wt
-rw-------. 1 mongo root      16384 Nov 10 12:07 index-6--1629751576978663310.wt
drwx------. 2 mongo root       4096 Nov  9 16:23 journal
-rw-------. 1 mongo root      36864 Nov 10 12:07 _mdb_catalog.wt
-rw-------. 1 mongo root          0 Nov 10 12:07 mongod.lock
-rw-------. 1 mongo root      36864 Nov 10 12:07 sizeStorer.wt
-rw-------. 1 mongo root        114 Nov  9 14:38 storage.bson
-rw-------. 1 mongo root         48 Nov  9 14:38 WiredTiger
-rw-------. 1 mongo root       4096 Nov 10 12:07 WiredTigerLAS.wt
-rw-------. 1 mongo root         21 Nov  9 14:38 WiredTiger.lock
-rw-------. 1 mongo root       1049 Nov 10 12:07 WiredTiger.turtle
-rw-------. 1 mongo root      69632 Nov 10 12:07 WiredTiger.wt