kubectl describe node (example)

From wikieduonline
Jump to navigation Jump to search

TO_MERGE: kubectl describe nodes


Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                    Requests       Limits
  --------                    --------       ------
  cpu                         2481m (31%)    10183m (127%)
  memory                      13910Mi (44%)  25206Mi (79%)
  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:               gke-your-project-gke-your-project-gke-323c5dd8-m212
Roles:              <none>
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/instance-type=e2-standard-2
                    beta.kubernetes.io/os=linux
                    cloud.google.com/gke-boot-disk=pd-standard
                    cloud.google.com/gke-container-runtime=containerd
                    cloud.google.com/gke-cpu-scaling-level=2
                    cloud.google.com/gke-max-pods-per-node=110
                    cloud.google.com/gke-nodepool=your-project-gke
                    cloud.google.com/gke-os-distribution=cos
                    cloud.google.com/machine-family=e2
                    env=your-project
                    failure-domain.beta.kubernetes.io/region=us-central1
                    failure-domain.beta.kubernetes.io/zone=us-central1-a
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=gke-your-project-gke-your-project-gke-323c5dd8-m212
                    kubernetes.io/os=linux
                    node.kubernetes.io/instance-type=e2-standard-2
                    topology.gke.io/zone=us-central1-a
                    topology.kubernetes.io/region=us-central1
                    topology.kubernetes.io/zone=us-central1-a
