VOOZH about

URL: https://thenewstack.io/flatcar-container-linux-the-ideal-os-for-running-kubernetes-at-the-edge/

⇱ Flatcar Container Linux: The Ideal OS for Running Kubernetes at the Edge - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2021-01-08 08:01:31
Flatcar Container Linux: The Ideal OS for Running Kubernetes at the Edge
feature,tutorial,
Containers / Kubernetes

Flatcar Container Linux: The Ideal OS for Running Kubernetes at the Edge

Jan 8th, 2021 8:01am by Janakiram MSV
👁 Featued image for: Flatcar Container Linux: The Ideal OS for Running Kubernetes at the Edge
Editor’s Note: This post will be the first in a series covering Flatcar Container Linux, covering everything you need to configure and deploy the OS at the edge. Check back each Friday for future installments.

I have been researching the optimized infrastructure stack to run Kubernetes at the edge. While K3s from Rancher comes across as the best Kubernetes distribution for the edge, the quest for an edge-optimized operating system (OS) continues.

During the holidays, I got a chance to explore Flatcar Container Linux, an OS that started as a fork from CoreOS Container Linux when Red Hat purchased CoreOS.

Since its introduction in 2014, I have been a fan of the projects from CoreOS, Inc. Container Linux, rkt, etcd, Fleet, and Flannel were some of the products from the CoreOS staple. While etcd became the foundation of Kubernetes and a part of CNCF, other projects ceased to exist after Red Hat acquired CoreOS.

Last year, Red Hat announced the company would no longer develop or support Container Linux. Though Fedora CoreOS is positioned as an alternative, it’s not a drop-in replacement to CoreOS Container Linux.

Flatcar Linux is now officially maintained by Berlin startup Kinvolk, as a container-native, lightweight OS that continues to deliver on original Container Linux’s promise. The folks at Kinvolk worked closely with the developers of Container Linux at CoreOS until the Red Hat acquisition.

CoreOS offered the Container Linux stack as an alternative to Docker Swarm, then also in its infancy. Container Linux, rkt, Fleet, and etcd from CoreOS were all created much before Kubernetes was launched. Container Linux was the foundation of the stack, and many thought rkt was a better alternative to Docker Daemon. etcd acted as the distributed in-memory database coordinating the communication between multiple nodes of the Container Linux cluster — it still serves in most Kubernetes deployments. Fleet was the orchestrator that could deploy, scale, and manage systemd unit files with embedded container images. Each unit files roughly translated to a Pod definition in Kubernetes.

Fast forward to 2021, and you see a lot of changes in the cloud native ecosystem. But, the original promise of an immutable, idempotent, lightweight, container-optimized OS is still attractive.

Flatcar Container Linux breathes new life into CoreOS Container Linux by delivering regular security updates and patches. It essentially makes the old OS relevant in the ever-changing, dynamic cloud native ecosystem.

For example, the upcoming version of Flatcar Container Linux will have native support for containerd as an alternative to Docker Engine. This makes it possible to let kubelet directly talk to the container runtime.

It’s easy to install Flatcar Container Linux at the edge running on bare metal servers. The smaller footprint, atomic updates, and remote management capabilities make it an ideal choice for the edge.

Flatcar Linux doesn’t have a package manager. The systemd unit files form the building block of the operating system. Every process, even if it is short-lived, is packaged and deployed as a unit. These unit files can be configured and deployed as a part of the installation process. Once deployed, they can be managed through the standard systemctl tool.

What I like the best is the declarative nature of the OS. Based on Ignition — a tool that uses JSON-format definitions for the configuration and unit files — processes can be launched at the boot time. Even the SSH configuration, including the username and the keys, is a part of the Ignition file used during the installation.

With the help of an iPXE server and the FQDN/IP address of the nodes, you can remotely install Flatcar Container Linux. Upgrading to the new version is as simple as rebooting the nodes. With the help of Ignition, it’s possible to seamlessly upgrade the Kubernetes cluster with minimal disruption to workloads.

Since Fleet, the original orchestrator built by CoreOS, is deprecated, there is no hard and fast rule to deploy etcd on Flatcar Container Linux. You can let distributions such as K3s and Microk8s use in-built etcd to run a highly available cluster.

Flatcar Container Linux is officially available in IaaS environments, including AWS, Azure, Google Cloud, and Equinix Metal. You can launch a VM either in the cloud or on your local workstation through Vagrant.

Kinvolk offers commercial support and custom engineering services around Flatcar Container Linux. There is also an LTS channel where a release is maintained for an extended lifetime of 18 months.

I configured a PXE boot server that hosts the Flatcar kernel image and the initramfs file in my lab environment. I could install Flatcar Container Linux on three nodes running on the Odyssey Mini PC powered by an Intel Celeron CPU, 8GB RAM, and 128GB SSD through Ignition.

During the first boot, I installed K3s in a multi-master configuration for high availability (HA). The best thing is that I could do all of this without ever SSHing into any node. This remote management capability of Flatcar Container Linux makes it one of the best OS for the edge.

In future installments of this series, you will learn how to configure a PXE boot server, use Ignition to install the OS on the disk, deploy a HA K3s cluster, and upgrading it. Stay tuned!

Janakiram MSV’s Webinar series, “Machine Intelligence and Modern Infrastructure (MI2)” offers informative and insightful sessions covering cutting-edge technologies. Sign up for the upcoming MI2 webinar at http://mi2.live.

TRENDING STORIES
Janakiram MSV (Jani) is a practicing architect, research analyst, and advisor to Silicon Valley startups. He focuses on the convergence of modern infrastructure powered by cloud-native technology and machine intelligence driven by generative AI. Before becoming an entrepreneur, he spent...
Read more from Janakiram MSV
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Docker.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.