Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learn Kubernetes Security

You're reading from  Learn Kubernetes Security

Product type Book
Published in Jul 2020
Publisher Packt
ISBN-13 9781839216503
Pages 330 pages
Edition 1st Edition
Languages
Authors (2):
Kaizhe Huang Kaizhe Huang
Profile icon Kaizhe Huang
Pranjal Jumde Pranjal Jumde
Profile icon Pranjal Jumde
View More author details

Table of Contents (19) Chapters

Preface 1. Section 1: Introduction to Kubernetes
2. Chapter 1: Kubernetes Architecture 3. Chapter 2: Kubernetes Networking 4. Chapter 3: Threat Modeling 5. Chapter 4: Applying the Principle of Least Privilege in Kubernetes 6. Chapter 5: Configuring Kubernetes Security Boundaries 7. Section 2: Securing Kubernetes Deployments and Clusters
8. Chapter 6: Securing Cluster Components 9. Chapter 7: Authentication, Authorization, and Admission Control 10. Chapter 8: Securing Kubernetes Pods 11. Chapter 9: Image Scanning in DevOps Pipelines 12. Chapter 10: Real-Time Monitoring and Resource Management of a Kubernetes Cluster 13. Chapter 11: Defense in Depth 14. Section 3: Learning from Mistakes and Pitfalls
15. Chapter 12: Analyzing and Detecting Crypto-Mining Attacks 16. Chapter 13: Learning from Kubernetes CVEs 17. Assessments 18. Other Books You May Enjoy

Summary

In this chapter, we covered how to harden a container image with CIS Docker benchmarks, and then we gave a detailed introduction to the security attributes of Kubernetes workloads. Next, we looked at the PodSecurityPolicy in detail and introduced the kube-psp-advisor open source tool, which facilitates the establishment of pod security policies.

Securing Kubernetes workloads is not a one-shot thing. Security controls need to be applied from the build, deployment, and runtime stages. It starts with hardening container images, and then configuring security attributes of Kubernetes workloads in a secure way. This happens at the build stage. It is also important to build adaptive pod security policies for different Kubernetes workloads. The goal is to restrict most of the workloads to run with limited privileges, while allowing only a few workloads to run with extra privileges, and without breaking workload availability. This happens at the runtime stage. kube-psp-advisor is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}