Managing Kubernetes Environments Efficiently with Kustomize

<p>A few weeks ago, I was working on a project that involved using AWS Elastic Kubernetes Service (<a href="https://aws.amazon.com/eks/" rel="noopener ugc nofollow" target="_blank">EKS</a>) to deploy an application across multiple environments. To create my development, staging, and production environments, I found myself copying and pasting several manifest files, making only a few changes each time. In many cases, it was just the resource name, namespace, or labels that needed modification.</p> <p>The drawback of this approach became apparent when I needed to add a container or change a port. I had to propagate these changes across all environments.</p> <p>That&rsquo;s when I discovered Kustomize, a native Kubernetes configuration management tool that&rsquo;s incredibly easy to use. It is natively integrated from Kubectl version 1.14. Kustomize allows you to customize YAML files while preserving the original files. It also enables you to generate resources like ConfigMaps or Secrets from other representations.</p> <p><a href="https://medium.com/@tod01/managing-kubernetes-environments-efficiently-with-kustomize-b9678e220c81"><strong>Website</strong></a></p>