k8s-ingress-show

Kubernetes Ingress manages the external access to services within a cluster. Ingress exposes HTTP, and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource. An Ingress can give Services externally reachable URLs, load balance traffic, terminate SSL/TLS, and offer name-based virtual hosting. This command is used to display Kubernetes Ingress information.

Syntax   k8s-ingress-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.

name name-string

Name of the endpoint.

namespace namespace-string

The namespace.

host host-string

Specify the hostname of the ingress.

path path-string

Path for the ingress rule.

service-name service-name-string

The backend service name.

service-port service-port-string

The backend service port.

resource-api-group resource-api-group-string

The backend resource API group

resource-kind resource-kind-string

The backend resource kind.

resource-name resource-name-string

The backend resource name.

action none|add|remove|update

The last action.


Defaults   None.

Access   CLI

History   

Version 7.0.0

Command introduced.

Usage   Use this command to display Kubernetes Ingress information.

Examples  Use the following syntax to display Kubernetes ingress information.

CLI (network-admin@switch) > k8s-ingress-show

cluster-name name                      namespace host             path service-name service-port last-changed

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

arista       petstore-ingress          default   gloo.example.com /.*  petstore     8080         07-12,23:25:22 

arista       name-virtual-host-ingress default   foo.bar.com      /    service1     80           07-12,23:25:22 

arista       name-virtual-host-ingress default   bar.foo.com      /    service2     80           07-12,23:25:22

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south