Talos: OS for Kubernetes
Hey folks, Talos creator here. Happy to answer any questions you guys may have. Sounds like some confusion about exactly what Talos is. A lot of good feedback here that we will take and improve our documentation.<p>Talos is a Linux distribution built specifically for Kubernetes. The short version is that we have stripped out absolutely everything that is not required to make a machine a Kubernetes node, including SSH and console access (I will explain why).<p>Here goes the long version. We have done a number of things to improve security, including a read-only filesystem, except for what the Kubelet needs (&#x2F;var&#x2F;lib&#x2F;kubelet, &#x2F;etc&#x2F;cni, etc.). It runs entirely in RAM from a Squashfs, and only Kubernetes makes use of a disk. We have stripped SSH&#x2F;Console access and added a gRPC API that gives engineers the ability to debug and remediate issues.<p>We didn&#x27;t just stop at this. We are writing everything, including the init system, in Golang, which allows us to integrate deeply with Kubernetes. Everything about Talos is API driven.<p>Some of the highlights include:<p>- SSH&#x2F;console access replaced with gRPC API that is secured via mutual TLS.<p>- Immutable. Immutability prevents drift, making the cluster consistent across the board.<p>- Automated upgrades that can be orchestrated in an intelligent way. By using Kubernetes events, and our API, we can roll out upgrades from an operator (currently a WIP and planned for release in 0.3 Talos) and do safe in a safe manner.<p>- Cluster API (CAPI) integration that allows rapid creation of Kubernetes clusters using Kubernetes style declarative YAML.<p>- Support for AWS, GCP, Azure, Packet, vSphere, Bare Metal, and Docker. The experience for each is consistent, making it easy to reason about Talos regardless of where you run it.<p>- CIS and KSPP security configuration enforcements.<p>- Keeping current by supporting the latest and greatest version of Kubernetes, while writing upgrade paths into the system.<p>- Support for local Docker based clusters, easily created using our CLI. This is super useful for creating CI pipelines where you might want to run integration tests against the same Talos&#x2F;Kubernetes versions running in production.<p>- Installs and upgrades are performed via containers.<p>We feel that by removing SSH&#x2F;console, making the core of Talos read-only, and treating the nodes as ephemeral machines, we are creating a much more secure way to run Kubernetes. A really good talk was given on these ideas at Blackhat this year: <a href="https:&#x2F;&#x2F;swagitda.com&#x2F;speaking&#x2F;us-19-Shortridge-Forsgren-Controlled-Chaos-the-Inevitable-Marriage-of-DevOps-and-Security.pdf" rel="nofollow">https:&#x2F;&#x2F;swagitda.com&#x2F;speaking&#x2F;us-19-Shortridge-Forsgren-Cont...</a>. We feel we align with the recommendations made there.<p>In addition to security, we envision a system that will be self-healing and intelligent. By having an API and integrating with Kubernetes, the sky is really the limit on the tooling we can build to create this self-healing system.<p>Our goal with Talos is to allow engineers to more or less forget about each individual node. Managing the OS alongside Kubernetes is a lot of work.<p>I will address the questions and comments as replies. Feel free to ask more as a reply to this comment.<p>Feel free to join our meetings every Monday and Thursday at 17:00 UTC on <a href="https:&#x2F;&#x2F;zoom.us&#x2F;j&#x2F;3595189922" rel="nofollow">https:&#x2F;&#x2F;zoom.us&#x2F;j&#x2F;3595189922</a>.
Also, join our slack and I&#x27;d be more than happy to talk some more about Talos! <a href="https:&#x2F;&#x2F;slack.dev.talos-systems.io" rel="nofollow">https:&#x2F;&#x2F;slack.dev.talos-systems.io</a>