The Kubernetes Workshop: Learn how to build and run highly scalable workloads on Kubernetes
- Length: 909 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2020-09-24
- ISBN-10: 1838820752
- ISBN-13: 9781838820756
- Sales Rank: #1051364 (See Top 100 Books)
From building your own cluster to running cloud-native applications with Kubernetes, this workshop covers it all using engaging examples and activities
Key Features
- Explore the Kubernetes environment and understand how containers are managed
- Learn how to build, maintain, and deploy cloud-native applications using Kubernetes
- Get to grips with using Kubernetes primitives to manage the life cycle of a full application stack
Book Description
Thanks to its extensive support for managing hundreds of containers that run cloud-native applications, Kubernetes is the most popular open source container orchestration platform that makes cluster management easy. This workshop adopts a practical approach to get you acquainted with the Kubernetes environment and its applications.
Starting with an introduction to the fundamentals of Kubernetes, you’ll install and set up your Kubernetes environment. You’ll understand how to write YAML files and deploy your first simple web application container using Pod. You’ll then assign human-friendly names to Pods, explore various Kubernetes entities and functions, and discover when to use them. As you work through the chapters, this Kubernetes book will show you how you can make full-scale use of Kubernetes by applying a variety of techniques for designing components and deploying clusters. You’ll also get to grips with security policies for limiting access to certain functions inside the cluster. Toward the end of the book, you’ll get a rundown of Kubernetes advanced features for building your own controller and upgrading to a Kubernetes cluster without downtime.
By the end of this workshop, you’ll be able to manage containers and run cloud-based applications efficiently using Kubernetes.
What you will learn
- Get to grips with the fundamentals of Kubernetes and its terminology
- Share or store data in different containers running in the same pod
- Create a container image from an image definition manifest
- Construct a Kubernetes-aware continuous integration (CI) pipeline for deployments
- Attract traffic to your app using Kubernetes ingress
- Build and deploy your own admission controller
Who this book is for
Whether you are new to the world of web programming or are an experienced developer or software engineer looking to use Kubernetes for managing and scaling containerized applications, you’ll find this workshop useful. A basic understanding of Docker and containerization is necessary to make the most of this book.
Table of Contents
- Introduction to Kubernetes and Containers
- An Overview of Kubernetes
- kubectl – Kubernetes Command Center
- How to Communicate with Kubernetes (API Server)
- Pods
- Labels and Annotations
- Kubernetes Controllers
- Service Discovery
- Storing and Reading Data on Disk
- ConfigMaps and Secrets
- Build Your Own HA Cluster
- Your Application and HA
- Runtime and Network Security in Kubernetes
- Running Stateful Components in Kubernetes
- Monitoring and Autoscaling in Kubernetes
- Kubernetes Admission Controllers
- Advanced Scheduling in Kubernetes
- Upgrading Your Cluster without Downtime
- Custom Resource Definitions in Kubernetes