kustomize
Kubernetes customization plugin that validates Kustomize overlays with a build check and bundled skills.
- CCM score
- 41 of 100
- GitHub stars
- 201
Own this plugin? Claim it
What it does
- Adds three skills (
kustomize-basics,kustomize-generators,kustomize-overlays) and ahooks.jsonhook for Kustomize work - Covers patch-based customization without templates, ConfigMap and Secret generation, and environment-specific overlays
- Validates any directory containing
kustomization.yamlby runningkustomize buildthrough the hook - Designed for teams managing per-environment Kubernetes configuration with Kustomize overlays and patches
Kustomize configuration validation for Kubernetes customization
Add marketplace
/plugin marketplace add TheBushidoCollective/hanRun it inside Claude Code once, then install the plugin below.
Install
/plugin install kustomize@hanRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceKustomize Basics
Kubernetes configuration customization without templates.
Basic Structure
app/
├── base/
│ ├── kustomization.yaml
│ ├── deployment.yaml
│ └── service.yaml
└── overlays/
├── development/
│ └── kustomization.yaml
└── production/
└── kustomization.yaml
Base Kustomization
# base/kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
commonLabels:
app: myapp
namePrefix: myapp-
images:
- name: myapp
newTag: v1.0.0
Overlay Kustomization
# overlays/production/kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
replicas:
- name: myapp-deployment
count: 5
images:
- name: myapp
newTag: v2.0.0
patches:
- patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp-deployment
spec:
template:
spec:
containers:
- name: myapp
resources:
limits:
memory: "1Gi"
cpu: "1000m"
Common Commands
# Build kustomization
kustomize build base/
# Build overlay
kustomize build overlays/production/
# Apply with kubectl
kubectl apply -k overlays/production/
# Diff before apply
kubectl diff -k overlays/production/
Transformers
Common Labels
commonLabels:
app: myapp
environment: production
Name Prefix/Suffix
namePrefix: prod-
nameSuffix: -v2
Namespace
namespace: production
Config Map Generator
configMapGenerator:
- name: app-config
files:
- config.properties
literals:
- LOG_LEVEL=info
Secret Generator
secretGenerator:
- name: app-secrets
literals:
- password=secret123
Best Practices
Use Bases for Common Configuration
Keep common configuration in base and environment-specific in overlays.
Strategic Merge Patches
patches:
- path: patch-deployment.yaml
JSON Patches
patchesJson6902:
- target:
group: apps
version: v1
kind: Deployment
name: myapp
patch: |-
- op: replace
path: /spec/replicas
value: 3
Readme
Kustomize
Kustomize configuration validation for Kubernetes customization.
Features
- Validates Kustomize configurations with
kustomize build - Provides skills for working with Kustomize
Requirements
Install Kustomize:
# macOS
brew install kustomize
# Linux
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
Skills Included
- kustomize-basics: Kustomize configuration and usage
Hook Behavior
Validates Kustomize configurations in directories containing kustomization.yaml using kustomize build.
Installation
han plugin install kustomize
Details
- Marketplace
- TheBushidoCollective/han
- Source
- plugins/tools/kustomize
- Category
- Tool
- Keywords
- kustomize, kubernetes, k8s, devops
- Listed since
- Apr 7, 2026
More from TheBushidoCollective/han
All 340Similar to kustomize
More DevOps & Cloudjutsu-kustomizeTheBushidoCollective/han201 starsKustomize configuration validation for Kubernetes customization
kubernetesTheBushidoCollective/han201 starsKubernetes manifest validation and best practices for cloud-native deployments
k8s-generatorglincker/claude-code-marketplace38 starsGenerate production-ready Kubernetes manifests with best practices
kubernetes-operationswshobson/agents42.9K starsKubernetes manifest generation, networking configuration, security policies, observability setup, GitOps workflows, and auto-scaling
devops-containers-kubernetesmarslanalvi/SkillsStack5 starsDocker, Kubernetes, Helm, service mesh and GitOps
deployment-validationwshobson/agents42.9K starsPre-deployment checks, configuration validation, and deployment readiness assessment