Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
The Kubernetes Book

You're reading from   The Kubernetes Book The fastest way to get your head around Kubernetes

Arrow left icon
Product type Hardcover
Published in Jul 2024
Publisher
ISBN-13 9781835880302
Length 330 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Nigel Poulton Nigel Poulton
Author Profile Icon Nigel Poulton
Nigel Poulton
Pushkar Joglekar Pushkar Joglekar
Author Profile Icon Pushkar Joglekar
Pushkar Joglekar
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

1. 0: Preface FREE CHAPTER 2. 1: Kubernetes primer 3. 2: Kubernetes principles of operation 4. 3: Getting Kubernetes 5. 4: Working with Pods 6. 5: Virtual clusters with Namespaces 7. 6: Kubernetes Deployments 8. 7: Kubernetes Services 9. 8: Ingress 10. 9: WebAssembly on Kubernetes 11. 10: Service discovery deep dive 12. 11: Kubernetes storage 13. 12: ConfigMaps and Secrets 14. 13: StatefulSets 15. 14: API security and RBAC 16. 15: The Kubernetes API 17. 16: Threat modeling Kubernetes 18. 17: Real-world Kubernetes security 19. Terminology
20. Outro 21. More from the author

API security big picture

All of the following make CRUD-style requests to the API server (create, read, update, delete):

  • Operators and developers using kubectl
  • Pods
  • Kubelets
  • Control plane services
  • Kubernetes-native apps

Figure 14.1 shows the flow of a typical API request passing through the standard checks. The flow is the same, no matter where the request originates.

Figure 14.1
Figure 14.1

Consider a quick example where a user called grant-ward is trying to create a Deployment called hive in the terran Namespace.

User grant-ward issues a kubectl apply command to create the Deployment in the terran Namespace. The kubectl command-line tool generates a request to the API server with the user’s credentials embedded. The connection between kubectl and the API server is secured by TLS. As soon as the request reaches the API server, the authentication module determines whether the request originates from grant-ward or an imposter. Assuming it is grant-ward...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
The Kubernetes Book
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 €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon