Difference between revisions of "Kubectl describe daemonset"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[kubectl describe ds -n kube-system aws-node]]
 
  [[kubectl describe ds -n kube-system aws-node]]
  
<pre>
+
Name:          [[aws-node]]
+
Name:          [[aws-node]]
Selector:      k8s-app=aws-node
+
Selector:      k8s-app=aws-node
Node-Selector:  <none>
+
Node-Selector:  <none>
Labels:        app.kubernetes.io/instance=aws-vpc-cni
+
Labels:        app.kubernetes.io/instance=aws-vpc-cni
                app.kubernetes.io/managed-by=Helm
+
                app.kubernetes.io/managed-by=Helm
                app.kubernetes.io/name=aws-node
+
                app.kubernetes.io/name=aws-node
                app.kubernetes.io/version=v1.16.3
+
                app.kubernetes.io/version=v1.16.3
                helm.sh/chart=aws-vpc-cni-1.16.3
+
                helm.sh/chart=aws-vpc-cni-1.16.3
                k8s-app=aws-node
+
                k8s-app=aws-node
Annotations:    deprecated.daemonset.template.generation: 7
+
Annotations:    deprecated.daemonset.template.generation: 7
                field.cattle.io/publicEndpoints:
+
                field.cattle.io/publicEndpoints:
                  [{"nodeName":":ip-10-226-24-219.eu-west-3.compute.internal","addresses":["10.226.24.219"],"port":61678,"protocol":"TCP","podName":"kube-sy...
+
                  [{"nodeName":":ip-10-226-24-219.eu-west-3.compute.internal","addresses":  
Desired Number of Nodes Scheduled: 5
+
["10.226.24.219"],"port":61678,"protocol":"TCP","podName":"kube-sy...
Current Number of Nodes Scheduled: 5
+
Desired Number of Nodes Scheduled: 5
Number of Nodes Scheduled with Up-to-date Pods: 5
+
Current Number of Nodes Scheduled: 5
Number of Nodes Scheduled with Available Pods: 4
+
Number of Nodes Scheduled with Up-to-date Pods: 5
Number of Nodes Misscheduled: 0
+
Number of Nodes Scheduled with Available Pods: 4
Pods Status:  4 Running / 1 Waiting / 0 Succeeded / 0 Failed
+
Number of Nodes Misscheduled: 0
Pod Template:
+
Pods Status:  4 Running / 1 Waiting / 0 Succeeded / 0 Failed
  Labels:          app.kubernetes.io/instance=aws-vpc-cni
+
Pod Template:
                    app.kubernetes.io/name=aws-node
+
  Labels:          app.kubernetes.io/instance=aws-vpc-cni
                    k8s-app=aws-node
+
                    app.kubernetes.io/name=aws-node
  Service Account:  aws-node
+
                    k8s-app=aws-node
  Init Containers:
+
  Service Account:  aws-node
  aws-vpc-cni-init:
+
  Init Containers:
    Image:      1234567890.dkr.ecr.eu-west-3.amazonaws.com/amazon-k8s-cni-init:v1.16.3-eksbuild.2
+
    aws-vpc-cni-init:
    Port:      <none>
+
    Image:      1234567890.dkr.ecr.eu-west-3.amazonaws.com/amazon-k8s-cni-init:v1.16.3-eksbuild.2
    Host Port:  <none>
+
    Port:      <none>
    Requests:
+
    Host Port:  <none>
      cpu:  25m
+
    Requests:
    Environment:
+
      cpu:  25m
      DISABLE_TCP_EARLY_DEMUX:  false
+
    Environment:
      ENABLE_IPv6:              false
+
      DISABLE_TCP_EARLY_DEMUX:  false
    Mounts:
+
      ENABLE_IPv6:              false
      /host/opt/cni/bin from cni-bin-dir (rw)
+
    Mounts:
  Containers:
+
      /host/opt/cni/bin from cni-bin-dir (rw)
  aws-node:
+
  Containers:
    Image:      1234567890.dkr.ecr.eu-west-3.amazonaws.com/amazon-k8s-cni:v1.16.3-eksbuild.2
+
    aws-node:
    Port:      61678/TCP
+
    Image:      1234567890.dkr.ecr.eu-west-3.amazonaws.com/amazon-k8s-cni:v1.16.3-eksbuild.2
    Host Port:  61678/TCP
+
    Port:      61678/TCP
    Requests:
+
    Host Port:  61678/TCP
      cpu:      25m
+
    Requests:
    Liveness:  exec [/app/grpc-health-probe -addr=:50051 -connect-timeout=5s -rpc-timeout=5s] delay=60s timeout=10s period=10s #success=1 #failure=3
+
      cpu:      25m
    Readiness:  exec [/app/grpc-health-probe -addr=:50051 -connect-timeout=5s -rpc-timeout=5s] delay=1s timeout=10s period=10s #success=1 #failure=3
+
    Liveness:  exec [/app/grpc-health-probe -addr=:50051 -connect-timeout=5s -rpc-timeout=5s] delay=60s timeout=10s period=10s #  
    Environment:
+
success=1 #failure=3
      ADDITIONAL_ENI_TAGS:                    {}
+
    Readiness:  exec [/app/grpc-health-probe -addr=:50051 -connect-timeout=5s -rpc-timeout=5s] delay=1s timeout=10s period=10s  
      ANNOTATE_POD_IP:                        false
+
#success=1 #failure=3
      AWS_VPC_CNI_NODE_PORT_SUPPORT:          true
+
    Environment:
      AWS_VPC_ENI_MTU:                        9001
+
      ADDITIONAL_ENI_TAGS:                    {}
      AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER:    false
+
      ANNOTATE_POD_IP:                        false
      AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG:    true
+
      AWS_VPC_CNI_NODE_PORT_SUPPORT:          true
      AWS_VPC_K8S_CNI_EXTERNALSNAT:          false
+
      AWS_VPC_ENI_MTU:                        9001
      AWS_VPC_K8S_CNI_LOGLEVEL:              DEBUG
+
      AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER:    false
      AWS_VPC_K8S_CNI_LOG_FILE:              /host/var/log/aws-routed-eni/ipamd.log
+
      AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG:    true
      AWS_VPC_K8S_CNI_RANDOMIZESNAT:          prng
+
      AWS_VPC_K8S_CNI_EXTERNALSNAT:          false
      AWS_VPC_K8S_CNI_VETHPREFIX:            eni
+
      AWS_VPC_K8S_CNI_LOGLEVEL:              DEBUG
      AWS_VPC_K8S_PLUGIN_LOG_FILE:            /var/log/aws-routed-eni/plugin.log
+
      AWS_VPC_K8S_CNI_LOG_FILE:              /host/var/log/aws-routed-eni/ipamd.log
      AWS_VPC_K8S_PLUGIN_LOG_LEVEL:          DEBUG
+
      AWS_VPC_K8S_CNI_RANDOMIZESNAT:          prng
      CLUSTER_NAME:                          YOUR-NAME
+
      AWS_VPC_K8S_CNI_VETHPREFIX:            eni
      DISABLE_INTROSPECTION:                  false
+
      AWS_VPC_K8S_PLUGIN_LOG_FILE:            /var/log/aws-routed-eni/plugin.log
      DISABLE_METRICS:                        false
+
      AWS_VPC_K8S_PLUGIN_LOG_LEVEL:          DEBUG
      DISABLE_NETWORK_RESOURCE_PROVISIONING:  false
+
      CLUSTER_NAME:                          YOUR-NAME
      ENABLE_IPv4:                            true
+
      DISABLE_INTROSPECTION:                  false
      ENABLE_IPv6:                            false
+
      DISABLE_METRICS:                        false
      ENABLE_POD_ENI:                        false
+
      DISABLE_NETWORK_RESOURCE_PROVISIONING:  false
      ENABLE_PREFIX_DELEGATION:              true
+
      ENABLE_IPv4:                            true
      ENI_CONFIG_LABEL_DEF:                  topology.kubernetes.io/zone
+
      ENABLE_IPv6:                            false
      VPC_CNI_VERSION:                        v1.16.3
+
      ENABLE_POD_ENI:                        false
      VPC_ID:                                vpc-123123213213123
+
      ENABLE_PREFIX_DELEGATION:              true
      WARM_ENI_TARGET:                        1
+
      ENI_CONFIG_LABEL_DEF:                  topology.kubernetes.io/zone
      WARM_PREFIX_TARGET:                    1
+
      VPC_CNI_VERSION:                        v1.16.3
      MY_NODE_NAME:                            (v1:spec.nodeName)
+
      VPC_ID:                                vpc-123123213213123
      MY_POD_NAME:                            (v1:metadata.name)
+
      WARM_ENI_TARGET:                        1
 +
      WARM_PREFIX_TARGET:                    1
 +
      MY_NODE_NAME:                            (v1:spec.nodeName)
 +
      MY_POD_NAME:                            (v1:metadata.name)
 
     Mounts:
 
     Mounts:
 
       /host/etc/cni/net.d from cni-net-dir (rw)
 
       /host/etc/cni/net.d from cni-net-dir (rw)

Revision as of 11:00, 28 February 2024

kubectl describe ds -n kube-system aws-node


Name:           aws-node
Selector:       k8s-app=aws-node
Node-Selector:  <none>
Labels:         app.kubernetes.io/instance=aws-vpc-cni
                app.kubernetes.io/managed-by=Helm
                app.kubernetes.io/name=aws-node
                app.kubernetes.io/version=v1.16.3
                helm.sh/chart=aws-vpc-cni-1.16.3
                k8s-app=aws-node
Annotations:    deprecated.daemonset.template.generation: 7
                field.cattle.io/publicEndpoints:
                  [{"nodeName":":ip-10-226-24-219.eu-west-3.compute.internal","addresses": 
["10.226.24.219"],"port":61678,"protocol":"TCP","podName":"kube-sy...
Desired Number of Nodes Scheduled: 5
Current Number of Nodes Scheduled: 5
Number of Nodes Scheduled with Up-to-date Pods: 5
Number of Nodes Scheduled with Available Pods: 4
Number of Nodes Misscheduled: 0
Pods Status:  4 Running / 1 Waiting / 0 Succeeded / 0 Failed
Pod Template:
  Labels:           app.kubernetes.io/instance=aws-vpc-cni
                    app.kubernetes.io/name=aws-node
                    k8s-app=aws-node
  Service Account:  aws-node
  Init Containers:
   aws-vpc-cni-init:
    Image:      1234567890.dkr.ecr.eu-west-3.amazonaws.com/amazon-k8s-cni-init:v1.16.3-eksbuild.2
    Port:       <none>
    Host Port:  <none>
    Requests:
      cpu:  25m
    Environment:
      DISABLE_TCP_EARLY_DEMUX:  false
      ENABLE_IPv6:              false
    Mounts:
      /host/opt/cni/bin from cni-bin-dir (rw)
  Containers:
   aws-node:
    Image:      1234567890.dkr.ecr.eu-west-3.amazonaws.com/amazon-k8s-cni:v1.16.3-eksbuild.2
    Port:       61678/TCP
    Host Port:  61678/TCP
    Requests:
      cpu:      25m
    Liveness:   exec [/app/grpc-health-probe -addr=:50051 -connect-timeout=5s -rpc-timeout=5s] delay=60s timeout=10s period=10s # 
success=1 #failure=3
    Readiness:  exec [/app/grpc-health-probe -addr=:50051 -connect-timeout=5s -rpc-timeout=5s] delay=1s timeout=10s period=10s 
#success=1 #failure=3
    Environment:
      ADDITIONAL_ENI_TAGS:                    {}
      ANNOTATE_POD_IP:                        false
      AWS_VPC_CNI_NODE_PORT_SUPPORT:          true
      AWS_VPC_ENI_MTU:                        9001
      AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER:     false
      AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG:     true
      AWS_VPC_K8S_CNI_EXTERNALSNAT:           false
      AWS_VPC_K8S_CNI_LOGLEVEL:               DEBUG
      AWS_VPC_K8S_CNI_LOG_FILE:               /host/var/log/aws-routed-eni/ipamd.log
      AWS_VPC_K8S_CNI_RANDOMIZESNAT:          prng
      AWS_VPC_K8S_CNI_VETHPREFIX:             eni
      AWS_VPC_K8S_PLUGIN_LOG_FILE:            /var/log/aws-routed-eni/plugin.log
      AWS_VPC_K8S_PLUGIN_LOG_LEVEL:           DEBUG
      CLUSTER_NAME:                           YOUR-NAME
      DISABLE_INTROSPECTION:                  false
      DISABLE_METRICS:                        false
      DISABLE_NETWORK_RESOURCE_PROVISIONING:  false
      ENABLE_IPv4:                            true
      ENABLE_IPv6:                            false
      ENABLE_POD_ENI:                         false
      ENABLE_PREFIX_DELEGATION:               true
      ENI_CONFIG_LABEL_DEF:                   topology.kubernetes.io/zone
      VPC_CNI_VERSION:                        v1.16.3
      VPC_ID:                                 vpc-123123213213123
      WARM_ENI_TARGET:                        1
      WARM_PREFIX_TARGET:                     1
      MY_NODE_NAME:                            (v1:spec.nodeName)
      MY_POD_NAME:                             (v1:metadata.name)
   Mounts:
     /host/etc/cni/net.d from cni-net-dir (rw)
     /host/opt/cni/bin from cni-bin-dir (rw)
     /host/var/log/aws-routed-eni from log-dir (rw)
     /run/xtables.lock from xtables-lock (rw)
     /var/run/aws-node from run-dir (rw)
     /var/run/dockershim.sock from dockershim (rw)
  aws-eks-nodeagent:
   Image:      602401143452.dkr.ecr.eu-west-3.amazonaws.com/amazon/aws-network-policy-agent:v1.0.8-eksbuild.1
   Port:       <none>
   Host Port:  <none>
   Args:
     --enable-ipv6=false
     --enable-network-policy=false
     --enable-cloudwatch-logs=false
     --enable-policy-event-logs=false
     --metrics-bind-addr=:8162
     --health-probe-bind-addr=:8163
     --conntrack-cache-cleanup-period=300
   Requests:
     cpu:  25m
   Environment:
     MY_NODE_NAME:   (v1:spec.nodeName)
   Mounts:
     /host/opt/cni/bin from cni-bin-dir (rw)
     /sys/fs/bpf from bpf-pin-path (rw)
     /var/log/aws-routed-eni from log-dir (rw)
     /var/run/aws-node from run-dir (rw)
 Volumes:
  bpf-pin-path:
   Type:          HostPath (bare host directory volume)
   Path:          /sys/fs/bpf
   HostPathType:  
  cni-bin-dir:
   Type:          HostPath (bare host directory volume)
   Path:          /opt/cni/bin
   HostPathType:  
  cni-net-dir:
   Type:          HostPath (bare host directory volume)
   Path:          /etc/cni/net.d
   HostPathType:  
  dockershim:
   Type:          HostPath (bare host directory volume)
   Path:          /var/run/dockershim.sock
   HostPathType:  
  log-dir:
   Type:          HostPath (bare host directory volume)
   Path:          /var/log/aws-routed-eni
   HostPathType:  DirectoryOrCreate
  run-dir:
   Type:          HostPath (bare host directory volume)
   Path:          /var/run/aws-node
   HostPathType:  DirectoryOrCreate
  xtables-lock:
   Type:               HostPath (bare host directory volume)
   Path:               /run/xtables.lock
   HostPathType:       
 Priority Class Name:  system-node-critical

Events:

 Type    Reason            Age   From                  Message
 ----    ------            ----  ----                  -------
 Normal  SuccessfulCreate  53m   daemonset-controller  Created pod: aws-node-123456


See also

Advertising: