Better HN
topnewbestaskshowjobs
Log inSign up

_rp6i

2 karma · joined Jan 16, 2013 (13y ago) · 5 submissions

Submissions

comment 9y ago · link · parent

The problem with these tools for me was that they required either Ubuntu or CentOS/RHEL. I was installing on bare metal running Fedora and I'm unwilling to rebuild my machine for one application.

I think I eventually got something set up using the manual documentation but at the time said documentation resulted in a completely insecure installation, entirely unauthenticated. Since I don't have (or want) a "private" network and the docs didn't tell me how to get security any other way, I just gave up on Kubernetes.

And really, it's incredibly frustrating how inflexible the docs and setup tools are. As detailed in another comment (https://news.ycombinator.com/item?id=14296176), Kubernetes really just consists of Docker and 6 Go binaries. There's no reason setup should be so difficult and certainly no reason why it should be OS dependent.

comment 9y ago · link · parent

No worries, thanks for writing it! A lot easier to follow than https://kubernetes.io/docs/getting-started-guides/scratch/#b..., which I was looking at previously.

comment 9y ago · link · parent

> It's for real world distributed systems.

The same can be said of Heroku, yet Dokku exists. The same can be said of Docker, yet plenty of hobbyists use it for their projects.

> It's not worth bothering to make a single machine setup.

Sure it is. Say you're a web developer and you use MySQL, PHP and Apache on Kubernetes in prod. Why would you go to the effort of setting those up individually on your machine when you could just put your prod manifest on Kubernetes on your workstation?

There's nothing about Kubernetes (aside from poor documentation) that prevents it from being used on a single host. Actually, according to its own documentation (https://kubernetes.io/docs/getting-started-guides/scratch/), it consists of:

- Docker/Rkt

- Kubelet

- Kube-proxy

- Etcd

- Apiserver

- Controller

- Scheduler

The bottom 6 are actually written in Go and can be run from a single binary.

There's no reason Kubernetes should be hard to set up. There's no reason it can't run on a single node. There's no reason you need a cloud. There's no reason you need a "supported" operating system.

comment 9y ago · link · parent

The second question:

> Choosing a cloud provider

This really annoys me about Kubernetes. Essentially all the official documentation is about how to select a cloud and let a cloud-specific tool magically do everything for you. There's no procedure for setting up a single host for development purposes or to have a Dokku-like personal PaaS.

This guide is super useful because it avoids all the magic and lets you set things up properly (despite assuming you're doing it on a cloud) and potentially even do it on a single host.