Skip to main content
Welcome back! In this article, we’ll recap how to expose applications on Google Kubernetes Engine (GKE).

Objective

Expose the application deployed on our GKE cluster to external or internal clients.

Configuring the Kubernetes Service

To make your application accessible, create a Service of type LoadBalancer. On GKE, this automatically provisions a cloud load balancer and assigns an external IP or URL.
Apply the manifest:
Then check the external IP:
Wait until the EXTERNAL-IP field is populated, then navigate to http://<EXTERNAL-IP>.
Run kubectl describe svc my-app-service for detailed load balancer events and annotations.

Choosing the Right Service Type

Depending on your environment and security requirements, you can select one of the following Service types:
ClusterIP services are not reachable from outside the cluster. Verify your network policies before switching types.

Summary

In Sprint 0.6, we configured a Kubernetes Service on GKE to expose our application. Choose the Service type—LoadBalancer, NodePort, or ClusterIP—that best fits your deployment needs.

References

Watch Video