Create a Kubernetes cluster and deploy a container.
​Kubernetes Engine is a secured and managed Kubernetes service so you can deploy containerized application in an enterprise/production-grade Kubernetes cluster with a click of a button.
kubectl create service loadbalancer helloworld --tcp=8080:8080
Copied!
A Network (L4) Load Balancer is the easiest way to expose a single service for a demo. For production environment, you likely will need to use a HTTP Load Balancer instead.
Connect
Find the Load Balancer's External IP address:
1
kubectl get services helloworld
Copied!
Initially, it may display that the External IP is <pending>.