Annotations:        container.googleapis.com/instance_id: 8647995968841445203
                    csi.volume.kubernetes.io/nodeid:
                      {"filestore.csi.storage.gke.io":"gke-your-project-gke-your-project-gke-323c5dd8-m212","pd.csi.storage.gke.io":"projects/your-project/zones...
                    node.alpha.kubernetes.io/ttl: 0
                    node.gke.io/last-applied-node-labels:
                      cloud.google.com/gke-boot-disk=pd-standard,cloud.google.com/gke-container-runtime=containerd,cloud.google.com/gke-cpu-scaling-level=2,clou...
                    node.gke.io/last-applied-node-taints: 
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Mon, 31 Oct 2022 23:53:28 +0100
Taints:             <none>
Unschedulable:      false
Lease:
  HolderIdentity:  gke-your-project-gke-your-project-gke-323c5dd8-m212
  AcquireTime:     <unset>
  RenewTime:       Tue, 01 Nov 2022 07:34:53 +0100
Conditions:
  Type                          Status  LastHeartbeatTime                 LastTransitionTime                Reason                          Message
  ----                          ------  -----------------                 ------------------                ------                          -------
  FrequentContainerdRestart     False   Tue, 01 Nov 2022 07:34:25 +0100   Mon, 31 Oct 2022 23:53:28 +0100   NoFrequentContainerdRestart     containerd is functioning properly
  KernelDeadlock                False   Tue, 01 Nov 2022 07:34:25 +0100   Mon, 31 Oct 2022 23:53:28 +0100   KernelHasNoDeadlock             kernel has no deadlock
  ReadonlyFilesystem            False   Tue, 01 Nov 2022 07:34:25 +0100   Mon, 31 Oct 2022 23:53:28 +0100   FilesystemIsNotReadOnly         Filesystem is not read-only
  CorruptDockerOverlay2         False   Tue, 01 Nov 2022 07:34:25 +0100   Mon, 31 Oct 2022 23:53:28 +0100   NoCorruptDockerOverlay2         docker overlay2 is functioning properly
  FrequentUnregisterNetDevice   False   Tue, 01 Nov 2022 07:34:25 +0100   Mon, 31 Oct 2022 23:53:28 +0100   NoFrequentUnregisterNetDevice   node is functioning properly
  FrequentKubeletRestart        False   Tue, 01 Nov 2022 07:34:25 +0100   Mon, 31 Oct 2022 23:53:28 +0100   NoFrequentKubeletRestart        kubelet is functioning properly
  FrequentDockerRestart         False   Tue, 01 Nov 2022 07:34:25 +0100   Mon, 31 Oct 2022 23:53:28 +0100   NoFrequentDockerRestart         docker is functioning properly
  NetworkUnavailable            False   Mon, 31 Oct 2022 23:53:41 +0100   Mon, 31 Oct 2022 23:53:41 +0100   RouteCreated                    RouteController created a route
  MemoryPressure                False   Tue, 01 Nov 2022 07:32:16 +0100   Mon, 31 Oct 2022 23:53:25 +0100   KubeletHasSufficientMemory      kubelet has sufficient memory available
  DiskPressure                  False   Tue, 01 Nov 2022 07:32:16 +0100   Mon, 31 Oct 2022 23:53:25 +0100   KubeletHasNoDiskPressure        kubelet has no disk pressure
  PIDPressure                   False   Tue, 01 Nov 2022 07:32:16 +0100   Mon, 31 Oct 2022 23:53:25 +0100   KubeletHasSufficientPID         kubelet has sufficient PID available
  Ready                         True    Tue, 01 Nov 2022 07:32:16 +0100   Mon, 31 Oct 2022 23:53:28 +0100   KubeletReady                    kubelet is posting ready status. AppArmor enabled
Addresses:
  InternalIP:   10.10.0.7
  ExternalIP:   34.132.254.98
  InternalDNS:  gke-your-project-gke-your-project-gke-323c5dd8-m212.us-central1-a.c.your-project.internal
  Hostname:     gke-your-project-gke-your-project-gke-323c5dd8-m212.us-central1-a.c.your-project.internal
Capacity:
  attachable-volumes-gce-pd:  127
  cpu:                        2
  ephemeral-storage:          98831908Ki
  hugepages-1Gi:              0
  hugepages-2Mi:              0
  memory:                     8148584Ki
  pods:                       110
Allocatable:
  attachable-volumes-gce-pd:  127
  cpu:                        1930m
  ephemeral-storage:          47060071478
  hugepages-1Gi:              0
  hugepages-2Mi:              0
  memory:                     6183528Ki
  pods:                       110
System Info:
  Machine ID:                 fae7519ac19435b1c624433df65c0d99
  System UUID:                fae7519a-c194-35b1-c624-433df65c0d99
  Boot ID:                    aa8a2ad4-33d5-4f4c-bec8-1f9aa6aa3d42
  Kernel Version:             5.10.133+
  OS Image:                   Container-Optimized OS from Google
  Operating System:           linux
  Architecture:               amd64
  Container Runtime Version:  containerd://1.5.13
  Kubelet Version:            v1.22.12-gke.2300
  Kube-Proxy Version:         v1.22.12-gke.2300
PodCIDR:                      10.44.3.0/24
PodCIDRs:                     10.44.3.0/24
ProviderID:                   gce://your-project/us-central1-a/gke-your-project-gke-your-project-gke-323c5dd8-m212
Non-terminated Pods:          (11 in total)
  Namespace                   Name                                                              CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----                                                              ------------  ----------  ---------------  -------------  ---
  default                     elasticsearch-master-1                                            1 (51%)       1 (51%)     2Gi (33%)        2Gi (33%)      22m
  kube-system                 event-exporter-gke-5479fd58c8-qk2cx                               0 (0%)        0 (0%)      0 (0%)           0 (0%)         7h46m
  kube-system                 filestore-node-5pf4h                                              20m (1%)      0 (0%)      130Mi (2%)       0 (0%)         7h41m
  kube-system                 fluentbit-gke-5cqdt                                               100m (5%)     0 (0%)      200Mi (3%)       500Mi (8%)     7h41m
  kube-system                 gke-metrics-agent-nckz5                                           3m (0%)       0 (0%)      50Mi (0%)        50Mi (0%)      7h41m
  kube-system                 konnectivity-agent-6d57d4855d-crkdw                               10m (0%)      0 (0%)      30Mi (0%)        125Mi (2%)     7h46m
  kube-system                 kube-dns-b99c7865d-gcgkq                                          260m (13%)    0 (0%)      110Mi (1%)       210Mi (3%)     7h46m
  kube-system                 kube-proxy-gke-your-project-gke-your-project-gke-323c5dd8-m212    100m (5%)     0 (0%)      0 (0%)           0 (0%)         7h41m
  kube-system                 l7-default-backend-7dc577646d-46m8n                               10m (0%)      0 (0%)      20Mi (0%)        0 (0%)         7h46m
  kube-system                 metrics-server-v0.4.5-fb4c49dd6-prcfn                             48m (2%)      143m (7%)   105Mi (1%)       355Mi (5%)     7h46m
  kube-system                 pdcsi-node-gbdgz                                                  10m (0%)      0 (0%)      20Mi (0%)        100Mi (1%)     7h41m
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                   Requests      Limits
  --------                   --------      ------
  cpu                        1561m (80%)   1143m (59%)
  memory                     2713Mi (44%)  3388Mi (56%)
  ephemeral-storage          0 (0%)        0 (0%)
  hugepages-1Gi              0 (0%)        0 (0%)
  hugepages-2Mi              0 (0%)        0 (0%)
  attachable-volumes-gce-pd  0             0
Events:                      <none>


Name:               gke-your-project-gke-your-project-gke-323c5dd8-qbnx
Roles:              <none>
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/instance-type=e2-standard-2
                    beta.kubernetes.io/os=linux
                    cloud.google.com/gke-boot-disk=pd-standard
                    cloud.google.com/gke-container-runtime=containerd
                    cloud.google.com/gke-cpu-scaling-level=2
                    cloud.google.com/gke-max-pods-per-node=110
                    cloud.google.com/gke-nodepool=your-project-gke
                    cloud.google.com/gke-os-distribution=cos
                    cloud.google.com/machine-family=e2
                    env=your-project
                    failure-domain.beta.kubernetes.io/region=us-central1
                    failure-domain.beta.kubernetes.io/zone=us-central1-a
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=gke-your-project-gke-your-project-gke-323c5dd8-qbnx
                    kubernetes.io/os=linux
                    node.kubernetes.io/instance-type=e2-standard-2
                    topology.gke.io/zone=us-central1-a
                    topology.kubernetes.io/region=us-central1
                    topology.kubernetes.io/zone=us-central1-a
Annotations:        container.googleapis.com/instance_id: 9080568676709429075
                    csi.volume.kubernetes.io/nodeid:
                      {"filestore.csi.storage.gke.io":"gke-your-project-gke-your-project-gke-323c5dd8-qbnx","pd.csi.storage.gke.io":"projects/your-project/zones...
                    node.alpha.kubernetes.io/ttl: 0
                    node.gke.io/last-applied-node-labels:
                      cloud.google.com/gke-boot-disk=pd-standard,cloud.google.com/gke-container-runtime=containerd,cloud.google.com/gke-cpu-scaling-level=2,clou...
                    node.gke.io/last-applied-node-taints: 
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Mon, 31 Oct 2022 23:53:27 +0100
Taints:             <none>
Unschedulable:      false
Lease:
  HolderIdentity:  gke-your-project-gke-your-project-gke-323c5dd8-qbnx
  AcquireTime:     <unset>
  RenewTime:       Tue, 01 Nov 2022 07:35:00 +0100
Conditions:
  Type                          Status  LastHeartbeatTime                 LastTransitionTime                Reason                          Message
  ----                          ------  -----------------                 ------------------                ------                          -------
  KernelDeadlock                False   Tue, 01 Nov 2022 07:34:17 +0100   Mon, 31 Oct 2022 23:53:27 +0100   KernelHasNoDeadlock             kernel has no deadlock
  ReadonlyFilesystem            False   Tue, 01 Nov 2022 07:34:17 +0100   Mon, 31 Oct 2022 23:53:27 +0100   FilesystemIsNotReadOnly         Filesystem is not read-only
  CorruptDockerOverlay2         False   Tue, 01 Nov 2022 07:34:17 +0100   Mon, 31 Oct 2022 23:53:27 +0100   NoCorruptDockerOverlay2         docker overlay2 is functioning properly
  FrequentUnregisterNetDevice   False   Tue, 01 Nov 2022 07:34:17 +0100   Mon, 31 Oct 2022 23:53:27 +0100   NoFrequentUnregisterNetDevice   node is functioning properly
  FrequentKubeletRestart        False   Tue, 01 Nov 2022 07:34:17 +0100   Mon, 31 Oct 2022 23:53:27 +0100   NoFrequentKubeletRestart        kubelet is functioning properly
  FrequentDockerRestart         False   Tue, 01 Nov 2022 07:34:17 +0100   Mon, 31 Oct 2022 23:53:27 +0100   NoFrequentDockerRestart         docker is functioning properly
  FrequentContainerdRestart     False   Tue, 01 Nov 2022 07:34:17 +0100   Mon, 31 Oct 2022 23:53:27 +0100   NoFrequentContainerdRestart     containerd is functioning properly
  NetworkUnavailable            False   Mon, 31 Oct 2022 23:53:41 +0100   Mon, 31 Oct 2022 23:53:41 +0100   RouteCreated                    RouteController created a route
  MemoryPressure                False   Tue, 01 Nov 2022 07:32:24 +0100   Mon, 31 Oct 2022 23:53:24 +0100   KubeletHasSufficientMemory      kubelet has sufficient memory available
  DiskPressure                  False   Tue, 01 Nov 2022 07:32:24 +0100   Mon, 31 Oct 2022 23:53:24 +0100   KubeletHasNoDiskPressure        kubelet has no disk pressure
  PIDPressure                   False   Tue, 01 Nov 2022 07:32:24 +0100   Mon, 31 Oct 2022 23:53:24 +0100   KubeletHasSufficientPID         kubelet has sufficient PID available
  Ready                         True    Tue, 01 Nov 2022 07:32:24 +0100   Mon, 31 Oct 2022 23:53:27 +0100   KubeletReady                    kubelet is posting ready status. AppArmor enabled
Addresses:
  InternalIP:   10.10.0.8
  ExternalIP:   34.173.110.182
  InternalDNS:  gke-your-project-gke-your-project-gke-323c5dd8-qbnx.us-central1-a.c.your-project.internal
  Hostname:     gke-your-project-gke-your-project-gke-323c5dd8-qbnx.us-central1-a.c.your-project.internal
Capacity:
  attachable-volumes-gce-pd:  127
  cpu:                        2
  ephemeral-storage:          98831908Ki
  hugepages-1Gi:              0
  hugepages-2Mi:              0
  memory:                     8148592Ki
  pods:                       110
Allocatable:
  attachable-volumes-gce-pd:  127
  cpu:                        1930m
  ephemeral-storage:          47060071478
  hugepages-1Gi:              0
  hugepages-2Mi:              0
  memory:                     6183536Ki
  pods:                       110
System Info:
  Machine ID:                 ef26048425259168d9db4fa77bed25a0
  System UUID:                ef260484-2525-9168-d9db-4fa77bed25a0
  Boot ID:                    2a159b49-845b-4b2d-a22f-41aa2a78ce0f
  Kernel Version:             5.10.133+
  OS Image:                   Container-Optimized OS from Google
  Operating System:           linux
  Architecture:               amd64
  Container Runtime Version:  containerd://1.5.13
  Kubelet Version:            v1.22.12-gke.2300
  Kube-Proxy Version:         v1.22.12-gke.2300
PodCIDR:                      10.44.2.0/24
PodCIDRs:                     10.44.2.0/24
ProviderID:                   gce://your-project/us-central1-a/gke-your-project-gke-your-project-gke-323c5dd8-qbnx
Non-terminated Pods:          (10 in total)
  Namespace                   Name                                                              CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----                                                              ------------  ----------  ---------------  -------------  ---
  default                     elasticsearch-master-0                                            1 (51%)       1 (51%)     2Gi (33%)        2Gi (33%)      22m
  kube-system                 filestore-node-gkhc5                                              20m (1%)      0 (0%)      130Mi (2%)       0 (0%)         7h41m
  kube-system                 fluentbit-gke-2jbgw                                               100m (5%)     0 (0%)      200Mi (3%)       500Mi (8%)     7h41m
  kube-system                 gke-metrics-agent-r2l47                                           3m (0%)       0 (0%)      50Mi (0%)        50Mi (0%)      7h41m
  kube-system                 konnectivity-agent-6d57d4855d-rd9g5                               10m (0%)      0 (0%)      30Mi (0%)        125Mi (2%)     7h46m
  kube-system                 konnectivity-agent-autoscaler-6dfb4f9cfb-jgsxr                    10m (0%)      0 (0%)      10M (0%)         0 (0%)         7h46m
  kube-system                 kube-dns-autoscaler-f4d55555-9jgdm                                20m (1%)      0 (0%)      10Mi (0%)        0 (0%)         7h46m
  kube-system                 kube-dns-b99c7865d-j9lht                                          260m (13%)    0 (0%)      110Mi (1%)       210Mi (3%)     7h46m
  kube-system                 kube-proxy-gke-your-project-gke-your-project-gke-323c5dd8-qbnx    100m (5%)     0 (0%)      0 (0%)           0 (0%)         7h41m
  kube-system                 pdcsi-node-4fln6                                                  10m (0%)      0 (0%)      20Mi (0%)        100Mi (1%)     7h41m
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                   Requests          Limits
  --------                   --------          ------
  cpu                        1533m (79%)       1 (51%)
  memory                     2734200448 (43%)  3033Mi (50%)
  ephemeral-storage          0 (0%)            0 (0%)
  hugepages-1Gi              0 (0%)            0 (0%)
  hugepages-2Mi              0 (0%)            0 (0%)
  attachable-volumes-gce-pd  0                 0
Events:                      <none>


Related

See also

Advertising: