Book description
Exploit design, deployment, and management of large-scale containers
About This Book- Explore the latest features available in Kubernetes 1.10
- Ensure that your clusters are always available, scalable, and up to date
- Master the skills of designing and deploying large clusters on various cloud platforms
Mastering Kubernetes is for you if you are a system administrator or a developer who has an intermediate understanding of Kubernetes and wish to master its advanced features. Basic knowledge of networking would also be helpful. In all, this advanced-level book provides a smooth pathway to mastering 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
- Understand the identity model of Kubernetes, along with the 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
- Enjoy the art of running complex stateful applications in your container environment
- Deliver applications as standard packages
Kubernetes is an open source system that is used to automate the deployment, scaling, and management of containerized applications. If you are running more containers or want automated management of your containers, you need Kubernetes at your disposal. To put things into perspective, Mastering Kubernetes walks you through the advanced management of Kubernetes clusters.
To start with, you will learn the fundamentals of both Kubernetes architecture and Kubernetes design in detail. You will discover how to run complex stateful microservices on Kubernetes including advanced features such as horizontal pod autoscaling, rolling updates, resource quotas, and persistent storage backend. Using real-world use cases, you will explore the options for network configuration, and understand how to set up, operate, and troubleshoot various Kubernetes networking plugins. In addition to this, you will get to grips with custom resource development and utilization in automation and maintenance workflows.
To scale up your knowledge of Kubernetes, you will encounter some additional concepts based on the Kubernetes 1.10 release, such as Promethus, Role-based access control, API aggregation, and more. By the end of this book, you'll know everything you need to graduate from intermediate to advanced level of understanding Kubernetes.
Style and approachDelving into the design of the Kubernetes platform, the reader will be exposed to Kubernetes advanced features and best practices. This advanced-level book will provide a pathway to mastering Kubernetes.
Publisher resources
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Understanding Kubernetes Architecture
- Creating Kubernetes Clusters
- Monitoring, Logging, and Troubleshooting
-
High Availability and Reliability
- High-availability concepts
- High-availability best practices
- Live cluster upgrades
- Large-cluster performance, cost, and design trade-offs
- Summary
- Configuring Kubernetes Security, Limits, and Accounts
- Using Critical Kubernetes Resources
-
Handling Kubernetes Storage
- Persistent volumes walk-through
- 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
- Projecting volumes
- Using out-of-tree volume plugins with FlexVolume
- The Container Storage Interface
- Summary
-
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
-
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
-
Advanced Kubernetes Networking
- Understanding the Kubernetes networking model
- Kubernetes networking solutions
- Using network policies effectively
- Load balancing options
- Træfic
- Writing your own CNI plugin
- Summary
-
Running Kubernetes on Multiple Clouds and Cluster Federation
-
Understanding cluster federation
- Important use cases for cluster federation
- The federation control plane
- Federated resources
- The hard parts
-
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 the federation
- Updating KubeDNS
- Shutting down the federation
- Setting up cluster federation with Kubefed
- Running federated workloads
- Summary
-
Understanding cluster federation
-
Customizing Kubernetes – API and Plugins
- Working with the Kubernetes API
- Extending the Kubernetes API
- Writing Kubernetes plugins
- Employing access control webhooks
- Summary
- Handling the Kubernetes Package Manager
- The Future of Kubernetes
- Other Books You May Enjoy
Product information
- Title: Mastering Kubernetes
- Author(s):
- Release date: April 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788999786
You might also like
book
Mastering Kubernetes - Third Edition
Go beyond simply learning Kubernetes fundamentals and its deployment, and explore more advanced concepts, including serverless …
book
Kubernetes: Up and Running, 2nd Edition
Kubernetes radically changes the way applications are built and deployed in the cloud. Since its introduction …
book
Core Kubernetes
Take a deep dive into Kubernetes inner components and discover what really powers a Kubernetes cluster. …
book
Kubernetes in Action
Kubernetes in Action is a comprehensive guide to effectively developing and running applications in a Kubernetes …