../k8sent

ProLUG Talk: Kubernetes in the Enterprise

Original URL: https://trevorsmale.github.io/techblog/post/k8sent/

Kubernetes in Enterprise

As a dedicated member of the Professional Linux User Group, I gain valuable insights into essential industry tools, processes, and procedures from professional engineers who work hands-on with major infrastructure.

This evening, Michael Pesa of Lambda Labs delivered an excellent talk on best practices with Kubernetes and GitOps, shedding light on the challenges faced by traditional orchestration approaches. What intrigued me most was the discussion on Talos OS and Chainguard, particularly their use of Software Bill of Materials (SBOM). The concept centers around stripping systems down to their bare essentials, which not only reduces vulnerabilities but also improves performance.

Talos OS is particularly fascinating because it eliminates many traditional system components like SSH, systemd, glibc, package managers, or a shell. Essentially, Talos is just the Linux kernel with several Go binaries. This streamlined approach significantly reduces vulnerabilities and minimizes the attack surface. As Michael mentioned in his presentation, many vulnerabilities stem from privilege escalation, container escapes, and memory hacking. Talos mitigates most of these threats by enforcing API-driven controls instead of relying on a shell and by utilizing private key-based authentication throughout.

I am excited to experiment with these tools in my homelab, where I aim to create a modern, declarative infrastructure with ephemerality at its core.


📝 Notes from the Presentation:

Topic Covered

Immutable operating systems

Minimalist container images

GitOps strategies

Reproducible builds

SUSE MicroOS 🦎

Purpose:

Features:

Usage:

Talos Linux 🦅

Overview:

Security:

Tools:

Considerations:

Alternatives:

Flatcar and CoreOS are earlier container-focused OS derivatives.

Minimal Container Images 👝

Philosophy:

Best Practices:

Security:

Supply Chain Security 🔗🔐

SBOM (Software Bill of Materials):

Software Attestation:

Chainguard:

Challenges in Immutable Environments ♻️

Limitations:

Risks:

Mitigation:

Observability Strategies in Immutable Environments 👀

Approaches:

Principle:

Key Principles of GitOps and Declarative Infrastructure 😰

GitOps Core Tenets:

Homelab Use:

GitOps Challenges 😰

Common Issues:

The GitFlow Workflow 💨

Workflow Overview:

Complexity:

Trunk-Based Development 🐘

Overview:

Advantages:

Tools:


Discord: https://discord.com/invite/m6VPPD9usw Youtube: https://www.youtube.com/@het_tanis8213 Twitch: https://www.twitch.tv/het_tanis ProLUG Book: https://leanpub.com/theprolugbigbookoflabs KillerCoda: https://killercoda.com/het-tanis