O'Reilly logo

Hands-On Microservices with Node.js by Diogo Resende

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying our microservice

We can now create our deployment. Head to the editor and create a deployment file called imagini.yml with the content I just described:

Then, use the console and type the following:

kubectl create -f imagini.yml

If nothing wrong happens, you should see a line along the lines of deployment "imagini-frontend" created, as shown in the console in the following screenshot:

Our service is now deployed. It will take some time until it is fully running. Go back to the Kubernetes Engine and click on Workloads:

Click on

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required