Re:Kubernetes the Hard Way
by olalonde on Friday August 19, 2016 @06:31PM
(#12323980)
Oh yeah I agree, that's annoying. I considered using one of the few projects that attempt to solve this problem but decided to stick with `kube-up.sh` because, as a beginner, I'd have a hard time telling which pieces belong to Kubernetes vs the third party tool. I also don't have time to become a Kubernetes expert because I'm crazy busy developing. Hopefully, Kubernetes will eventually obsolete `kube-up.sh` for something better based on Salt/CloudFormation/Terraform/etc.
[ Parent
| on HN ]
Watch this tool called kops - https://github.com/kubernetes/kops
Official upcoming replacement for kube-up
Re:Kubernetes the Hard Way
by lobster_johnson on Friday August 19, 2016 @06:37PM
(#12324023)
Kube-up actually uses Salt for some of the setup. But it's a big mess, since it needs to support a lot of platforms, Linuxes and cloud providers.
I don't know what the future of Kubernetes setup is, exactly, but right now it's quite safe to settle on Salt, Puppet, Ansible or Terraform. I haven't used Terraform, so I don't know how suitable it is to OS-level setup (things that the aforementioned tools are good at), as opposed to orchestration.
Re:Kubernetes the Hard Way
by elsonrodriguez on Saturday August 20, 2016 @02:14PM
(#12327697)
When you click the GKE(hosted Kubernetes) button on Google Cloud Platform, it's those very Salt configs that set up your nodes (and once upon a time they setup your control plane too).
Basically what's arguably the best publicly available Kubernetes setup in the world is hiding in that Salt codebase, and EVERY would-be Kubernetes admin should look at it before venturing on their own.
Re:Kubernetes the Hard Way
by lobster_johnson on Saturday August 20, 2016 @02:32PM
(#12327766)
I used it as inspiration for my setup. But you also need a bunch of other stuff, like the CA setup and Kubelet cert generation, which are buried in the whole kube-up structure.
Yeah, agreed. CoreOS + cloud-init could remove necessity to do OS-level setup.
Re:Kubernetes the Hard Way
by elsonrodriguez on Saturday August 20, 2016 @02:09PM
(#12327673)
There's always something to do at the OS-level, which is why cloud-init configurations tend to spiral out of control with in-line scripts, configs, and binary downloads.
There's no getting away from configuration management and software installation at SOME level of your stack, and setting up a substrate for Kubernetes is no exception.