A team deploys a containerized web application on Google Kubernetes Engine (GKE) using a Deployment. They need to expose the application externally via a stable IP address and enable SSL termination. Which resource should they use?
Trap 1: HorizontalPodAutoscaler
Scales pods, does not expose services.
Trap 2: Service type NodePort
Exposes on each node's port, not suitable for external SSL termination.
Trap 3: Service type LoadBalancer
Provides external IP but does not terminate SSL.
- A
HorizontalPodAutoscaler
Why wrong: Scales pods, does not expose services.
- B
Ingress with Google-managed SSL certificate
Provides SSL termination and a stable IP via the load balancer.
- C
Service type NodePort
Why wrong: Exposes on each node's port, not suitable for external SSL termination.
- D
Service type LoadBalancer
Why wrong: Provides external IP but does not terminate SSL.