cluster
Displays the cluster details.
Command Mode
Exec
Syntax
show cluster
Usage Guidelines
Use this command to view the cluster details.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Displays the cluster details.
Exec
show cluster
Use this command to view the cluster details.
Displays the current configuration maps.
Exec
show cluster configmaps namespace configmap_name detail
Specify the configuration map name.
Must be a string.
Specify the configmap namespace.
Must be a string.
Use this command to view the current configuration maps.
Displays configmap details.
Exec
cluster configmaps namespace configmap_name details
Use this command to view configmap details.
Connect to and debug K8s pods and containers.
Exec
cluster connect namespace namespace pod-namepod_name containercontainer_name
Specify the node namespace.
Must be a string.
Specify the pod name.
Must be a string.
Specify the container name.
Must be a string.
Use this command to connect to and debug the K8s pods and containers.
Displays the current ingresses.
Exec
show cluster ingresses namespace ingress-name ingress_name host-name host_name
Specify the host name.
Must be a string.
Specify the ingress name.
Must be a string.
Specify the ingress namespace.
Must be a string.
Use this command to view the current ingresses.
Displays ingress details.
Exec
cluster ingresses namespace ingress-name ingress_name host-name host_name details
Use this command to view ingress details.
Configures the current namespace.
Exec
show cluster namespaces namespace smi-application smi_application_name istio-enabled { true | false}
Enables or disables Istio.
Must be one of the following:
false
true
Specify the name of the SMI application.
Must be a string.
Specify the cluster's namespace.
Must be a string.
Use this command to configure the current namespace.
Displays the current nodes in the cluster.
Exec
show cluster nodes node_name status status version version ip ip_address os-image os_image kernel-version kernel_version container-runtime container_runtime
Specify the container runtime.
Must be a string.
Specify the node's IP address.
Must be a string.
Specify the Kernel version.
Must be a string.
Specify the OS image.
Must be a string.
Specify the status of the nodes.
Must be a string.
Specify the K8s version of the nodes.
Must be a string.
Specify the name of the nodes.
Must be a string.
Use this command to view the current nodes in the cluster.
Displays node details.
Exec
cluster nodes node_name detail
Use this command to view node details.
Displays the current persistent volume claims.
Exec
show cluster persistent-volume-claims namespace pvc_name status volume volume capacity capcity storageclass storage_class
Specify the volume capacity.
Must be a string.
Specify the persistent volume class name.
Must be a string.
Specify the status of the persistent volume claims.
Must be a string.
Specify the storage class.
Must be a string.
Specify the volume.
Must be a string.
Specify the namespace of the volume persistent claims.
Must be a string.
Use this command to view the current persistent volume claims.
Displays the current presistent volume details.
Exec
show cluster persistent-volumes pvc_name status
Specify the persistent volume class (PVC) name.
Must be a string.
Specify the status of the persistent volume.
Must be a string.
Use this command to view details of the current persistent volumes.
Displays the current pod details.
Exec
show cluster pods namespace pod-name pod_name ready readiness status restarts start-time start_time
Specify the name of the pod.
Must be a string.
Specify the container readiness.
Must be a string.
Restarts the pods.
Must be an integer.
Specify the start time.
Must be a string.
Specify the status of the pods.
Must be a string.
Specify the namespace of the cluster services.
Must be a string.
Use this command to view the current pod details.
Deletes pods.
Exec
cluster pods namespace pod_name delete
Use this command to delete pods.
Displays pod details.
Exec
cluster pods namespace pod_name detail
Use this command to view pod details.
Displays the current services in the cluster.
Exec
show cluster services namespace service-name service_name cluster-ip cluster_ip external-ips external_ips
Specify the IP address of the cluster.
Must be a string.
Specify the etxernal IPs.
Must be a string.
Specify the service name.
Must be a string.
Specify the namespace of the cluster services.
Must be a string.
Use this command to view the current services in the cluster.
Displays cluster service details.
Exec
cluster services namespace service_name detail
Use this command to view cluster service details.