Kubernetes best practices blueprints for building successful applications on Kubernetes
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 compan...
Otros Autores: | , , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly Media, Inc
2023.
|
Edición: | Second edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009769031706719 |
Tabla de Contenidos:
- Cover
- Copyright
- Table of Contents
- Preface
- Who Should Read This Book
- Why We Wrote This Book
- Navigating This Book
- New to This Edition
- Conventions Used in This Book
- Using Code Examples
- O'Reilly Online Learning
- How to Contact Us
- Acknowledgments
- Chapter 1. Setting Up a Basic Service
- Application Overview
- Managing Configuration Files
- Creating a Replicated Service Using Deployments
- Best Practices for Image Management
- Creating a Replicated Application
- 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
- Chapter 2. Developer Workflows
- Goals
- Building a Development Cluster
- Setting Up a Shared Cluster for Multiple Developers
- Onboarding Users
- Creating and Securing a Namespace
- Managing Namespaces
- Cluster-Level Services
- Enabling Developer Workflows
- Initial Setup
- Enabling Active Development
- Enabling Testing and Debugging
- Setting Up a Development Environment Best Practices
- Summary
- Chapter 3. Monitoring and Logging in Kubernetes
- Metrics Versus Logs
- Monitoring Techniques
- Monitoring Patterns
- Kubernetes Metrics Overview
- cAdvisor
- Metrics Server
- kube-state-metrics
- 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
- Monitoring
- Logging
- Alerting
- Summary
- Chapter 4. Configuration, Secrets, and RBAC
- Configuration Through ConfigMaps and Secrets
- ConfigMaps
- Secrets
- Common Best Practices for the ConfigMap and Secrets APIs
- Best Practices Specific to Secrets
- RBAC
- RBAC Primer
- RBAC Best Practices
- Summary
- Chapter 5. Continuous Integration, Testing, and Deployment
- Version Control
- Continuous Integration
- Testing
- Container Builds
- Container Image Tagging
- Continuous Deployment
- Deployment Strategies
- Testing in Production
- Setting Up a Pipeline and Performing a Chaos Experiment
- Setting Up CI
- Setting Up CD
- Performing a Rolling Upgrade
- A Simple Chaos Experiment
- Best Practices for CI/CD
- Summary
- Chapter 6. Versioning, Releases, and Rollouts
- Versioning
- Releases
- Rollouts
- Putting It All Together
- Best Practices for Versioning, Releases, and Rollouts
- Summary
- Chapter 7. Worldwide Application Distribution and Staging
- Distributing Your Image
- Parameterizing Your Deployment
- Load-Balancing Traffic Around the World
- Reliably Rolling Out Software Around the World
- Pre-Rollout Validation
- Canary Region
- Identifying Region Types