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.

Table 1. Ways to expose an application
MethodUse it toMore information
ClusterIP serviceLet Pods reach an application inside the cluster by a stable name.Kubernetes DNS basics
LoadBalancer serviceExpose a test or production application directly, with one external address for each service.Kubernetes LoadBalancer services
Ingress through the bastionExpose HTTP and HTTPS applications behind one stable access IP address. Cloudera recommends this method.Ingress through the bastion
Ingress for managed applicationsExpose applications that you install from a catalog by setting chart parameters.Ingress for managed applications
cert-managerProvision and renew TLS certificates automatically for exposed applications.Securing ingress with cert-manager