Difference between revisions of "Kind: Ingress"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
servicePort: 8080 | servicePort: 8080 | ||
path: / | path: / | ||
+ | |||
+ | <pre> | ||
+ | apiVersion: networking.k8s.io/v1beta1 | ||
+ | kind: Ingress | ||
+ | metadata: | ||
+ | annotations: | ||
+ | kubernetes.io/ingress.class: nginx | ||
+ | name: example | ||
+ | namespace: foo | ||
+ | spec: | ||
+ | rules: | ||
+ | - host: www.example.com | ||
+ | http: | ||
+ | paths: | ||
+ | - backend: | ||
+ | serviceName: exampleService | ||
+ | servicePort: 80 | ||
+ | path: / | ||
+ | # This section is only required if TLS is to be enabled for the Ingress | ||
+ | tls: | ||
+ | - hosts: | ||
+ | - www.example.com | ||
+ | secretName: example-tls | ||
+ | </pre> | ||
== Related terms == | == Related terms == |
Revision as of 19:04, 29 June 2022
This article is a Draft. Help us to complete it.
apiVersion: extensions/v1beta1 kind: Ingress metadata: name: foobar spec: rules: - host: foobar.example.com http: paths: - backend: serviceName: foo servicePort: 8080 path: /
apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: annotations: kubernetes.io/ingress.class: nginx name: example namespace: foo spec: rules: - host: www.example.com http: paths: - backend: serviceName: exampleService servicePort: 80 path: / # This section is only required if TLS is to be enabled for the Ingress tls: - hosts: - www.example.com secretName: example-tls
Related terms
See also
kind:
[Pod | Ingress | ClusterConfiguration
|Config | ConfigMap | ServiceAccount | Deployment | List | Secret | Status ], spec: metadata: data:
- 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: