Hacker News new | past | comments | ask | show | jobs | submit login

You should spin up the new cluster, deploy the apps there, then start shifting traffic to the new one gradually.



Sorry, I guess, the title doesn't highlight what I am looking for. I am looking for the easiest way to set up a kubernetes cluster on premise. Is there a solution for it? Without using kubeadm and messing with the network. Some folks mentioned not messing around with kube on-prem. I agree with that, as long as there is another solution that would allow me to easily deploy apps without touching ubuntu and the apps could be resilient and scalable in future with a click of a button. Are there such non-kube solutions?


One way of doing things without kube I imagine as follows: I do coding, build an image and push the container to a container repo. Then I have to ssh into the server and stop and start the container with the new version. Which I find time consuming. How could I automate this deployment cycle? What people usually do?


You don't need K8s for that, only gitea (with actions enabled) and a server running docker. Actions (like Github Actions) will take care of building, deploying and restarting the container.


The easiest way would be running K3S scripts. You'll have a master and multiple nodes running in minutes. Managing it however... it's a whole different thing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: