k8s-connection-show

This command is used to display the connection to the Kubernetes API server.

Syntax   k8s-connection-show

cluster-name cluster-name-string

Name of the Kubernetes cluster.

kube-config kube-config-string 

The absolute path to the kube config file.

rest-user user name        

The username for vRest access on switch.

enable|disable

Status of the connection to Kubernetes API server.

track-history|no-track-history

Enable or disable Kubernetes cluster history tracking.

disk-space disk-space-number

The disk-space allocated for history (including rotated log files).

create-vport|no-create-vport

Enable or disable vPort creation for Pod traffic.

overlay-vxlan-analytics|no-overlay-vxlan-analytics

Enable or disable pod traffic analytics.

location location-number 

Location where the connection is running.

connection-error connection-error-string

Kubernetes connection error.

k8s-vlan 0..4095

VLAN used by k8s for pod vport creation.

Defaults   None.

Access   CLI

History   

Version 7.0.0

Command introduced.

Usage   Use this command to display the connection to the Kubernetes API server.

Examples  Use the following syntax to display the connection to the Kubernetes API server.

CLI (network-admin@switch) > k8s-connection-show format all layout vertical 

cluster-name:            k8s01

kube-config:             /root/.kube/config 

rest-user:               network-admin

enable:                  yes 

track-history:           yes 

disk-space:              50M

create-vport:            yes 

overlay-vxlan-analytics: no 

location:                1262261009

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south