Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
automatizace:kubernetes [2022/02/18 16:45]
tomas [Kubectl]
automatizace:kubernetes [2022/04/08 17:07] (current)
tomas
Line 48: Line 48:
 kubectl config set-context --current --namespace=NS ... nastavi vychozi namespace\\ kubectl config set-context --current --namespace=NS ... nastavi vychozi namespace\\
  
 +=====nodes=====
 kubectl get nodes ... Seznam nodu\\ kubectl get nodes ... Seznam nodu\\
 +
 +=====pods=====
 +kubectl get pods\\
 +kubectl describe pod aaaa -n nnnn ... podrobne informace o podu\\
 kubectl get pod,deploy,rs -n default ... seznam podu, deployu a replika setu v namespace default\\ kubectl get pod,deploy,rs -n default ... seznam podu, deployu a replika setu v namespace default\\
 kubectl describe replicaset.extensions/aaa-6d5f854689 -n default ... popis repliky podu\\ kubectl describe replicaset.extensions/aaa-6d5f854689 -n default ... popis repliky podu\\