Ingress
Ingress in Kubernetes is a collection of rules that allow external users to access services within a Kubernetes cluster. It manages external HTTP and HTTPS access to services, enabling users to define routes based on hostnames or paths. For more details, refer to the official Kubernetes Ingress documentation.
Terraform Mappings:
kubernetes_ingress_v1.metadata[0].name
Supported Methods​
GET
: Get an Ingress by nameLIST
: List all IngressesSEARCH
: Search for an Ingress using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")
Possible Links​
Service
​
Ingress is often linked to a Service as it routes external traffic to the service endpoints, which are often backend pods within the cluster. By connecting an Ingress to a Service, you can control how external users access your applications running on Kubernetes.
dns
​
An Ingress may correspond to a DNS entry, as it typically leverages hostnames to manage routing rules. By setting up appropriate DNS records, you can ensure that traffic is directed to the Ingress controller, which then routes it according to the defined rules.