Difference between revisions of "Kubectl describe ingress"
Jump to navigation
Jump to search
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | [[kubectl describe]] [[Kubernetes: Ingress controllers|ingress]] | |
− | [[kubectl describe]] ingress | + | [[kubectl describe]] [[Kubernetes: Ingress controllers|ingress]] [[-A]] |
− | [[ | + | [[kubectl describe]] ingress youringressname |
+ | [[kubectl describe]] ingress -n yournamespace youringressname | ||
+ | |||
+ | [[kubectl describe ing grafana -n grafana]] | ||
+ | |||
+ | == Examples == | ||
+ | |||
+ | 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 === | ||
kubectl describe ingress mygrafanaingress | kubectl describe ingress mygrafanaingress | ||
Name: mygrafanaingress | Name: mygrafanaingress | ||
Line 12: | Line 38: | ||
helm.sh/chart=grafana-6.29.4 | helm.sh/chart=grafana-6.29.4 | ||
Namespace: default | Namespace: default | ||
− | Address: | + | [[Address:]] |
[[Ingress Class]]: <none> | [[Ingress Class]]: <none> | ||
Default backend: <default> | Default backend: <default> | ||
Line 25: | Line 51: | ||
− | + | === [[cm-acme-http-solver]] === | |
− | + | kubectl describe ingress [[cm-acme-http-solver]]-9jlk8 | |
Name: cm-acme-http-solver-9jlk8 | Name: cm-acme-http-solver-9jlk8 | ||
Labels: acme.cert-manager.io/http-domain=1755121853 | Labels: acme.cert-manager.io/http-domain=1755121853 | ||
Line 45: | Line 71: | ||
+ | === [[Mediawiki]] === | ||
+ | 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.]] == | ||
+ | [[kubectl describe]] ingress | ||
+ | [[No resources found in default namespace.]] | ||
== Related == | == Related == | ||
* <code>[[kubectl get ingress]]</code> | * <code>[[kubectl get ingress]]</code> | ||
* <code>[[kubectl get ingress --show-labels]]</code> | * <code>[[kubectl get ingress --show-labels]]</code> | ||
− | + | * <code>[[kubectl apply -f ingress.yaml]]</code> | |
+ | * [[SuccessfullyReconciled]] | ||
+ | * [[ingressClassName]] | ||
+ | * [[All hosts are taken by other resources]] | ||
== See also == | == See also == | ||
+ | * {{kind: Ingress}} | ||
* {{kubectl ingress}} | * {{kubectl ingress}} | ||
− | |||
* {{Ingress}} | * {{Ingress}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 06:37, 23 July 2024
kubectl describe ingress kubectl describe ingress -A kubectl describe ingress youringressname kubectl describe ingress -n yournamespace youringressname
kubectl describe ing grafana -n grafana
Contents
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]
kubectl get ingress
kubectl get ingress --show-labels
kubectl apply -f ingress.yaml
- SuccessfullyReconciled
- ingressClassName
- All hosts are taken by other resources
See also[edit]
kind: Ingress, nginx.ingress.kubernetes.io, networking.k8s.io/[v1Beta,v1 ], extensions/v1beta1, ingress.spec.rules, kubectl apply -f ingress.yaml, spec.tls, ingressClassName
kubectl create ingress | kubectl get ingress
,kubectl describe ingress
, Kong, Kubernetes Gateway API, kubectl apply -f ingress.yaml- Ingress controllers, NGINX Ingress Controller,
minikube addons enable ingress
,kubectl get ingress, kubectl get ingressclass, kubectl describe ingress
,Ingress:
, Ingress API, AWS Load Balancer Controller, Envoy Proxy, GKE Ingress, Kubernetes Gateway API,ingress.k8s.aws, ingresses.networking.k8s.io
,kind: Ingress
: (tls:, hosts:
),SuccessfullyReconciled
Advertising: