Difference between revisions of "Kube-system namespace"

From wikieduonline
Jump to navigation Jump to search
Line 54: Line 54:
 
* <code>[[kube-public]]</code>
 
* <code>[[kube-public]]</code>
 
* <code>[[kube-node-lease]]</code>
 
* <code>[[kube-node-lease]]</code>
 +
* <code>kubectl edit service]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 17:45, 20 July 2022

kubectl -n kube-system 
kubectl -n kube-system get pods


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

Related

See also

Advertising: