Appendix C. Seamless application movement across multicloud environments 245
Moving to the on-premises Power Systems cloud
To show the seamless movement, delete the pod in the public cloud and bring it up in the 
on-premises cloud (Power Systems cluster), as shown in Example C-3.
Example C-3   Deleting the pod in the public cloud and bringing it up in the Power Systems cloud
[root@ip-10-0-2-217 ~]# oc delete pod appmongo-ibm-mongodb-dev
pod "appmongo-ibm-mongodb-dev" deleted
[root@ip-10-0-2-217 ~]# oc get pod appmongo-ibm-mongodb-dev
Error from server (NotFound): pods "appmongo-ibm-mongodb-dev" not found
[root@ip-10-0-2-217 ~]#
[root@dcocp01 ~]# oc apply -f mongo_pod.yaml
pod/appmongo-ibm-mongodb-dev created
[root@dcocp01 ~]# oc get pod appmongo-ibm-mongodb-dev
NAME                       READY     STATUS    RESTARTS   AGE
appmongo-ibm-mongodb-dev   1/1       Running   0          9s
[root@dcocp01 ~]#
The script checks again, validates that the pod is now running in the on-premises cloud, and 
points the tunnel to it, as shown in Figure C-3.
Figure C-3   Changing the tunnel to the on-premises cloud