VOOZH about

URL: https://thenewstack.io/zero-trust-infrastructure-for-kubernetes/

⇱ Zero Trust Infrastructure for Kubernetes | 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
2022-06-20 06:00:48
Zero Trust Infrastructure for Kubernetes
Kubernetes / Security

Zero Trust Infrastructure for Kubernetes

K8s is a solution for IT organizations to deliver software efficiently and at scale, but it is not without its own security challenges.
Jun 20th, 2022 6:00am by Meredith Shubel
👁 Featued image for: Zero Trust Infrastructure for Kubernetes

Zero trust security is the buzzword on everyone’s lips today — and for good reason.

While the security model has been gaining traction in recent years, it quickly came to the forefront of everyone’s attention during the COVID-19 pandemic when stay-at-home orders spurred the sudden (and, for some, permanent) move to new remote and hybrid work models.

But it’s not just companies who are transitioning to remote or hybrid work that need to consider zero trust security; rather, it behooves all institutions, platforms, and infrastructures to turn their attention to these security principles. Particularly, for organizations with Kubernetes deployments, adopting a zero trust architecture will prove critical in ensuring security across all environments.

Kubernetes Security Challenges

Across industries, there’s an omnipresent cloud of pressure to be able to deliver software that can perform faster, more efficiently, and at a greater scale. Searching for robust portability and flexibility, many IT organizations have turned to Kubernetes (K8s) to help them efficiently meet these market demands.

But while K8s is a powerful solution for IT organizations to deliver their software efficiently and at scale, it is not without its own security challenges and vulnerabilities.

For one, simply because Kubernetes is a relatively new system, it is attractive prey for cyberattackers. This is compounded by the dynamic nature of its operating model, which can easily leave room open for bad actors to infiltrate if proper security measures are not taken.

Researchers from the Shadowserver Foundation found 380,000 open Kubernetes API servers that were exposed on the Internet this year alone. While these servers were only identified as exposed — not attacked — it is nonetheless a telling figure that indicates the vulnerability of and the potential danger to API servers.

In fact, Salt Security’s 2022 State of API Security reveals that 34% of examined enterprises have no API security strategy — even though 95% of them had their API security compromised in the last 12 months.

Zero Trust: Kubernetes’ Security Savior?

Faced with this frightening landscape, it’s clear that the industry needs a new solution to fortify Kubernetes deployments.

So, the question remains: How can organizations continue taking advantage of K8s’ many benefits while maintaining a strong security posture?

For many, it’s becoming clear that the answer is zero trust security.

What Is Zero Trust Security?

The zero trust security model was first developed by Forrester in 2009. At the time, it was a pioneering concept that turned the standard perspective of cybersecurity on its head.

With traditional security models, the status quo has long been “Trust, but verify.”

Zero trust security flips the script, instead, attesting, “Never trust; always verify.” This means that all users and devices must be indiscriminately checked and verified on an ongoing basis.

In the past, it was all about securing the perimeter. Once users were verified, they were granted access to the network and were generally trusted from that moment on once they were inside.

Zero trust means never establishing that moment of trust.

Instead, users and devices are always assumed to be compromised and so must be continuously authorized, authenticated, and attested in order to remain connected to the network or to take any action. This way, zero trust security’s preventative measures help organizations stay one step ahead of bad actors by always remaining cautionary and never letting their guards down.

Zero Trust Architecture for Kubernetes

The principles of zero trust security offer real solutions for Kubernetes security challenges — but achieving compliance presents a new challenge of its own.

It’s important to remember that zero trust security is simply a set of goals, not an exact tool; thusly, there are a number of different ways to achieve a zero trust architecture.

How, then, can the principles of zero trust be applied to Kubernetes?

It begins with securing the Kubernetes API server.

The server is the core of the control plane for each Kubernetes cluster. Because this API server is used to control all Kubernetes objects, ensuring secure API access is the cornerstone of securing controlled Kubernetes access and, thus, achieving zero trust Kubernetes.

In order to control and secure the API server, the first step is to moderate all incoming and outgoing traffic; this can be done via Transport Layer Security (TLS). Once all API server traffic is secured, Kubernetes provides all the necessary hooks to implement zero trust Kubernetes.

There are four main types of hooks, all of which are critical to successfully achieving zero trust architecture for Kubernetes: authentication; authorization; admission control; auditing, and logging.

Authentication

To uphold the zero trust security principles with Kubernetes, the first step is ensuring all users and services accounts are regularly authenticated. This means requiring authentication before any API call can be executed.

To achieve this authentication, organizations can turn to several available security models and plugins, e.g., client certificates, HTTP basic auth, and bearer tokens.

The zero trust model also recommends requiring multifactor authentication (MFA) to further double down security.

Authorization

Beyond having authentication, all users and services accounts must also have authorization.

This is a key principle of zero trust.

To maintain robust security, all users should remain limited in their actions — even after authentication. In other words, not all users should be allowed to do every task; rather, they should be granted just enough access to do what they need.

When it comes to zero trust Kubernetes, then, all users and services accounts who are accessing a Kubernetes cluster shouldn’t be permitted to perform just any action; instead, requests in Kubernetes should only be granted if the user (once authenticated) has explicit permission to carry out that requested task. To that end, each request should specify the requester’s username, the action that’s being requested, and the effects of that action.

Admission Control

Maintaining visibility into all users and actions is another important pillar of the zero trust model. This is why an admission controller is a key component of a zero trust architecture for Kubernetes.

With admission controllers, organizations can manage all requests that seek to create, modify, delete, or connect to any Kubernetes objects. Built-in admission controllers can help organizations implement actions and enforce their policies, while dynamic admission controllers can allow them to modify requests in real-time.

For a more refined security approach, it’s a good idea to employ multiple admission controllers in a system; there are many that are compatible with Kubernetes deployments, such as ResourceQuota and LimitRanger.

Auditing and Logging

In any genre of security posture, auditing is a foundational component of resiliency.

When it comes to zero trust for Kubernetes, auditing allows organizations to monitor all actions that are performed within Kubernetes clusters — those performed by users, applications, or even the control plane. Teams can then decide where they want to log these audited events, e.g., in the local file system or in an external logging system.

Proper auditing and logging practices also play a key role in ensuring Kubernetes infrastructures remain compliant with existing government policies.

Across diverse organizations, institutions, and platforms, zero trust security is emerging as a key player in cybersecurity health — and Kubernetes is certainly no exception.

TRENDING STORIES
Meredith Shubel is a technical writer covering cloud infrastructure and enterprise software. She has contributed to The New Stack since 2022, profiling startups and exploring how organizations adopt emerging technologies. Beyond The New Stack, she ghostwrites white papers, executive bylines,...
Read more from Meredith Shubel
SHARE THIS STORY
TRENDING STORIES
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.