Cloud

kustomize – declarative Kubernetes configuration management

kustomize is a command-line tool for customising Kubernetes configuration files without modifying their original YAML manifests. It provides a declarative approach to managing application configurations across environments, allowing developers to reuse common resources while applying environment-specific changes.

The software uses a kustomization.yaml file to describe the resources to include and the transformations to perform. A base configuration can contain common Deployments, Services and other Kubernetes objects, while overlays customise those resources for development, staging or production. This avoids maintaining separate copies of largely identical configuration files.

Unlike template-based configuration tools, kustomize operates directly on Kubernetes resource definitions. It understands Kubernetes API objects and applies transformations while preserving the underlying YAML structure. Configurations can be maintained in version control, allowing changes to be reviewed and managed alongside application code.

kustomize is also integrated into kubectl, allowing customised configurations to be applied directly to Kubernetes clusters.

This is free and open source software.

Key Features

  • Template-free customisation of Kubernetes YAML manifests.
  • Bases and overlays for managing shared configurations across different environments.
  • Strategic merge and JSON patches for modifying individual resource fields.
  • Target selectors for applying patches to multiple matching resources.
  • ConfigMap and Secret generators that create Kubernetes resources from configuration data.
  • Automatic hash suffixes for generated ConfigMaps and Secrets, with reference updates.
  • Common labels and annotations applied consistently across selected resources.
  • Namespace transformations and configurable resource name prefixes and suffixes.
  • Image transformations for changing container image names, tags and digests.
  • Replica count transformations without editing the original Deployment manifests.
  • Replacements that copy field values between Kubernetes resources.
  • Reusable components for sharing optional configuration across overlays.
  • Support for remote resources and configurations maintained in Git repositories.
  • Configurable transformers and generators for extending resource customisation.
  • OpenAPI schema support for handling custom Kubernetes resource definitions.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/kubernetes-sigs/kustomize
Support:
Developer: kustomize contributors
License: Apache License 2.0

kustomize commands

kustomize is written in Go and PureBASIC. Learn Go with our recommended free books and free tutorials. Learn BASIC with our recommended free books and free tutorials.


Related Software

IDEs for Kubernetes
K9sKubernetes CLI To Manage Your Clusters
FreelensGraphical interface for managing and monitoring Kubernetes clusters
KDashTerminal-based Kubernetes dashboard
HeadlampWeb interface for Kubernetes
CheKubernetes based Cloud Development Environments for Enterprise Teams
kubewallSingle-binary Kubernetes dashboard
sofkaKubernetes TUI with GitOps integration and troubleshooting
MonokleCreate and maintain high-quality Kubernetes configurations
SeabirdKubernetes IDE designed for the GNOME desktop
kuKeyboard-driven Kubernetes TUI for inspecting cluster resources
KubethorKubernetes management web application
KubusDesktop client for managing multiple Kubernetes clusters

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted