Skip to content
Discussion options

You must be logged in to vote

Mia-defined metadata such as mia-platform.eu/version is applied during manifest generation.

So, typically, Deployment/resource metadata (metadata.annotations / metadata.labels) is the canonical place for this information.

spec.template.metadata can also include metadata, but it is Pod-scoped and changes there trigger a rollout.

So, keep Deployment/resource metadata as the stable reference, and use Pod template metadata only when Pod-level behavior is needed.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rmuller-vu
Comment options

Answer selected by rmuller-vu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants