HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
kubernetes-sigs
kubespray
Jinja2017–2025
kubernetes-sigs / kubespray

kubespray

Deploy a Production Ready Kubernetes Cluster

14Distinct people
14Mentions
0Explicit recommenders
18.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Deploy a Production Ready Kubernetes Cluster

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year14 dated mentions

Observed mentions: 2017-07-07 00:14:55 UTC to 2025-02-24 18:32:09 UTC.

012342017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC211
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC404
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

14 sources
> OpenStack is a cluster of poorly-interoperating, poorly-documented products -- The customer experience is fucking terrible. I assume you were unfortunately a victim of Mirantis/Fuel/Puppet/Mcollective... or one of the 'converged' solutions. While I wouldn't call OpenStack "fun" Especially in the Essex to Icehouse era, where vendors seriously impacted the code stability...It is just a well documented collection of separate components that interact using REST api's and RPC like calls over a message bus. Nvidia, Cern, JPL, and lots of smaller companies that need private clouds and have the expertise are still running OpenStack. For me the main value is the ability to have portability between public and private. If you just use the ansible playbooks included in every OS repo, it is pretty easy to roll your own deployments that are quite eas
Read the rest
y to maintain if and only if your company is mature enough to follow that model and isn't subject to the soicotechnical issues that plague containers too. While the workflow changes, the hard parts of OS and k8s, including networking, monitoring, etc,.. are exactly the same. As a random example of what always screws this up let me point at kubespray, which is not unique at all. Note the: > Remove docker requirements https://github.com/kubernetes-sigs/kubespray/issues/6400 That is because, like many projects, they didn't respect the natural boundaries of the node components, and they are now paying the price for that debt. k8s and OS from an infrastructure point of view are equal in complexity. It isn't instantiating a container with CRI foo, or libvirt command bar that is the hard part. It is the distributed computing, virtual networking , resource allocation, federation, API's etc... that is hard. Note, if you think that the "OS is dead" for all needs, especially in the telco space, you may want to dig into what containers actually are. They are just namespaces running on an OS, and it will still be horses for corses as to what is appropriate. Especially if you are using the easy ways of instantiating hardware for k8s, almost all of them are highly insecure by default and you are going to have to dig into the same style of systems with similar components or you will have a leak of data at some point. I wish there was something better than OS, but if you use a dev mindset and not a glass house IT mindset it is a very useful tool that may be the least worst option for you for some needs.
In It is no longer safe to move our governments and societies to US clouds
You could do that with Ansible, there's kubespray [0] from the official project to do that. You may want to read [1] starting with [2]. There's also k3s [0] and k0s [4]. I've written about my setup here [5] also if you are interested. [0]: https://github.com/kubernetes-sigs/kubespray [1]: https://www.tauceti.blog/ [2]: https://www.tauceti.blog/posts/kubernetes-the-not-so-hard-wa... [3]: https://k3s.io/ [4]: https://k0sproject.io/ [5]: https://vmarchaud.fr/deploying-kubernetes-the-hard-way/
In Ask HN: Options for K8s On-Prem
One disadvantage of k3s, is that it does not have HA control plane out of box (specifically, users are expected to bring their own HA database solution[1]). Without that, losing the single point of failure control plane node is going to give you a very bad day. I use kubespray[2] to manage my raspberry pi based k8s homelab, and replacing any nodes, including HA control plane nodes, is as easy as swapping the board and executing an ansible playbook. The downsides of this, are that it requires the users to have more knowledge about operating k8s, and a single ansible playbook run takes 30-40 minutes... 1. https://rancher.com/docs/k3s/latest/en/installation/ha/ 2. https://github.com/kubernetes-sigs/kubespray
In Building a bare-metal Kubernetes cluster on Raspberry Pi
Rancher was the last independent kubernetes distribution (that was company backed) as far as I can tell. There was also CoreOS, which has since been bought by RedHat, and Deis, since bought by Microsoft. So now it's been turned back into an OS war. RedHat, SuSE, and Microsoft.This is fitting because kubernetes feels like an operating system for container clusters. After all, operating systems are just resource managers and schedulers like kubernetes is. (For those interested, there are several kubernetes distributions that are not company backed and open source. Two of my favorites are Kubespray[1] and Typhoon[2].) 1: https://github.com/kubernetes-sigs/kubespray 2: https://typhoon.psdn.io/
In SUSE to Acquire Rancher Labs
Step 1. Setup vagrant Step 2: Update /etc/hosts on all the nodes vagrant@amaster:~$ sudo vi /etc/hosts 100.0.0.1 amaster.jhooq.com amaster 100.0.0.2 kmaster.jhooq.com kmaster 100.0.0.3 kworker.jhooq.com kworker Step 3: Generate SSH key for ansible vagrant@amaster:~$ ssh-keygen -t rsa Step 4: Copy SSH key to other nodes vagrant@amaster:~$ ssh-copy-id 100.0.0.2 vagrant@amaster:~$ ssh-copy-id 100.0.0.3 Step 5: Install python3-pip vagrant@amaster:~$ sudo apt install python3-pip Step 6: Clone the kubespray git repo vagrant@amaster:~$ git clone https://github.com/kubernetes-sigs/kubespray.git Step 7: Install kubespray package vagrant@amaster:~/kubespray$ sudo pip3 install -r requirements.txt Step 8: Copy inventory file to current users vagrant@amaster:~/kubespray$ cp -rfp inventory/sample inventory/mycluster Step 9: Prepare host.yml for kub
Read the rest
espray vagrant@amaster:~/kubespray$ declare -a IPS=(100.0.0.2 100.0.0.3) vagrant@amaster:~/kubespray$ CONFIG_FILE=inventory/mycluster/hosts.yml python3 contrib/inventory_builder/inventory.py ${IPS[@]} Step 10: Run the ansible-playbook on ansible node ansible-playbook -i inventory/mycluster/hosts.yml --become --become-user=root cluster.yml Step 11: Install kubectl on kubernetes master vagrant@node1:~$ curl -LO https://storage.googleapis.com/kubernetes-release/release/`c... -s https://storage.googleapis.com/kubernetes-release/release/st... vagrant@node1:~$ sudo cp /etc/kubernetes/admin.conf /home/vagrant/config vagrant@node1:~$ mkdir .kube vagrant@node1:~$ mv config .kube/ vagrant@node1:~$ sudo chown $(id -u):$(id -g ) $HOME/.kube/config Step 12: Verify the kubernetes nodes vagrant@node1:~$ kubectl get nodes NAME STATUS ROLES AGE VERSION node1 Ready master 13m v1.18.2 node2 Ready master 13m v1.18.2
In Kubespray – Kubernetes Cluster Setup
The thing is that a lot of times serverless is mentioned as "the future", most people I've seen understand "silver bullet": https://aws.amazon.com/fr/blogs/apn/serverless-containers-ar... As for provisioning, I mentioned GKE already, but I can throw in some more: https://www.scaleway.com/en/docs/get-started-with-scaleway-k... https://www.ovh.com/world/public-cloud/kubernetes/ https://github.com/bbelky/hkube https://github.com/kubernetes-sigs/kubespray
In Serverless Development with Serverless Framework
Kubernetes and Nomad are resource schedulers. Resource scheduling is a hard problem. For example, Linux is also a resource scheduler. Right now, we're seeing something similar to the OS wars in the 80's, 90's and 2000's. Back then there was Solaris, Linux, Unix, BSD, etc. In the 2000's, Linux won. After that, the sheer force of community made it easy to deploy and use. The community around Linux mitigated its complexity by making distributions -- opinionated choices around how to set up linux, including what package manager to use, what init process to use, etc. Kubernetes is, in my opinion, far more complicated than Nomad, but it's also more feature rich. To mitigate that complexity, quasi-distributions of kubernetes are emerging, like kops ( https://github.com/kubernetes/kops ) and kubespray ( https://github.com/kubernetes-incubator/kub
Read the rest
espray ). My personal favorite is Typhoon ( https://typhoon.psdn.io/ ), because it uses a "package manager" (software delivery mechanism) that allows you to declare dependencies between packages and also allows you to deploy the entire cluster from the ground up -- Hashicorp's Terraform ( https://www.terraform.io/ ). The kubernetes package manager is helm ( https://helm.sh/ ), but if I were you I'd wrap helm charts in terraform modules using the helm provider ( https://github.com/mcuadros/terraform-provider-helm ). By contrast, Nomad is much simpler to set up and has a much better modular design. But then, so did the OS GNU Hurd. And no one uses that anymore. Kubernetes is much more monolithic in design (huh, so is Linux). Therefore, I would choose kubernetes, but treat it like an OS. It's complicated. Don't choose what ingress you will use. Instead choose what distribution you will use, and let the distribution guide your decisions, unless you have a good reason. Realize that you're learning an OS (resource scheduler = os in my head). Kubernetes has more complexity than Nomad up front, but at least it's not accidental complexity. K8s calls the resource scheduler problem what it is -- hard, and treats it appropriately. The other safe bet is Terraform as the package manager. Choose a kubernetes distro that uses it (Typhoon, Kops). It is getting huge. Kubernetes' extensible API is what really makes it cool. Having a prometheus operator ( https://github.com/coreos/prometheus-operator ) automatically monitor your services for you is pretty nice. Finally, don't expect the stability you see in the Linux OS. Kubernetes is still coming out of the primordial ooze, though it's way more mature than Nomad in its community. Still, when a google search for how to do something on a cluster mostly turns up github issues, you know we're still in the early stages. That said, Nomad is way easier to set up, and supports things like raw execution, JVM direct execution, and chrooted exec, so if you can't use containers at least you can still use a cluster. You'll be rigging everything yourself, but raw execution actually gives you a lot of rope ( https://github.com/hashicorp/nomad/issues/150 ). So if you need to do something really custom, Nomad might not be so bad. Kind of like embedded Linux.
In Ask HN: Nomad (Hashicorp) vs. Kubernetes?

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.