Created
March 17, 2016 23:23
-
-
Save elsonrodriguez/80ab3b7cff8b926b2d19 to your computer and use it in GitHub Desktop.
kubectl run override
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
time kubectl run --command --rm -i --tty java --image=java --restart=Never --overrides='{ "apiVersion": "extensions/v1beta1", "spec":{"template":{"spec": {"containers":[{"name":"java","image":"java", "imagePullPolicy":"Always"}]}}}}' -- uptime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment