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 26, 2018 in DevOps on Cloud by stephen
• 340 points

edited Oct 12, 2018 by Kalgi 69 views

2 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 26, 2018 by Atul
• 10,220 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
• 14,080 points

Related Questions In DevOps on Cloud

0 votes
1 answer
0 votes
1 answer
+4 votes
2 answers

unable to get subdomain of URL in NGINX

You just need to add .+ after ...READ MORE

answered Oct 11, 2018 in DevOps on Cloud by lina
• 8,100 points
489 views
+2 votes
2 answers
0 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
845 views
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,220 points
143 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.