Chapter 8: Introducing Kustomize for Kubernetes

In the previous chapter, we learned how to install, use, and create kubectl plugins.

In this chapter, let's learn how to use Kustomize for Kubernetes. Kustomize allows us to patch Kubernetes templates without changing the application's original templates. We are going to learn about Kustomize and how to patch Kubernetes deployments with its help.

In this chapter, we're going to cover the following main topics:

  • Introduction to Kustomize
  • Patching Kubernetes deployment

Introduction to Kustomize

Kustomize uses overlays for Kubernetes manifests to add, remove, or update configuration options without forking. What Kustomize does is take a Kubernetes template, patch it with specified changes in kustomization.yaml ...

Get kubectl: Command-Line Kubernetes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.