-
Feature Request
-
Resolution: Unresolved
-
Major
-
3.24.0.GA
-
False
-
-
False
-
-
1. Proposed title of this feature request.
> Feature Request - Add Native CRD Support for Operator Replica Configuration
2. What is the nature and description of the request?
> Add native support in DevSpaces CheCluster CRD to configure replica counts for DevSpaces operators (devspaces-operator, devworkspace-controller-manager, devworkspace-webhook-server).
Currently, these operators are deployed with hardcoded replica counts in CSVs, requiring complex patches to achieve high availability across availability zones.
3. Why does the customer need this? (List the business requirements here)
- Enterprise High Availability: Production environments require HA across multiple availability zones to meet SLA requirements
- Upgrade Safety: Ensure HA configuration survives operator upgrades without manual intervention
- Supportability: Reduce custom workarounds that may conflict with future DevSpaces updates
- Cost Optimization
4. How would the customer like to achieve this? (List the functional requirements here)
> FR1: Add operator replica configuration to CheCluster CRD:
spec:
components:
operator:
replicas: 3
devWorkspaceOperator:
controllerManager:
replicas: 3
webhookServer:
replicas: 3
FR2: DevSpaces operator should reconcile these settings to the underlying CSVs and deployments
FR3: Configuration should persist through operator upgrades
FR4: Default values should maintain current behavior (1-2 replicas) for backward compatibility
5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
> FR1 Testing:
- Deploy CheCluster with operator.replicas: 3
- Verify devspaces-operator deployment shows 3/3 replicas
- Verify devworkspace-controller-manager shows 3/3 replicas
- Verify devworkspace-webhook-server shows 3/3 replicas
> FR2 Testing:
- Modify CheCluster replica count from 3 to 5
- Verify operator reconciles and updates deployments to 5 replicas
- Verify CSV specifications are updated accordingly
> FR3 Testing:
- Perform DevSpaces operator upgrade
- Verify replica counts and anti-affinity settings are preserved
- Confirm no manual intervention required post-upgrade
> FR4 Testing:
- Deploy CheCluster without operator replica configuration
- Verify default behavior (current replica counts) is maintained
- Ensure backward compatibility with existing deployments
6. Would the customer be able to assist in testing this functionality if implemented?
> Yes