Ressources Management


# kubectl get pod jump-pod -o yaml

CLUSTER

Show nodes
# kubectl get no
# kubectl get nodes
# kubectl get nodes ghost.eni.lab -o yaml

POD

list of Pods
# kubectl get pod
# kubectl get pods -o yaml

Display ressources of all namespaces
# kubectl get pods -A
# kubectl get pods --all-namespaces


# kubectl get pods 
NAMESPACE     NAME                          READY
kube-system   coredns-xxxxx                 1/1

READY : conteneurs prĂȘts / conteneurs totaux


Connect to pod
$ kubectl exec pod_name -n namespace_name -it -- /bin/sh

Eninam BAGNABANA     |         |     bagnadavid@outlook.fr     |