Last active
December 23, 2019 16:00
-
-
Save carlessanagustin/f5b4332113602dcd1d371fdc3041b0a4 to your computer and use it in GitHub Desktop.
Get a quick Deployment YAML from Kubernetes
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
kubectl run nginx --image=nginx:latest | |
kubectl get deploy nginx -o yaml > nginx.default.yaml | |
kubectl delete deployment nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment