Skip to content

Cannot upgrade thanos-receive-router since the generated manifest include the version in the selector. #317

@codestation

Description

@codestation

If the thanos version is updated in the jsonnet file and new manifests are generated, those cannot be used to upgrade to a new version as the thanos-receive-router uses the version as one of the labels in the selector. Those labels are inmutable so applying the deployment manifest will fail.

Workaround: delete the thanos-receive-router deployment before upgrading.

Fix: do not include the app.kubernetes.io/version label in the selector matchLabels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions