k8s-connectivity-show
The Kubernetes visibility feature enables you to locate where Kubernetes Pods for specific applications are connected to the fabric to resolve any connectivity or performance issues. This command is used to display Kubernetes connectivity information.
Syntax k8s-connectivity-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. |
namespace namespace-string |
The namespace. |
deployment deployment-string |
The Kubernetes deployment. |
daemonset daemonset-string |
The Kubernetes daemonset name. |
service service-string |
The Kubernetes service name. |
pod pod-string |
Name of the pod. |
node node-string |
The Kubernetes cluster node name. |
Defaults None.
Access CLI
History
Version 7.0.0 |
Command introduced. |
Usage Use this command to display Kubernetes connectivity information.
Examples Use the following syntax to display the Kubernetes connectivity information
CLI (network-admin@switch) > k8s-connectivity-show
cluster-name namespace deployment pod connections
------------ --------- ---------- ------------------------ -------------------------------------------
arista default petstore petstore-9d499b76f-hhmg4 server-test-94:enp1s0f0 -- 43:aurigacolo-1
arista default petstore petstore-9d499b76f-psv8w server-test-103:enp1s0f0 -- 16:aurigacolo-1 server-test-94:enp1s0f1 -- 44:aurigacolo-1
arista default petstore petstore-9d499b76f-qj58s server-test-94:enp1s0f0 -- 43:aurigacolo-1 server-test-94:enp1s0f1 -- 44:aurigacolo-1
arista default petstore petstore-9d499b76f-649g6 server-test-103:enp1s0f0 -- 16:aurigacolo-1