k8s-trace-paths

You can inspect all the paths that Kubernetes Pods or Kubernetes nodes use to communicate with each other across the fabric. This command is used to specify the source, and destination to view the available paths between them.

Syntax   k8s-trace-paths 

src-pod src-pod-string

Name of the Kubernetes source pod.

dest-pod dest-pod-string

Name of the Kubernetes destination pod.

src-node src-node-string

Name of the Kubernetes source node.

dest-node dest-node-string

Name of the Kubernetes destination node.


Defaults   None.

Access   CLI

History   

Version 7.0.0

Command introduced.

Usage   Use this command to display the available paths between two Kubernetes pods or nodes.

Examples  Use the following syntax to display the available paths between two Kubernetes pods or nodes.

CLI (network-admin@switch) > k8s-trace-paths src-pod petstore dst-pod ingress-proxy 


server-test-94:enp1s0f0 -- swp1:Leaf1:swp2 -- swp3:spine1:swp4 -- swp5:Leaf3:swp6 -enp1s0f0:server-test-103 

server-test-94:enp1s0f0 -- swp1:Leaf1:swp2 -- swp3:spine2:swp4 -- swp5:Leaf3:swp6 -enp1s0f0:server-test-103 

server-test-94:enp1s0f0 -- swp1:Leaf1:swp2 -- swp3:spine1:swp4 -- swp5:Leaf4:swp6 -enp1s0f0:server-test-103

server-test-94:enp1s0f0 -- swp1:Leaf1:swp2 -- swp3:spine1:swp4 -- swp5:Leaf3:swp7 -swp7:Leaf4:swp6--enp1s0f0:server-test-103

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south