Created
July 27, 2018 16:59
-
-
Save ctaggart/c372783291162d9c0b8e40441ab14845 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
kubectl run myubuntu --image ubuntu --rm -ti --restart=Never --overrides=' | |
{ | |
"metadata": { | |
"labels": { | |
"diditwork": "itdid" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"stdin": true, | |
"tty": true, | |
"args": [ "bash" ], | |
"name": "myubuntu", | |
"image": "ubuntu", | |
"volumeMounts": [ | |
{ | |
"mountPath": "/home/store", | |
"name": "store" | |
} | |
] | |
} | |
], | |
"volumes": [ | |
{ | |
"name": "store", | |
"emptyDir": {} | |
} | |
] | |
} | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment