kubectl get pods - список подов

kubectl run test123 –image=httpd:latest –port=80

kubectl delete pods test123

kubectl describe pods test123

kubectl exec test123 ls

kubectl exec -it test123 sh

kubectl exec -it two-containers bash –container debian-container # когда несколько конт в поде

kubectl logs test123

kubectl port-forward test123 8080:80

kubectl apply -f mypodfile.yaml

kubectl delete -f mypodfile.yaml

Справка по pod

примеры

DokuWiki Appliance - Powered by TurnKey Linux