Kustomize — template-free way to customize Kubernetes manifests.
1# kustomization.yaml2apiVersion: kustomize.config.k8s.io/v1beta13kind: Kustomization4resources:5- deployment.yaml6- service.yaml7namePrefix: prod-8namespace: production9commonLabels:10 env: production11 team: platform12patches:13- target:14 kind: Deployment15 name: myapp16 patch: |17 - op: replace18 path: /spec/replicas19 value: 320 - op: add21 path: /spec/template/spec/containers/0/resources/limits/memory22 value: "512Mi"23configMapGenerator:24- name: app-config25 literals:26 - LOG_LEVEL=info27secretGenerator:28- name: app-secrets29 literals:30 - DB_PASSWORD=secret123
1# Preview output2kubectl kustomize .34# Apply5kubectl apply -k .
vs Helm: