Created
March 19, 2019 13:45
-
-
Save reynoldsm88/f32b682ecaac7d5a92e5becad4e2884d 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
POD=$(oc get pod | grep <xyz | awk '{print $1}' | |
oc set volume <DC> --add --claim-name=<name> --type pvc --claim-size=1G --mount-path /remote/data | |
oc rollout latest <DC> | |
oc rsync /local/data:$POD/remote/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment