Skip to content

Glossary

Annotation — a piece of metadata on a Kubernetes resource meant for people and tools rather than for selection: notes, contacts, build information. Kustomize stamps them with commonAnnotations or the annotations: transformer.

Base — a folder of manifests plus a kustomization that describes an application in its shared, environment- neutral form, meant to be built on by overlays.

Behavior (generator) — how an overlay's generator entry meets a base entry of the same name: create (new), merge (combine, overlay wins per key), or replace (discard the base's). Chapter 6.

Build — running kustomize build <folder>: reading the kustomization, gathering resources, generating, patching, transforming, and printing the finished YAML stream. Pure, offline and deterministic.

ConfigMap — a Kubernetes resource holding plain configuration as key-value entries, mounted into pods as files or exposed as environment variables.

Generator — a kustomization entry (configMapGenerator, secretGenerator) that builds a ConfigMap or Secret at build time from files or literals, instead of the resource being written by hand.

Hash suffix — the short fingerprint appended to a generated resource's name, computed from its contents. A content change produces a new name, which triggers a rollout where the resource is referenced. Chapter 6.

JSON 6902 patch — a patch written as a list of operations (add, replace, remove, and kin) with exact paths, following RFC 6902. Precise where a strategic merge patch is structural. Chapter 7.

Kustomization — the file kustomization.yaml at the heart of every base and overlay, listing resources and every instruction the build follows; also, by extension, the folder holding it.

Label — a short key-value tag on a resource, used by selectors to find and group resources. Labels stamped by kustomize can land in selector positions, where they become effectively permanent. Chapters 5 and 13.

Literal — a key=value pair written directly in a generator entry, as opposed to a value read from a file.

Manifest — one YAML document describing one Kubernetes resource.

Overlay — a kustomization that names a base (or another overlay) as its resource and states only the differences for one environment or purpose.

Patch — a declared edit to a single resource, written as a strategic merge fragment or as JSON 6902 operations. Chapter 7.

Reference rewriting — kustomize's updating of every pointer to a resource it renamed — volume mounts, secret references, and the like — so a build's names stay consistent after prefixes and hash suffixes land.

Replacement — a build-time copy of one field's value into another resource's field, keeping a single owner for the value. Chapter 8.

Resource — one Kubernetes object in a build, whether read from a file, produced by a generator, or gathered from another kustomization.

Secret — a Kubernetes resource for sensitive values. Its data is base64-encoded in YAML — an encoding, not an encryption. Chapter 6.

Strategic merge patch — a patch written as a YAML fragment in the shape of its target resource, merged field by field, with lists merged by their key fields. Chapter 7.

Transformer — a build step that adjusts resources wholesale: name prefixes, common labels and annotations, image and replica changes, namespaces. Most are fields of the kustomization file itself.