TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Kubernetes clusters for the hobbyist

321 pointsby pstadlerabout 8 years ago

14 comments

raesene6about 8 years ago
This guide makes an interesting choice with regards to etcd security, which I&#x27;m not sure I&#x27;d go with.<p>etcd stores a load of sensitive cluster information, so unauthorised access to it is a bad thing.<p>There&#x27;s an assumption in the guide that you have a &quot;secure network&quot; and therefore don&#x27;t have to worry about etcd authentication&#x2F;encryption. The thing is if you have a compromised container (say) and that container, which has an in-cluster IP address can see your etcd server, then it can easily dump the etcd database and get access to the information held in it...<p>Personally I&#x27;d recommend setting up a small CA for etcd and using it&#x27;s authentication features, there&#x27;s a good guide to this on the CoreOS site <a href="https:&#x2F;&#x2F;coreos.com&#x2F;etcd&#x2F;docs&#x2F;latest&#x2F;op-guide&#x2F;security.html" rel="nofollow">https:&#x2F;&#x2F;coreos.com&#x2F;etcd&#x2F;docs&#x2F;latest&#x2F;op-guide&#x2F;security.html</a>
评论 #14291942 未加载
评论 #14297630 未加载
_rp6iabout 8 years ago
The second question:<p>&gt; Choosing a cloud provider<p>This really annoys me about Kubernetes. Essentially <i>all</i> the official documentation is about how to select a cloud and let a cloud-specific tool magically do everything for you. There&#x27;s no procedure for setting up a single host for development purposes or to have a Dokku-like personal PaaS.<p>This guide is super useful because it avoids all the magic and lets you set things up properly (despite assuming you&#x27;re doing it on a cloud) and potentially even do it on a single host.
评论 #14295760 未加载
评论 #14301352 未加载
评论 #14299657 未加载
评论 #14296939 未加载
评论 #14295669 未加载
dkarapetyanabout 8 years ago
I like the juxtaposition of the words &quot;hobbyist&quot; and &quot;kubernetes cluster&quot;.
评论 #14295812 未加载
oblioabout 8 years ago
It seems that a proper Kubernetes setup is the modern day equivalent to the proper email server setup of the 90&#x27;s or the 00&#x27;s :)
评论 #14292737 未加载
评论 #14296700 未加载
评论 #14294087 未加载
评论 #14292341 未加载
bryanlarsenabout 8 years ago
Why are you doing all of this stuff manually? There are several providers that will set all of this stuff up automatically for you. I like the Kismatic toolkit (<a href="https:&#x2F;&#x2F;github.com&#x2F;apprenda&#x2F;kismatic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apprenda&#x2F;kismatic</a>), but there are a bunch of others. Sure, maybe once you go to production you&#x27;ll want to install manually so that you have everything finely tuned the way you want, but learn it by using it rather than trying to have to figure things up front.<p>Or even better just use GKE for development &#x2F; learning purposes. Just stop the cluster when you&#x27;re not using it, and it&#x27;ll be a lot cheaper than something you won&#x27;t want to take down because you spent days installing it.
评论 #14291311 未加载
评论 #14291316 未加载
评论 #14292185 未加载
评论 #14291319 未加载
评论 #14292059 未加载
fndrplayer13about 8 years ago
Great set of resources -- I just went through the process of defining a terraform cluster in AWS over the past few weeks, though I&#x27;m leveraging the k8s Saltbase installer for the master and nodes.<p>I&#x27;m curious, why no mention of AWS as a provider for roll-your-own? Is this a cost thing?<p>Also, I get the feeling that Ubuntu is _not_ a first class citizen of the k8s ecosystem, but perhaps my newness to the ecosystem is to blame here. The Saltbase installer, for example, only supports Debian and RHEL distros, `kops` prefers Debian, and the documentation for cluster deployments on kubernetes.io and elsewhere also seems to be somewhat suggestive of Debian and Core OS. Perhaps thats just a mistaken interpretation on my part. I&#x27;m curious what other peoples thoughts on this topic are!
评论 #14292194 未加载
评论 #14291675 未加载
评论 #14292791 未加载
评论 #14293049 未加载
gtirloniabout 8 years ago
I&#x27;m surprised a hobbyist K8s administrator is not choosing to use kubeadm instead.<p><a href="https:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;getting-started-guides&#x2F;kubeadm&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;getting-started-guides&#x2F;kubeadm&#x2F;</a>
评论 #14300442 未加载
评论 #14295264 未加载
ramshankerabout 8 years ago
I just had my first read of Kubernates. Looks doable. Time to jump on the bandwagon.
paukiatweeabout 8 years ago
Really great resources! I was working on my own version of k8s setup scripts using Ansible, and I will definitely use this guide to improve mine.
评论 #14294054 未加载
guiriduroabout 8 years ago
Great timing, I was wondering to myself about the feasibility of a 10€ cluster on scaleway last week.
bryanlarsenabout 8 years ago
I found gluster-kubernetes quite simple to install. But the install instructions do assume that you&#x27;re going to be giving it it&#x27;s own partition, which you would be doing on any sort of real production deployment.
empath75about 8 years ago
You can spin up a cluster on gce in a couple of minutes.
评论 #14292932 未加载
评论 #14296479 未加载
tuco86about 8 years ago
exactly what i was looking for! Eureka!
jug5about 8 years ago
Good to see the author using wireguard as an additional network security layer