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
The Redis Operator currently propagates all labels from HarborCluster to both the template labels and selectors of the managed StatefulSets. This behavior conflicts with the immutability of StatefulSet selectors, leading to update failures.
What would you like to be added
A mechanism within the Redis Operator to prevent label propagation from resources to StatefulSet selectors.
The ability to add labels without affecting the labels and selectors of the StatefulSet.
Why is this needed
StatefulSet Immutability: Kubernetes enforces the immutability of StatefulSet selectors, i.e. they can’t be updated
Update Failures: Attempting to update a StatefulSet with extra selector labels results in errors, hindering management operations.
Flexibility: Decoupling template labels and selectors provides greater flexibility in managing StatefulSets. It will allow us to get clear distinction between labels used for resource identification and those applied for organizational purposes.
Description
The Redis Operator currently propagates all labels from HarborCluster to both the template labels and selectors of the managed StatefulSets. This behavior conflicts with the immutability of StatefulSet selectors, leading to update failures.
What would you like to be added
A mechanism within the Redis Operator to prevent label propagation from resources to StatefulSet selectors.
The ability to add labels without affecting the labels and selectors of the StatefulSet.
Why is this needed
StatefulSet Immutability: Kubernetes enforces the immutability of StatefulSet selectors, i.e. they can’t be updated
Update Failures: Attempting to update a StatefulSet with extra selector labels results in errors, hindering management operations.
Flexibility: Decoupling template labels and selectors provides greater flexibility in managing StatefulSets. It will allow us to get clear distinction between labels used for resource identification and those applied for organizational purposes.
References
Kubernetes Issue: kubernetes/kubernetes#90519 (Discusses the immutability of StatefulSet selectors)
The text was updated successfully, but these errors were encountered: