Kubernetes Engine
Create a Kubernetes cluster and deploy a container.
Last updated
Was this helpful?
Create a Kubernetes cluster and deploy a container.
Last updated
Was this helpful?
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.
Enable the Container Registry API so that you can push container images to .
Use Jib to containerize the application:
Kubernetes credentials are automatically retrieved and stored in your $HOME/.kube/config
file. If you need to re-retrieve the credentials:
Check that the container is deployed:
Find the Load Balancer's External IP address:
Initially, it may display that the External IP is <pending>
.
Re-check until the External IP is assigned.
Then connect with curl
:
Learn different ways to containerize a Java application in the section.
Create a .
See for a list of Machine Types and the associated CPU/Memory resources.
You can expose this one service using a single :
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 instead.