go run server.godocker build -t npavans/hello-go .docker run --rm -p 8080:8080 npavans/hello-godocker push npavans/hello-gokind create clusterkind create cluster --config=kind.yaml --name=CLUSTER_NAMEkubectl config get-clusterskind get clusterskind delete clusters CLUSTER_NAMEkubectl cluster-info --context kind-CLUSTER_NAMEkubectl get nodeskubectl apply -f pod.yamlkubectl describe pod POD_NAMEkubectl get podskubectl delete pod POD_NAME --forcekubectl port-forward pod/goserver 8000:8080
# acessar em http://localhost:8000/hellokubectl get replicasetskubectl delete replicaset REPLICASET_NAMEkubectl get deploymentskubectl describe deployment DEPLOYMENT_NAMEkubectl rollout history deployment DEPLOYMENT_NAME
# output
# REVISION CHANGE-CAUSE
# 1 <none>kubectl rollout undo deployment DEPLOYMENT_NAMEkubectl rollout undo deployment DEPLOYMENT_NAME --to-revision=REVISION_NUMBERkubectl get svckubectl port-forward svc/SERVICE_NAME 8000:8080
# acessar em http://localhost:8000/hellokubectl proxy --port=8001
# acessar em http://localhost:8001/api/v1/pods