kubectl describe ingress

From wikieduonline
Jump to navigation Jump to search

kubectl describe ingress
kubectl describe ingress -A
kubectl describe ingress youringressname
kubectl describe ingress -n yournamespace youringressname
kubectl describe ing grafana -n grafana

Examples[edit]

kubectl describe ingress  your-ingress -n your_namespace                                                         
Name:             your-ingress
Labels:           <none>
Namespace:        your_namespace 
Address:          11111111111074e.elb.eu-west- 1.amazonaws.com
Ingress Class:    nginx
Default backend:  <default>
TLS:
  yoursubdomain terminates yoursubdomain.example.com
Rules:
  Host                        Path  Backends
  ----                        ----  --------
  yoursubdomain.example.com 
                              /   your-clusterip:8000 (100.100.100.41:8000)
Annotations:                  field.cattle.io/publicEndpoints:
                                [{"addresses": 
[""],"port":443,"protocol":"HTTPS","serviceName":"yournamespace:yourname- clusterip","ingressName":"yourname:your...
Events:                       <none>


Grafana[edit]

kubectl describe ingress mygrafanaingress
Name:             mygrafanaingress
Labels:           app.kubernetes.io/instance=mygrafanaingress
                  app.kubernetes.io/managed-by=Helm
                  app.kubernetes.io/name=mygrafanaingress
                  app.kubernetes.io/version=8.5.3
                  helm.sh/chart=grafana-6.29.4
Namespace:        default
Address:
Ingress Class:    <none>
Default backend:  <default>
Rules:
  Host                 Path  Backends
  ----                 ----  --------
  chart-example.local
                       /   grafana:80 (10.0.3.184:3000)
Annotations:           meta.helm.sh/release-name: grafana
                       meta.helm.sh/release-namespace: default
Events:                <none>


cm-acme-http-solver[edit]

kubectl describe ingress cm-acme-http-solver-9jlk8
Name:             cm-acme-http-solver-9jlk8
Labels:           acme.cert-manager.io/http-domain=1755121853
                  acme.cert-manager.io/http-token=944836229
                  acme.cert-manager.io/http01-solver=true
Namespace:        your-namespace
Address:
Ingress Class:    <none>
Default backend:  <default>
Rules:
  Host                     Path  Backends
  ----                     ----  --------
  yourapi.yourdomain.com
                           /.well-known/acme-challenge/-ET17Pzls5BGGgTi4mvV_oxsSGl360vOetzOsDH06ts   cm-acme-http-solver-m5j4q:8089  (192.168.58.46:8089)
Annotations:               kubernetes.io/ingress.class: nginx
                           nginx.ingress.kubernetes.io/whitelist-source-range: 0.0.0.0/0,::/0
Events:                    <none>


Mediawiki[edit]

kubectl describe ing mywiki
Name:             mywiki
Labels:           <none>
Namespace:        default
Address:          192.168.49.2
Ingress Class:    nginx
Default backend:  <default>
Rules:
  Host        Path  Backends
  ----        ----  --------
  *
              /   mywiki-mediawiki:80 (10.244.0.71:8080)
Annotations:  nginx.ingress.kubernetes.io/rewrite-target: /
Events:
  Type    Reason  Age                    From                      Message
  ----    ------  ----                   ----                      -------
  Normal  Sync    2m34s (x2 over 2m58s)  nginx-ingress-controller  Scheduled for sync

No resources found in default namespace.[edit]

kubectl describe ingress
No resources found in default namespace.

Related[edit]

See also[edit]

Advertising: