Difference between revisions of "Kubectl get ingress"
Jump to navigation
Jump to search
(54 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | |||
+ | kubectl get ingress | ||
+ | [[kubectl get]] [[ing]] | ||
+ | [[kubectl get ingress -A]] | ||
+ | |||
+ | <code>[[kubectl get ingressclass]]</code> | ||
+ | * [[CLASS]]: <code><none>, [[nginx]], [[alb]]</code> | ||
+ | * <code>[[helm install grafana]]</code>: <code>[[ingress.ingressClassName]]</code> | ||
+ | |||
+ | == Examples == | ||
[[kubectl get]] [[ingress]] | [[kubectl get]] [[ingress]] | ||
− | No resources found in default namespace. | + | No resources found in [[default namespace]]. |
+ | |||
+ | [[kubectl get ingress -n grafana]] | ||
+ | NAMESPACE NAME [[CLASS]] HOSTS ADDRESS PORTS AGE | ||
+ | grafana grafana nginx example.com afxxxxxx0.us-east-1.elb.amazonaws.com 80 22h | ||
+ | |||
+ | [[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 [[AWS Application Load Balancer (ALB)|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 | + | == Related == |
− | |||
− | |||
* <code>[[kubectl describe ingress]]</code> | * <code>[[kubectl describe ingress]]</code> | ||
+ | * <code>[[kubectl create ingress]]</code> | ||
+ | * [[Ingress]] <code>[[kind: Ingress]]</code> | ||
+ | * [[AWS Load Balancer Controller]] | ||
+ | * [[CKA v1.23]]: [[Know how to use Ingress controllers and Ingress resources]] | ||
+ | * <code>[[helm install --set persistence.enabled=true grafana grafana/grafana --set ingress.enabled=true]]</code> | ||
+ | * <code>[[kubectl get service]]</code> | ||
+ | * <code>[[kubectl get ingressclass]]</code> | ||
+ | * <code>kubectl api-resources | grep ingress</code> | ||
+ | * <code>[[kubectl get endpoints]]</code> | ||
== See also == | == See also == | ||
− | * {{kubectl}} | + | * {{kubectl ingress}} |
− | * {{ | + | * {{Ingress}} |
+ | * {{Kubernetes controllers}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 16:14, 18 July 2024
kubectl get ingress kubectl get ing kubectl get ingress -A
- CLASS:
<none>, nginx, alb
helm install grafana
:ingress.ingressClassName
Examples[edit]
kubectl get ingress No resources found in default namespace.
kubectl get ingress -n grafana NAMESPACE NAME CLASS HOSTS ADDRESS PORTS AGE grafana grafana nginx example.com afxxxxxx0.us-east-1.elb.amazonaws.com 80 22h
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[edit]
kubectl describe ingress
kubectl create ingress
- Ingress
kind: Ingress
- AWS Load Balancer Controller
- CKA v1.23: Know how to use Ingress controllers and Ingress resources
helm install --set persistence.enabled=true grafana grafana/grafana --set ingress.enabled=true
kubectl get service
kubectl get ingressclass
kubectl api-resources | grep ingress
kubectl get endpoints
See also[edit]
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
- Kubernetes controllers: Ingress,
controller., AWS Load Balancer controller, kubectl describe ingressclass nginx
Advertising: