Ingress

An Ingress exposes HTTP and HTTPS routes from outside the cluster to Services inside it.

An Ingress exposes HTTP and HTTPS routes from outside the cluster to Services inside it. An Ingress defines rules, such as host names and paths, and an ingress controller implements them. An Ingress object has no effect without an ingress controller in the cluster. Ingress handles only HTTP and HTTPS traffic. To expose other protocols, use a Service of type NodePort or LoadBalancer.

In Cloudera Cloud Factory, a cluster can use the preconfigured ingress controller, which uses the ingress class ccf, or an ingress controller that you install. Select the class on your Ingress with ingressClassName: ccf. For the procedures, see Ingress through the bastion in Exposing applications.

The Ingress API is frozen. Kubernetes adds new routing features to the Gateway API instead.

Key defaults and limits

  • The ingressClassName field replaces the kubernetes.io/ingress.class annotation, which is deprecated since Kubernetes 1.18.
  • To make an ingress class the default, set the annotation ingressclass.kubernetes.io/is-default-class to true on the IngressClass.
  • Path types are Exact, Prefix, and ImplementationSpecific. When several paths match, the longest path wins, and Exact takes precedence over Prefix.
  • A wildcard host such as *.example.com matches a single DNS label.

For more information, see Ingress.