Documentation
¶
Overview ¶
Package features provides sample mutations for the pod primitive example.
These examples only mutate object metadata because most Pod spec fields are immutable after creation. Kubernetes does allow a small set of in-place updates (notably container images), but other fields such as env, args, and resources require the Pod to be deleted and recreated.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TracingFeature ¶
TracingFeature marks the pod as tracing-enabled via metadata. Controllers or sidecar injectors can watch the label and handle any required Pod replacement or injection.
func VersionFeature ¶
VersionFeature records the desired version on the pod as a label. It avoids mutating container images directly; while Kubernetes allows in-place image updates, this example keeps mutations in metadata only.
Types ¶
This section is empty.