Ways to expose applications
Expose applications that run in Kubernetes clusters to users, internal teams, and external services by using a ClusterIP service, a LoadBalancer service, or ingress.
Expose applications that run in Kubernetes clusters to users, internal teams, and external services. This document starts with DNS fundamentals and LoadBalancer services. It then describes the preconfigured ingress controller and the tools that simplify and automate your exposure workflows, including cert-manager for automated TLS certificates.
The following table summarizes the ways to expose an application in a cluster that Cloudera Cloud Factory manages.
| Method | Use it to | More information |
|---|---|---|
| ClusterIP service | Let Pods reach an application inside the cluster by a stable name. | Kubernetes DNS basics |
| LoadBalancer service | Expose a test or production application directly, with one external address for each service. | Kubernetes LoadBalancer services |
| Ingress through the bastion | Expose HTTP and HTTPS applications behind one stable access IP address. Cloudera recommends this method. | Ingress through the bastion |
| Ingress for managed applications | Expose applications that you install from a catalog by setting chart parameters. | Ingress for managed applications |
| cert-manager | Provision and renew TLS certificates automatically for exposed applications. | Securing ingress with cert-manager |
