Created
June 19, 2020 23:24
-
-
Save allbarbos/c39c850eba6f02366e85885333c630c9 to your computer and use it in GitHub Desktop.
k8s hands on - comandos
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 version --client | |
kubectl config get-contexts | |
kubectl config use-context minikube | |
kubectl create -f <yaml> | |
kubectl get <pod | deployment> | |
kubectl describe pods | |
kubectl delete <pod | deployment> <name> | |
kubectl exec -it <name> sh | |
kubectl scale -n <namespace> <deployment> <name> --replicas=<quantity> | |
https://kubernetes.io/pt/docs/reference/kubectl/cheatsheet |
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
minikube start | |
minikube status | |
minikube dashboard | |
minikube stop | |
minikube service <NAME> --url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment