Helm V4 in Practice - couverture du livre

Helm V4 in Practice

Concevoir, déployer et exploiter des applications Kubernetes à grande échelle

Formats : Cours en ligne

Ce que vous apprendrez

À propos de ce livre

Un guide de Helm dans son contexte plutôt qu'isolé : la bibliothèque, l'écosystème autour d'elle, et les idées qui tiennent l'ensemble. Il s'attache à la façon dont Helm se comporte en pratique, pas seulement aux commandes à taper.

Il vous mène des fondamentaux à l'exploitation, au débogage et à la conception de systèmes fondés sur Helm en production : comment Helm modélise l'état et suit les releases, ce qui se passe pendant une installation, une mise à jour, un retour arrière et une désinstallation, la structure d'un chart du plus simple au chart de production avec dépendances, sous-charts, CRD et ordonnancement des hooks, les fichiers de valeurs et leurs schémas, l'historique des révisions, les exécutions à blanc et les manifestes rendus pour le débogage, la provenance et la signature, la distribution par registres OCI, et l'endroit où les responsabilités de Helm rencontrent celles d'Argo CD dans un flux GitOps.

Table des matières

  1. Preface
    • Who This Guide Is For
    • What You Will Learn
    • About the Author
    • Join the Community
    • Your Feedback Matters
  2. How to Use This Guide
    • The Companion Kit
    • Conventions Used in This Guide
  3. Setting up the Environment
    • The Infrastructure
    • The Application
    • The Container Image
    • The Platform
  4. Introduction to Helm
    • What is Helm?
    • How to Install Helm
    • Charts, Releases, and Repositories
    • Helm Plugins
  5. Helm Repositories and OCI Registries
    • Helm Chart Repositories
    • Helm OCI Registries
    • Chart Repositories vs. OCI Registries
  6. Configuring and Customizing Helm
    • Helm Environment Variables
    • Repository and Registry Config Paths
    • Helm Data Paths and Plugins
    • Kubernetes Authentication and Connection
    • The Default Namespace
    • Kubernetes API Rate Limiting
    • Debugging and Colored Output
    • Configuration Using CLI Flags
    • Summary of Helm Environment Variables
  7. Chart Dependencies
    • Chart Dependencies
  8. Understanding Helm Chart Installation and Management
    • Installing from a Specific Repository
    • Using a Chart with Custom Configurations
    • Using a Chart with a Custom Configuration File
    • Install a Chart from a Local Tarball
    • Installing a Chart from a Local Directory
    • Default Helm Labels
    • Understanding What's Installed and How
    • Install a Chart in a Specific Namespace
    • Understanding Chart Versions and Upgrading Releases
    • Viewing Release
    • Viewing Release History
    • Uninstalling a Release
  9. Creating, Developing, and Testing a Helm Chart
    • Deploying a Registry
    • The Starter Template
    • Customizing the Chart and Pushing the Image
    • Creating a Testing Pod
    • Adding a Secret for Image Pulling
    • Updating the Values File
    • Generating a Schema for Values File
    • Linting the Chart
    • Dry Run Template Rendering
    • Installing and Testing the Chart Locally
    • Packaging and Distributing the Chart
    • Installation from a Remote Registry
    • Versioning and Deprecating Charts
  10. Understanding Complex Helm Charts: Dependencies, CRDs, Lifecycle, Ordering, and Hooks
    • Understanding Helm Dependencies
    • Handling Custom Resource Definitions (CRDs) in Helm
    • Helm Release Lifecycle and Hooks
    • The Order of Operations
    • The Overall Installation Workflow
    • The Upgrade Workflow
    • Helm Rollback Workflow
    • Uninstall Workflow
    • Helm and PVC Deletion: Direct vs. StatefulSet Behavior
  11. A Practical Guide to Building Multi-Service Applications with Helm
    • A Quick Recap and Moving Forward
    • Creating the Helm Chart
    • Building the Chart
    • Deploying the Application
    • Managing Dependencies
    • Cleanup
  12. Provenance and Integrity in Helm Charts
    • What Provenance Means and Why It Matters
    • How Helm Implements Provenance
    • How Signing and Verification Work
    • Signing Charts
    • Verifying Charts Before Installation
    • Publishing a Signed Chart to a Repository
    • Publishing Signed Charts to an OCI Registry
  13. GitOps: Cloud Native Continuous Delivery
    • GitOps: Introduction and Definitions
    • GitOps: Benefits and Drawbacks
    • GitOps: Tools and Ecosystem
    • Helm and GitOps
  14. GitOps with Helm and Argo CD
    • Argo CD, the Popular GitOps Tool
    • Argo CD: Installation and Configuration
    • Argo CD: Deploying an Application
    • Argo CD: Automated Synchronization and Self-Healing
    • Rollback with Argo CD
    • The Declarative Way of Managing Argo CD Applications
    • Argo CD: Configuration Management Using Helm
    • Argo CD: Managing Different Environments
    • Argo CD Application Hooks and Pitfalls to Avoid
  15. Afterword
    • Let's Stay Connected
    • Feedback

Pour qui

Ingénieurs qui déploient des applications Kubernetes avec Helm et veulent raisonner sur son comportement plutôt que mémoriser des commandes.

À propos de l'auteur

Aymen El Amri est ingénieur logiciel, auteur et maker. Il dirige eralabs, a construit FAUN.dev, et écrit sur les systèmes cloud native, l'ingénierie de l'IA et les outils pour développeurs (developer tooling). Qui est Aymen.

Du même auteur