News for hackers. Stuff that matters.
Re:Kubernetes for personal projects? No thanks by pstadler on Thursday October 04, 2018 @08:01AM (#18139072)
> Do you want to do all of this because you think is fun? Or because you want to learn the technology? or just because? Please, be my guest! [...]

Kubernetes is likely here to stay. If you're interested in running a cluster to undestand what the hype is all about and to learn something new, you should do it. Also, ignore everybody telling you that this platform wasn't meant for that.

Complexity is a weak argument. Once your cluster is running you just write a couple of manifests to deploy a project, versus: ssh into machine; useradd; mkdir; git clone; add virtual host to nginx; remember how certbot works; apt install whatever; systemctl enable whatever; pm2 start whatever.yml; auto-start project on reboot; configure logrotate; etc. Can this be automated? Sure, but I'd rather automate my cluster provisioning.

Re:Kubernetes for personal projects? No thanks by carlosrdrz on Thursday October 04, 2018 @08:23AM (#18139217)
I will also invite everyone to try it and I also believe K8S is here to stay. I think K8S makes a lot of sense for lots of workloads, but I don't think it makes sense to maintain a k8s cluster to run personal projects.

About complexity, what you're saying is true, but I think "once your cluster is running" is making a lot of assumptions about what is actually running in the cluster in terms of infra and what workloads you can run there.

Re:Kubernetes for personal projects? No thanks by StavrosK on Thursday October 04, 2018 @08:48AM (#18139377)
I agree with you, I think K8s is great to learn so you know what it can do, but I wouldn't use it for personal projects. For that, I recommend something like Dokku, which is very easy to get started with.

For Kubernetes, I found the docs a bit bad, the starting concepts are very easy to grok but the docs obfuscate them. I wrote a very short article on the basics [0], for anyone who might be interested in learning. After reading the article, reading the docs should be much easier, as you'll know the terms much more intuitively.

[0]: https://www.stavros.io/posts/kubernetes-101/

Re:Kubernetes for personal projects? No thanks by pstadler on Thursday October 04, 2018 @08:34AM (#18139298)
> About complexity, what you're saying is true, but I think "once your cluster is running" is making a lot of assumptions about what is actually running in the cluster in terms of infra and what workloads you can run there.

Already answered in a way:

> Can this be automated? Sure, but I'd rather automate my cluster provisioning.

If I need more computational power or a specific 3rd-party service that I don't have available at this point, I simply tear down my current cluster and deploy it elsewhere.

Re:Kubernetes for personal projects? No thanks by vorpalhex on Thursday October 04, 2018 @08:20AM (#18139197)
> Complexity is a weak argument

I see you've never tried to upgrade a running kubernetes cluster or been in an on call schedule for one. It's a new technology that is still maturing but it has a lot of moving parts all of which require a fair bit of understanding and which change on a regular basis.

Hell, just a few months ago the ACM agent totally got rewritten and now you have a choice between alpha software or a deprecated project!

Re:Kubernetes for personal projects? No thanks by pstadler on Thursday October 04, 2018 @08:24AM (#18139221)
I treat my cluster as immutable. My setup is open source: https://github.com/hobby-kube/guide
Re:Kubernetes for personal projects? No thanks by collyw on Thursday October 04, 2018 @10:57AM (#18140465)
> just write a couple of manifests to deploy a project, versus...

Whenever anyone says "just do something" these days, it usually means that it hasn't been thought through properly. Is that only my personal experience?

Re:Kubernetes for personal projects? No thanks by scruple on Thursday October 04, 2018 @02:13PM (#18142209)
No, I have the same reaction, too. Especially when it's nestled in to a paragraph that, essentially, starts off by highlighting that something is an example of essential complexity.