k8s-daemonset-show

A DaemonSet manages groups of replicated Pods, and ensures that all (or some) nodes run a copy of a Pod. DaemonSets adds Pods to nodes that are added to a cluster, and removes the Pods from nodes which are removed from the cluster. Deleting a DaemonSet also deletes the Pods that it created. This command is used to display Kubernetes daemonset information.

Syntax   k8s-daemonset-show


cluster-name cluster-name-string

Name of the Kubernetes cluster.

Specify one or more of the following options:


start-time date/time: yyyy-mm-ddTHH:mm:ss

The start time of statistics collection.

end-time date/time: yyyy-mm-ddTHH:mm:ss

The end time of statistics collection.

duration duration: #d#h#m#s

The duration of statistics collection.

interval duration: #d#h#m#s

The interval between statistics collection.

since-start

Statistics collected since start time.

older-than duration: #d#h#m#s

Display statistics older than the specified duration.

within-last duration: #d#h#m#s

Display statistics within the last specified duration.

name name-string

Name of the daemonset.

namespace namespace-string

Name of the namespace.

desired-cnt desired-cnt-number

The desired number of Pods.

ready-cnt ready-cnt-number

The number of Pods which are ready.

selector selector-string

The label selector for the Pods. 

action none|add|remove|update

The last action performed.


Defaults   None.

Access   CLI

History   

Version 7.0.0

Command introduced.

Usage   Use this command to display Kubernetes daemonset information.

Examples  Use the following syntax to display Kubernetes daemonset information.

CLI (network-admin@switch) > k8s-daemonset-show

cluster-name name                  namespace      desired-cnt ready-cnt last-changed

------------ --------------------- -------------- ----------- --------- ------------

k8s01        speaker               metallb-system 6           6         23:24:49 

k8s01        csi-cephfsplugin      rook-ceph      6           6         23:24:50 

k8s01        csi-rbdplugin         rook-ceph      6           6         23:24:50 

k8s01        calico-node           kube-system    6           6         23:24:50 

k8s01        fluentd-elasticsearch kube-system    6           6         23:24:50 

k8s01        kube-proxy            kube-system    6           6         23:24:50 

k8s01        nodelocaldns          kube-system    6           6         23:24:50 

k8s02        fluentd-elasticsearch kube-system    6           6         23:25:22 

k8s02        kube-flannel-ds       kube-system    6           6         23:25:22 

k8s02        kube-proxy            kube-system    6           6         23:25:22

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south