Difference between revisions of "Kubectl describe nodes"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
  [[kubectl describe nodes (conditions:)]]
 
  [[kubectl describe nodes (conditions:)]]
 +
 +
TOMERGE: [[kubectl describe node]]
  
 
  [[kubectl describe]] nodes
 
  [[kubectl describe]] nodes

Revision as of 06:48, 1 November 2022

kubectl describe nodes (conditions:)
TOMERGE: kubectl describe node
kubectl describe nodes
Name:               ip-192-168-12-78.us-east-2.compute.internal
Roles:              <none>
Labels:             alpha.eksctl.io/cluster-name=first-eks-cluster
                    alpha.eksctl.io/nodegroup-name=ng-52e4badc
                    beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/instance-type=t3.small
                    beta.kubernetes.io/os=linux
                    eks.amazonaws.com/capacityType=SPOT
                    eks.amazonaws.com/nodegroup=ng-52e4badc
                    eks.amazonaws.com/nodegroup-image=ami-014b0ee6a978b6ca5
                    eks.amazonaws.com/sourceLaunchTemplateId=lt-0b02696b156323f05
                    eks.amazonaws.com/sourceLaunchTemplateVersion=1
                    failure-domain.beta.kubernetes.io/region=us-east-2
                    failure-domain.beta.kubernetes.io/zone=us-east-2a
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=ip-192-168-12-78.us-east-2.compute.internal
                    kubernetes.io/os=linux
                    node.kubernetes.io/instance-type=t3.small
                    topology.kubernetes.io/region=us-east-2
                    topology.kubernetes.io/zone=us-east-2a
Annotations:        node.alpha.kubernetes.io/ttl: 0
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Mon, 29 Nov 2021 00:21:41 +0300
Taints:             <none>
Unschedulable:      false
Lease:
  HolderIdentity:  ip-192-168-12-78.us-east-2.compute.internal
  AcquireTime:     <unset>
  RenewTime:       Mon, 29 Nov 2021 14:43:04 +0300
Conditions:
  Type             Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message
  ----             ------  -----------------                 ------------------                ------                       -------
  MemoryPressure   False   Mon, 29 Nov 2021 14:41:42 +0300   Mon, 29 Nov 2021 00:21:40 +0300   KubeletHasSufficientMemory   kubelet has sufficient memory available
  DiskPressure     False   Mon, 29 Nov 2021 14:41:42 +0300   Mon, 29 Nov 2021 00:21:40 +0300   KubeletHasNoDiskPressure     kubelet has no disk pressure
  PIDPressure      False   Mon, 29 Nov 2021 14:41:42 +0300   Mon, 29 Nov 2021 00:21:40 +0300   KubeletHasSufficientPID      kubelet has sufficient PID available
  Ready            True    Mon, 29 Nov 2021 14:41:42 +0300   Mon, 29 Nov 2021 00:22:02 +0300   KubeletReady                 kubelet is posting ready status
Addresses:
  InternalIP:   192.168.12.78
  ExternalIP:   6.145.74.xx
  Hostname:     ip-192-168-12-78.us-east-2.compute.internal
  InternalDNS:  ip-192-168-12-78.us-east-2.compute.internal
  ExternalDNS:  ec2-3-145-74-221.us-east-2.compute.amazonaws.com
Capacity:
  attachable-volumes-aws-ebs:  25
  cpu:                         2
  ephemeral-storage:           83873772Ki
  hugepages-1Gi:               0
  hugepages-2Mi:               0
  memory:                      1994628Ki
  pods:                        11
Allocatable:
  attachable-volumes-aws-ebs:  25
  cpu:                         1930m
  ephemeral-storage:           76224326324
  hugepages-1Gi:               0
  hugepages-2Mi:               0
  memory:                      1507204Ki
  pods:                        11
System Info:
  Machine ID:                 ec22ec5b71867f441eb9c9b550419bab
  System UUID:                ec22ec5b-7186-7f44-1eb9-c9b550419bab
  Boot ID:                    6f23f2fb-b1ef-44ea-b869-d7f31c338d55
  Kernel Version:             5.4.156-83.273.amzn2.x86_64
  OS Image:                   Amazon Linux 2
  Operating System:           linux
  Architecture:               amd64
  Container Runtime Version:  docker://20.10.7
  Kubelet Version:            v1.21.5-eks-bc4871b
  Kube-Proxy Version:         v1.21.5-eks-bc4871b
ProviderID:                   aws:///us-east-2a/i-04bde92ef89395865
Non-terminated Pods:          (3 in total)
  Namespace                   Name                       CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----                       ------------  ----------  ---------------  -------------  ---
  kube-system                 aws-node-9qjgk             10m (0%)      0 (0%)      0 (0%)           0 (0%)         14h
  kube-system                 coredns-f47955f89-z59pt    100m (5%)     0 (0%)      70Mi (4%)        170Mi (11%)    14h
  kube-system                 kube-proxy-wbds2           100m (5%)     0 (0%)      0 (0%)           0 (0%)         14h
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                    Requests    Limits
  --------                    --------    ------
  cpu                         210m (10%)  0 (0%)
  memory                      70Mi (4%)   170Mi (11%)
  ephemeral-storage           0 (0%)      0 (0%)
  hugepages-1Gi               0 (0%)      0 (0%)
  hugepages-2Mi               0 (0%)      0 (0%)
  attachable-volumes-aws-ebs  0           0
