Book description
In this practical guide, four Kubernetes professionals with deep experience in distributed systems, enterprise application development, and open source will guide you through the process of building applications with this container orchestration system. They distill decades of experience from companies that are successfully running Kubernetes in production and provide concrete code examples to back the methods presented in this book.
Revised to cover all the latest Kubernetes features, new tooling, and deprecations, this book is ideal for those who are familiar with basic Kubernetes concepts but want to get up to speed on the latest best practices. You'll learn exactly what you need to know to build your best app with Kubernetes the first time.
- Set up and develop applications in Kubernetes
- Learn patterns for monitoring, securing your systems, and managing upgrades, rollouts, and rollbacks
- Integrate services and legacy applications and develop higher-level platforms on top of Kubernetes
- Run machine learning workloads in Kubernetes
- Ensure pod and container security
- Understand issues that have become increasingly critical to the successful implementation of Kubernetes, such as chaos engineering/testing, GitOps, service mesh, and observability
Publisher resources
Table of contents
- Preface
-
1. Setting Up a Basic Service
- Application Overview
- Managing Configuration Files
- Creating a Replicated Service Using Deployments
- Setting Up an External Ingress for HTTP Traffic
- Configuring an Application with ConfigMaps
- Managing Authentication with Secrets
- Deploying a Simple Stateful Database
- Creating a TCP Load Balancer by Using Services
- Using Ingress to Route Traffic to a Static File Server
- Parameterizing Your Application by Using Helm
- Deploying Services Best Practices
- Summary
- 2. Developer Workflows
-
3. Monitoring and Logging in Kubernetes
- Metrics Versus Logs
- Monitoring Techniques
- Monitoring Patterns
- Kubernetes Metrics Overview
- What Metrics Do I Monitor?
- Monitoring Tools
- Monitoring Kubernetes Using Prometheus
- Logging Overview
- Tools for Logging
- Logging by Using a Loki-Stack
- Alerting
- Best Practices for Monitoring, Logging, and Alerting
- Summary
- 4. Configuration, Secrets, and RBAC
- 5. Continuous Integration, Testing, and Deployment
- 6. Versioning, Releases, and Rollouts
- 7. Worldwide Application Distribution and Staging
- 8. Resource Management
- 9. Networking, Network Security, and Service Mesh
- 10. Pod and Container Security
- 11. Policy and Governance for Your Cluster
- 12. Managing Multiple Clusters
- 13. Integrating External Services with Kubernetes
- 14. Running Machine Learning in Kubernetes
- 15. Building Higher-Level Application Patterns on Top of Kubernetes
- 16. Managing State and Stateful Applications
- 17. Admission Control and Authorization
- 18. GitOps and Deployment
- 19. Security
- 20. Chaos Testing, Load Testing, and Experiments
- 21. Implementing an Operator
- 22. Conclusion
- Index
- About the Authors
Product information
- Title: Kubernetes Best Practices
- Author(s):
- Release date: October 2023
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098142162
You might also like
book
Kubernetes Best Practices
In this practical guide, four Kubernetes professionals with deep experience in distributed systems, enterprise application development, …
book
Kubernetes in Production Best Practices
Design, build, and operate scalable and reliable Kubernetes infrastructure for production Key Features Implement industry best …
video
Kubernetes Microservices
See it. Learn it. Do it! Microservices designs require you to change how you build and …
book
Kubernetes Cookbook
Kubernetes is becoming the de-facto standard for container orchestration and distributed applications management across a microservices …