Book description
Master the art of container management utilizing the power of Kubernetes.
About This Book
- This practical guide demystifies Kubernetes and ensures that your clusters are always available, scalable, and up to date
- Discover new features such as autoscaling, rolling updates, resource quotas, and cluster size
- Master the skills of designing and deploying large clusters on various cloud platforms
Who This Book Is For
The book is for system administrators and developers who have intermediate level of knowledge with Kubernetes and are now waiting to master its advanced features. You should also have basic networking knowledge. This advanced-level book provides a pathway to master Kubernetes.
What You Will Learn
- Architect a robust Kubernetes cluster for long-time operation
- Discover the advantages of running Kubernetes on GCE, AWS, Azure, and bare metal
- See the identity model of Kubernetes and options for cluster federation
- Monitor and troubleshoot Kubernetes clusters and run a highly available Kubernetes
- Create and configure custom Kubernetes resources and use third-party resources in your automation workflows
- Discover the art of running complex stateful applications in your container environment
- Deliver applications as standard packages
In Detail
Kubernetes is an open source system to automate the deployment, scaling, and management of containerized applications. If you are running more than just a few containers or want automated management of your containers, you need Kubernetes.
This book mainly focuses on the advanced management of Kubernetes clusters. It covers problems that arise when you start using container orchestration in production. We start by giving you an overview of the guiding principles in Kubernetes design and show you the best practises in the fields of security, high availability, and cluster federation.
You will discover how to run complex stateful microservices on Kubernetes including advanced features as horizontal pod autoscaling, rolling updates, resource quotas, and persistent storage back ends. Using real-world use cases, we explain the options for network configuration and provides guidelines on how to set up, operate, and troubleshoot various Kubernetes networking plugins. Finally, we cover custom resource development and utilization in automation and maintenance workflows.
By the end of this book, you'll know everything you need to know to go from intermediate to advanced level.
Style and approach
Delving into the design of the Kubernetes platform, the reader will be exposed to the advanced features and best practices of Kubernetes. This book will be an advanced level book which will provide a pathway to master Kubernetes
Table of contents
-
Mastering Kubernetes
- Table of Contents
- Mastering Kubernetes
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Preface
- 1. Understanding Kubernetes Architecture
- 2. Creating Kubernetes Clusters
- 3. Monitoring, Logging, and Troubleshooting
-
4. High Availability and Reliability
- High-availability concepts
- High-availability best practices
- Live cluster upgrades
- Large-cluster performance, cost, and design trade-offs
- Summary
- 5. Configuring Kubernetes Security, Limits, and Accounts
-
6. Using Critical Kubernetes Resources
- Designing the Hue platform
- Using Kubernetes to build the Hue platform
- Separating internal and external services
- Using namespace to limit access
- Launching jobs
- Kubectl get pods
- Mixing non-cluster components
- Employing init containers for orderly pod bring-up
- Evolving the Hue platform with Kubernetes
- Summary
-
7. Handling Kubernetes Storage
- Persistent volumes walkthrough
- Public storage volume types - GCE, AWS, and Azure
- GlusterFS and Ceph volumes in Kubernetes
- Flocker as a clustered container data volume manager
- Integrating enterprise storage into Kubernetes
- Summary
-
8. Running Stateful Applications with Kubernetes
- Stateful versus stateless applications in Kubernetes
- Shared environment variables versus DNS records for discovery
- Running a Cassandra cluster in Kubernetes
- Summary
-
9. Rolling Updates, Scalability, and Quotas
- Horizontal pod autoscaling
- Performing rolling updates with autoscaling
- Handling scarce resources with limits and quotas
- Choosing and managing the cluster capacity
- Pushing the envelope with Kubernetes
- Summary
-
10. Advanced Kubernetes Networking
- Understanding the Kubernetes networking model
- Kubernetes networking solutions
- Using network policies effectively
- Load balancing options
- Writing your own CNI plugin
- Summary
-
11. Running Kubernetes on Multiple Clouds and Cluster Federation
- Understanding cluster federation
- Managing a Kubernetes cluster federation
-
Setting up cluster federation from the ground up
- Initial setup
- Using the official hyperkube image
- Running the federation control plane
- Registering Kubernetes clusters with federation
- Updating KubeDNS
- Shutting down the federation
- Setting up cluster federation with Kubefed
- Running federated workloads
- Summary
-
12. Customizing Kubernetes - API and Plugins
- Working with the Kubernetes API
- Extending the Kubernetes API
- Writing Kubernetes plugins
- Writing an authorization plugin
- Summary
- 13. Handling the Kubernetes Package Manager
- 14. The Future of Kubernetes
- Index
Product information
- Title: Mastering Kubernetes
- Author(s):
- Release date: May 2017
- Publisher(s): Packt Publishing
- ISBN: 9781786461001
You might also like
book
Mastering Kubernetes
Exploit design, deployment, and management of large-scale containers About This Book Explore the latest features available …
book
Mastering Kubernetes - Third Edition
Go beyond simply learning Kubernetes fundamentals and its deployment, and explore more advanced concepts, including serverless …
book
Core Kubernetes
Take a deep dive into Kubernetes inner components and discover what really powers a Kubernetes cluster. …
video
Kubernetes Fundamentals
This is a crash course on Kubernetes, designed for those new to Kubernetes and for those …