concept

Conversion and finalizers

The None conversion strategy is suitable only when changing the version identifier is sufficient; it does not transform renamed or restructured fields. A Webhook strategy calls a conversion service when conversion is required. For example, changing spec.quantity to spec.copies needs an explicit mapping that preserves meaning across versions. Test both directions, defaulting interactions, round trips and failure handling. Do not silently drop fields older clients need. A failed conversion service can break reads and writes for affected versions; secure and monitor it. No conversion webhook is deployed here.

Formal Syntax & Structure

kubernetes syntaxkubernetes
Illustrative mapping only:v1alpha1.spec.copies = 3 ↔ v1.spec.quantity = 3Same request identity; no duplicated order

Working Example

Example Snippetkubernetes
Illustrative mapping only:v1alpha1.spec.copies = 3 ↔ v1.spec.quantity = 3Same request identity; no duplicated order
Kubernetes Reference