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. Based on the experiences of companies that are running Kubernetes in production successfully, many of the methods are also backed by concrete code examples.
This book is ideal for those already familiar with basic Kubernetes concepts who want to learn common 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
- Understand Kubernetes networking policies and where service mesh fits in
- Integrate services and legacy applications and develop higher-level platforms on top of Kubernetes
- Run machine learning workloads in Kubernetes
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 an EFK 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 and 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. Conclusion
- Index
Product information
- Title: Kubernetes Best Practices
- Author(s):
- Release date: November 2019
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492056478
You might also like
book
Kubernetes Best Practices, 2nd Edition
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 …
book
Kubernetes in Action
Kubernetes in Action is a comprehensive guide to effectively developing and running applications in a Kubernetes …
video
Kubernetes Microservices
See it. Learn it. Do it! Microservices designs require you to change how you build and …