Extending Kubernetes elevate Kubernetes with extension patterns, operators, and plugins - Yilmaz, Onur (Apress, 2021)
Rely on this comprehensive guide to understand the extension patterns and discover the extension plugins for Kubernetes.In this book, state-of-the-art extension patterns and extension points of Kubernetes are covered in depth with real-life use cases and examples. There are comprehensive discussions in the text on all possible aspects of Kubernetes, starting from end-user to the fully-automated controller development. The book focuses on creating applications that work on Kubernetes and also interact and operate Kubernetes itself.The book starts with a recap of Kubernetes, its rich configuration options, extension patterns, and points. The journey of extending Kubernetes starts with the CLI tool plugins. By the end of this section, you will be able to create and manage kubectl plugins. Then, the API access plugins with authentication and authorization webhooks are presented. In this section, you will learn how to extend and interfere with the API flow of Kubernetes. . - You then move on to learn how to extend Kubernetes API with new resources and controllers. You will make Kubernetes API work for you by creating a Kubernetes operator. Extensions for Kubernetes schedulers are covered to create a custom scheduler and run it side-by-side with the default scheduler. Finally, the last extension points will be discussed for the infrastructure, such as networking or storage. At the end of the text, you will learn the upcoming extension points. This book is designed to cover all the extension points of Kubernetes with state-of-the-art implementations. This book is intended for those who wish to understand Kubernetes in depth and go further by making Kubernetes work for their custom requirements. By the end of this book, readers with a cloud-native mindset will broaden their vision to create future-proof applications. . - Rather than focus on overwhelming theoretical information and YAML files for Kubernetes resources, readers are provided with the philosophy behind K
Chapter 1: Introduction ; Chapter Goal: Provide an introduction to Kubernetes, configuration options, extension patterns, and extension points with real-life use cases; No of pages: 25-30 ; Sub-Topics:; 1. Kubernetes Recap; 2. Configuring Kubernetes Cluster; 3. Kubernetes Extension Patterns; 4. Kubernetes Extension Points; ; Chapter 2: kubectl plugins ; Chapter Goal: Understand how to extend Kubernetes CLI tool, kubectl, for the custom requirements. How to develop, install and release new plugins for kubectl; No of pages: 30-35 ; Sub-Topics:; - kubectl Installation and Usage; - kubectl Plugin Design; - Create Your First kubectl Plugin; - Plugin Repository and Lifecycle; ; Chapter 3: API Flow Extensions; Chapter Goal: Understand the flow of Kubernetes API server to handle requests.
- Learn how to extend the flow with authentication, authorization, and admission controls.; No of pages: 25-30 ; Sub -Topics:; - Authentication Webhooks; Authorization Webhooks - Dynamic Admission Control; ; Chapter 4: Extending Kubernetes API; Chapter Goal: Discuss how Kubernetes API can be extended with custom resources and the automation of the custom resources, namely operators.; No of pages: 50-55 ; Sub-Topics:; - Kubernetes API Overview; - Kubernetes Client Libraries; - Custom Resources in Kubernetes; - Operator Pattern in Kubernetes; - kubebuilder Framework; - Operators in Action; ; ; Chapter 5: Scheduler Extensions; Chapter Goal: Learn how Kubernetes scheduling mechanism works and how it could be extended.
- Write, deploy, and use a custom scheduler for Kubernetes cluster.; No of pages: 35-40 ; Sub-Topics:; - Kubernetes Scheduler Overview; Develop and Deploy a Custom Scheduler - Configure and Manage Multiple Schedulers ; ; Chapter 6: Infrastructure Extensions; Chapter Goal: Discover how Kubernetes interacts with the infrastructure in terms of storage and networking. Learn how to extend Kubernetes clusters with new pod networking and volume drivers.; No of pages: 25-30 ; Sub-Topics:; - Storage Plugins; - Network Plugins (They are still in development, and in alpha stage, if they become stable, it is an excellent asset to have in the book) ; ; Chapter 7: Upcoming Extension Points; Chapter Goal: Summarize the extension points of Kubernetes and discuss the upcoming trends and libraries in the market.; No of pages: 20-25