You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In K8s, with kind StatefulSet the spec.selector.matchLabels is immutable post-creation. Upgrading a pre-existing Helm releases will fail on this error:
Error: UPGRADE FAILED: cannot patch "<release-name>" with kind StatefulSet: StatefulSet.apps "<release-name>" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
I have not identified a simple workaround for this.
Both Kubernetes & Helm have released official
label
best practices.These labels are consumed by K8s tooling, such as Lens.
The label translations I've identified are:
app:
>app.kubernetes.io/name:
chart:
>helm.sh/chart:
release:
>app.kubernetes.io/instance:
heritage:
>app.kubernetes.io/managed-by:
The text was updated successfully, but these errors were encountered: