kube-system namespace

From wikieduonline
Revision as of 18:44, 27 March 2023 by Newworld3 (talk | contribs)
Jump to navigation Jump to search

kube-system namespace

kubectl -n kube-system 
kubectl -n kube-system get pods
kubectl describe sa -n kube-system
kubectl get configmap -n kube-system

Helm install:


kubectl -n kube-system -l=k8s-app=kube-dns get pods
NAME                      READY   STATUS    RESTARTS   AGE
coredns-f47955f89-7ntw4   0/1     Pending   0          3h37m
coredns-f47955f89-sl79r   0/1     Pending   0          3h37m
kubectl -n kube-system -l=k8s-app=kube-dns get pods
NAME                      READY   STATUS    RESTARTS   AGE
coredns-f47955f89-d95dd   1/1     Running   0          45h
coredns-f47955f89-w746j   1/1     Running   0          45h

EKS

kubectl get pods -n kube-system
NAME                       READY   STATUS    RESTARTS   AGE
aws-node-4zx4r             1/1     Running   0          4d18h
aws-node-hsxyz             1/1     Running   0          4d18h
aws-node-w59pg             1/1     Running   0          4d18h
coredns-5c778788f4-2xyz    0/1     Pending   0          41h
coredns-5c778788f4-dyzk    0/1     Pending   0          41h
kube-proxy-m5912           1/1     Running   0          4d18h
kube-proxy-vbx32           1/1     Running   0          4d18h
kube-proxy-w9v45           1/1     Running   0          4d18h

After installing aws-load-balancer-controller

kubectl -n kube-system get pods
NAME                                            READY   STATUS    RESTARTS   AGE
aws-load-balancer-controller-5bcbf46bdb-b4znr   1/1     Running   0          2m46s
aws-load-balancer-controller-5bcbf46bdb-xgs4s   1/1     Running   0          2m46s
aws-node-4zqph                                  1/1     Running   0          4d23h
aws-node-hsxn8                                  1/1     Running   0          4d23h
aws-node-w59pg                                  1/1     Running   0          4d23h
coredns-5c778788f4-2x4vq                        1/1     Running   0          45h
coredns-5c778788f4-dlhx5                        1/1     Running   0          45h
kube-proxy-m59nt                                1/1     Running   0          4d23h
kube-proxy-vbx9q                                1/1     Running   0          4d23h
kube-proxy-w9vms                                1/1     Running   0          4d23h
kubectl describe -n kube-system configmap/aws-auth

Errors

Related

See also

Advertising: