Which OpenShift resource is primarily used to expose an application to external traffic with a stable hostname?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

Which OpenShift resource is primarily used to expose an application to external traffic with a stable hostname?

Explanation:
In OpenShift, exposing an application to external traffic with a stable hostname is handled by a Route. A Route creates an external address (hostname) and forwards traffic to a Kubernetes Service inside the cluster through the OpenShift router. This provides a stable public name, such as app.example.com, that remains consistent across deployments and pod restarts. The router can also terminate TLS if you configure it. A Service itself only gives a stable internal endpoint within the cluster and doesn’t expose a persistent external hostname, while ConfigMap and Deployment are about configuration and pod management, not external traffic exposure.

In OpenShift, exposing an application to external traffic with a stable hostname is handled by a Route. A Route creates an external address (hostname) and forwards traffic to a Kubernetes Service inside the cluster through the OpenShift router. This provides a stable public name, such as app.example.com, that remains consistent across deployments and pod restarts. The router can also terminate TLS if you configure it. A Service itself only gives a stable internal endpoint within the cluster and doesn’t expose a persistent external hostname, while ConfigMap and Deployment are about configuration and pod management, not external traffic exposure.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy