Best way to deploy automated deployments in kubernetes on google cloud

+3 votes
I have set up a compute instance or kubernetes instance on Google Cloud with the latest tag and I pushed an image with the same name and tag e.g. image:latest. I'm just trying to figure out what is the best way to setup automated deployments.

What will be it's result if I will perform the following step.
Mar 27, 2018 in DevOps on Cloud by stephen
• 340 points

edited Oct 12, 2018 by Kalgi 797 views

2 answers to this question.

0 votes
Push a new latest tag on an image which will replace the previous latest tag. It won't cause an automatic container restart unless you configured your CD/CI system.

While useful for development, you should avoid using the latest tag for non-development work. It can introduce surprises and ambiguity that you don't want if a container is restarted unexpectedly.
answered Mar 27, 2018 by Atul
• 10,240 points
0 votes
The first thing you need to do is create a Kubernetes cluster and then deploy your image inside the container on the cluster. You can autoscale(horizontally as well vertically) with ease and also set up a load balancer.
answered Oct 12, 2018 by Hannah
• 18,570 points

Related Questions In DevOps on Cloud

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is the correct way to setup Azure Artifacts in Azure DevOps?

Refer: this will show you how to create ...READ MORE

answered Apr 5, 2022 in DevOps on Cloud by narikkadan
• 63,700 points
0 votes
0 answers

can we deploy ".msi" package through azure CICD in On-premises VM?

We are able to build the application& ...READ MORE

Dec 20, 2022 in DevOps on Cloud by Damonlang
• 1,230 points
+2 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
0 votes
1 answer
0 votes
1 answer

Unable to save state: open terraform.tfstate: permission denied

Check the access permission of the directory ...READ MORE

answered Jul 13, 2018 in DevOps on Cloud by Atul
• 10,240 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP