// Aula 10 - Criar um Pod # kubectl run kuard --generator=run-pod/v1 --image=gcr.io/kuar-demo/kuard-amd64:blue # kubectl get pods # kubectl delete pods/kuard # kubectl get pods # docker run -d --name kuard --publish 8080:8080 gcr.io/kuar-demo/kuard-amd64:blue # vim pod-kuard.yaml apiVersion: v1 kind: Pod metadata: name: kuard spec: containers: - image: gcr.io/kuar-demo/kuard-amd64:1 name: kuard ports: - containerPort: 8080 name: http protocol: TCP # kubectl apply -f pod-kuard.yaml # kubectl get pods # kubectl get pods -o wide # kubectl get pods -o json # kubectl describe pods kuard # kubectl delete pods/kuard # kubectl delete -f pod-kuard.yaml