Difference between revisions of "Kubectl get ingress"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
  [[kubectl get]] [[ingress]]
 
  [[kubectl get]] [[ingress]]
 
  No resources found in [[default namespace]].
 
  No resources found in [[default namespace]].
 +
 +
NAMESPACE  NAME      CLASS  HOSTS        ADDRESS                                            PORTS  AGE
 +
grafana    grafana  nginx  example.com  afxxxxxx0.us-east-1.elb.amazonaws.com
  
 
  [[kubectl get ingress -A]]
 
  [[kubectl get ingress -A]]

Revision as of 12:20, 13 February 2024

kubectl get ingress
kubectl get ing
kubectl get ingress -A


Examples

kubectl get ingress
No resources found in default namespace.
NAMESPACE   NAME      CLASS   HOSTS         ADDRESS                                            PORTS   AGE
grafana     grafana   nginx   example.com   afxxxxxx0.us-east-1.elb.amazonaws.com
kubectl get ingress -A
NAMESPACE   NAME      CLASS    HOSTS                 ADDRESS   PORTS   AGE
default     grafana   <none>   chart-example.local             80      13m
kubectl get ingress -A
No resources found
kubectl get ingress
NAME      CLASS    HOSTS                 ADDRESS   PORTS   AGE
grafana   <none>   chart-example.local             80      5m35s
kubectl get ingress
NAME            CLASS    HOSTS       ADDRESS   PORTS   AGE
your-elb-name   alb  *           your-name.eu-central-1.alb.amazon...     80      5m35s


NAMESPACE              NAME                                     CLASS    HOSTS                                                                           ADDRESS                                                                       PORTS     AGE
yournamespace          yourexamp         nginx    www.example.com                                                                  a9945d18.elb.eu-west-1.amazonaws.com   80, 443   28d
NAME                        CLASS    HOSTS                                                                ADDRESS   PORTS     AGE
cm-acme-http-solver-9jlk7   <none>   your-subdomain.your-domain.com                                                    80        44h
yourapp-prod-ingress            <none>   your-subdomain2.your-domain.com.co,your-subdomain3.your-domain.com + 1 more...      80, 443   44h


kubectl get ingress -A
No resources found
kubectl get ingress --field-selector foo.bar=baz
kubectl get ingress --show-labels

Related

See also

Advertising: