Rely on this comprehensive guide to understand the extension patterns and discover the extension plugins for Kubernetes.
2,073 160 4MB
English Pages 247 Year 2021
Table of contents :
Table of Contents
About the Author
About the Technical Reviewer
Introduction
Chapter 1: Introduction
Kubernetes Recap
Control Plane Components
kube-apiserver
etcd
kube-scheduler
kube-controller-manager
cloud-controller-manager
Node Components
kubelet
kube-proxy
Configuring the Kubernetes Cluster
Kubernetes Extension Patterns
Controller
Webhook
Binary Plugin
Kubernetes Extension Points
Key Takeaways
Chapter 2: kubectl Plugins
kubectl Installation and Usage
kubectl Plugin Design
Create Your First kubectl Plugins
Plugin Repository: krew
Key Takeaways
Chapter 3: API Flow Extensions
Kubernetes API Flow
Authentication
Authorization
Admission Control
Authentication Webhooks
Kubernetes API Server Configuration
Webhook Server
Authorization Webhooks
Kubernetes API Server Configuration
Webhook Server
Dynamic Admission Controllers
Webhook Configuration Resources
Webhook Server
Key Takeaways
Chapter 4: Extending the Kubernetes API
Kubernetes API Overview
API Versioning
API Groups
Extension Points in Kubernetes API
CustomResourceDefinitions
API Server Aggregation
Kubernetes Client Libraries
Custom Resource Definitions and Controllers
Operator Pattern in Kubernetes
kubebuilder Framework
Aggregated API and Extension Servers
Key Takeaways
Chapter 5: Scheduling Extensions
Kubernetes Scheduler Overview
Scheduling Framework
Extension Points
Configure and Manage Multiple Schedulers
Scheduler Extenders
Configuration Details
Scheduler Extender API
Filter
Prioritize
Preempt
Bind
Key Takeaways
Chapter 6: Infrastructure Extensions
Cloud-Native Infrastructure
Storage Plugins
Container Storage Interface (CSI)
CSI Plugins in Kubernetes
CSI Hostpath Driver in Action
Network Plugins
Kubernetes Network Model
Container Network Interface (CNI)
CNI Plugins in Kubernetes
Calico CNI Plugin in Action
Device Plugins
Device Plugin API
Development and Deployment of a Device Plugin
Key Takeaways
Chapter 7: Upcoming Extension Points
Service Catalog
Cluster API
Key Takeaways
Conclusion
Index