Events:                       <none>






Name:               ip-192-168-71-222.us-east-2.compute.internal
Roles:              <none>
Labels:             alpha.eksctl.io/cluster-name=first-eks-cluster
                    alpha.eksctl.io/nodegroup-name=ng-52e4badc
                    beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/instance-type=t3.small
                    beta.kubernetes.io/os=linux
                    eks.amazonaws.com/capacityType=SPOT
                    eks.amazonaws.com/nodegroup=ng-52e4badc
                    eks.amazonaws.com/nodegroup-image=ami-014b0ee6a978b6ca5
                    eks.amazonaws.com/sourceLaunchTemplateId=lt-0b02696b156323f05
                    eks.amazonaws.com/sourceLaunchTemplateVersion=1
                    failure-domain.beta.kubernetes.io/region=us-east-2
                    failure-domain.beta.kubernetes.io/zone=us-east-2b
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=ip-192-168-71-222.us-east-2.compute.internal
                    kubernetes.io/os=linux
                    node.kubernetes.io/instance-type=t3.small
                    topology.kubernetes.io/region=us-east-2
                    topology.kubernetes.io/zone=us-east-2b
Annotations:        node.alpha.kubernetes.io/ttl: 0
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Mon, 29 Nov 2021 00:21:40 +0300
Taints:             <none>
Unschedulable:      false
Lease:
  HolderIdentity:  ip-192-168-71-222.us-east-2.compute.internal
  AcquireTime:     <unset>
  RenewTime:       Mon, 29 Nov 2021 14:43:38 +0300
Conditions:
  Type             Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message
  ----             ------  -----------------                 ------------------                ------                       -------
  MemoryPressure   False   Mon, 29 Nov 2021 14:41:42 +0300   Mon, 29 Nov 2021 00:21:39 +0300   KubeletHasSufficientMemory   kubelet has sufficient memory available
  DiskPressure     False   Mon, 29 Nov 2021 14:41:42 +0300   Mon, 29 Nov 2021 00:21:39 +0300   KubeletHasNoDiskPressure     kubelet has no disk pressure
  PIDPressure      False   Mon, 29 Nov 2021 14:41:42 +0300   Mon, 29 Nov 2021 00:21:39 +0300   KubeletHasSufficientPID      kubelet has sufficient PID available
  Ready            True    Mon, 29 Nov 2021 14:41:42 +0300   Mon, 29 Nov 2021 00:22:01 +0300   KubeletReady                 kubelet is posting ready status
Addresses:
  InternalIP:   192.168.71.222
  ExternalIP:   6.17.185.xx
  Hostname:     ip-192-168-71-222.us-east-2.compute.internal
  InternalDNS:  ip-192-168-71-222.us-east-2.compute.internal
  ExternalDNS:  ec2-3-17-185-231.us-east-2.compute.amazonaws.com
Capacity:
  attachable-volumes-aws-ebs:  25
  cpu:                         2
  ephemeral-storage:           83873772Ki
  hugepages-1Gi:               0
  hugepages-2Mi:               0
  memory:                      1994628Ki
  pods:                        11
Allocatable:
  attachable-volumes-aws-ebs:  25
  cpu:                         1930m
  ephemeral-storage:           76224326324
  hugepages-1Gi:               0
  hugepages-2Mi:               0
  memory:                      1507204Ki
  pods:                        11
System Info:
  Machine ID:                 ec2c596d5fa9f00e916116cc4a14cc31
  System UUID:                ec2c596d-5fa9-f00e-9161-16cc4a14cc31
  Boot ID:                    785dd3fa-48cd-497b-a1f5-c0bb3e01dded
  Kernel Version:             5.4.156-83.273.amzn2.x86_64
  OS Image:                   Amazon Linux 2
  Operating System:           linux
  Architecture:               amd64
  Container Runtime Version:  docker://20.10.7
  Kubelet Version:            v1.21.5-eks-bc4871b
  Kube-Proxy Version:         v1.21.5-eks-bc4871b
ProviderID:                   aws:///us-east-2b/i-0dffc1a54f70c0ed9
Non-terminated Pods:          (3 in total)
  Namespace                   Name                       CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----                       ------------  ----------  ---------------  -------------  ---
  kube-system                 aws-node-v6jzm             10m (0%)      0 (0%)      0 (0%)           0 (0%)         14h
  kube-system                 coredns-f47955f89-dshkm    100m (5%)     0 (0%)      70Mi (4%)        170Mi (11%)    14h
  kube-system                 kube-proxy-4ptzp           100m (5%)     0 (0%)      0 (0%)           0 (0%)         14h
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                    Requests    Limits
  --------                    --------    ------
  cpu                         210m (10%)  0 (0%)
  memory                      70Mi (4%)   170Mi (11%)
  ephemeral-storage           0 (0%)      0 (0%)
  hugepages-1Gi               0 (0%)      0 (0%)
  hugepages-2Mi               0 (0%)      0 (0%)
  attachable-volumes-aws-ebs  0           0
Events:                       <none>


Related

See also

Advertising: