k8s-impact-show

The Kubernetes visibility feature allows you to proactively determine the impact on containerized applications during switch outages or server replacements. Use this command to view the impact on a Kubernetes deployment, Daemonset, service, or Pods in the occasion of a switch or host replacement. 

Syntax   k8s-impact-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 statistic collection.

interval duration: #d#h#m#s

The interval between statistic 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.

host host-string

The host or node for which the impact needs to be checked.

switch fabric-node name

The switch for which the impact needs to be checked.

namespace namespace-string

The namespace.

deployment deployment-string

The Kubernetes deployment name.

daemonset daemonset-string

The Kubernetes daemonset name.

service service-string

The Kubernetes service name.

pod pod-string

The Kubernetes pod.

impact unknown|none|partial|full

The impact on the pod when node or switch is replaced.


Defaults   None.

Access   CLI

History   

Version 7.0.0

Command introduced.

Usage   Use this command to display the impact on a Kubernetes deployment, Daemonset, service, or Pods in the occasion of a switch or host replacement. 

Examples  Use the following syntax to display the impact on a Kubernetes deployment, Daemonset, service, or Pods in the occasion of a switch or host replacement. 

CLI (network-admin@switch) > k8s-impact-show host server-test-94 deployment petstore


cluster-name namespace deployment pod                      impact  connections

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

arista       default   petstore   petstore-9d499b76f-psv8w none    servertest-103:enp1s0f0 -- 16:auriga-colo-1 

arista       default   petstore   petstore-9d499b76f-hhmg4 full    servertest-94:enp1s0f0  -- 43:auriga-colo-1        

                                                                   servertest-94:enp1s0f1  -- 44:auriga-colo-1 

arista       default   petstore   petstore-9d499b76f-qj58s full    servertest-94:enp1s0f0  -- 43:auriga-colo-1        

                                                                   servertest-94:enp1s0f0  -- 43:auriga-colo-1 

arista       default   petstore   petstore-9d499b76f-649g6 none    servertest-103:enp1s0f0 -- 16:auriga-colo-1

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south