Kubernetes Security Guide

By on April 4, 2018
Kubernetes Security Guide

In this Kubernetes security guide we want to compile the most significant aspects of implementing Kubernetes security best practices.

Kubernetes security, like monitoring or CI/CD is becoming a must as a consequence of this platform quickly gaining reputation as the defacto standard for modern containerized deployments.

Unfortunately, traditional security processes need to be updated for Kubernetes; legacy security tools that were not built for containers cannot look inside, analyze or protect containers, microservices and cloud-native apps. Containers are like black boxes, useful for moving applications from development into production. They provide a great level of portability and isolation. But makes harder to understand what’s happening inside, monitor and secure them. Microservices help to develop applications faster and orchestration tools like Kubernetes allow to deploy and dynamically scale the apps, but now we have different pieces moving around, therefore we must take a more dynamic security approach.

Furthermore, many organizations are adopting security best practices and implementing DevSecOps processes, where everyone is responsible for security and, security is implemented from early development stages into production through the entire software supply chain, this also known as Continuous Security.

So, moving Kubernetes to production implies new infrastructure layers, new components, new procedures and therefore new security processes and tools. This security guide will help you to implement Kubernetes security, mostly focused around Kubernetes specific security features and its configuration, but also some additionals tools that will go beyond what Kubernetes can do.

We have covered the following topics:

We are still working on a few new chapters, to cover static container image scanning, secret management and Kubernetes audit and compliance, stay tuned for updates!

You can use this guide as comprehensive read if you are new to Kubernetes security or as a quick reference document / cheat sheet if you are looking at implementing specific Kubernetes security best practices.

If you are new into Docker and container security, as a prerequisite for this guide, we recommend you to check out 7 Docker security vulnerabilities and threats.

Additionally, we also wrote some real stories about Kubernetes security incidents that will help you understand the threats that you need to consider:




Eager to learn how different security tools compare? Check our webinar Comparing Docker Security tools

We ran a webinar discussing and comparing some of the most interesting container security tools, join this session to learn:

  • How to secure Docker containers and what are the best practices
  • Why you need to both static and dynamic (run-time) scanning or your images
  • What other container security measures and policies we can implement
  • Demo: how configure and implement the basics with the most important tools in this list and how they compare

Join Comparing Docker Security tools webinar


Stay up to date!

Get new articles from this blog (weekly)
Or container ecosystem updates (monthly)

Thanks so much for signing up!
Please check your inbox for a confirmation email.