-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
3
-
False
-
False
-
None
-
HAC Infra OCM - Sprint 231, HAC Infra OCM - Sprint 232, HAC Infra OCM - Sprint 233
User story:
So that I have the right number of nodes, as a user, I can edit the node count of my hypershift control plane cluster.
Acceptance criteria:
- For a hypershift control plane cluster node (labeled in the UI as machine) pool, I can:
- edit the node count
- enable or disable autoscaling
NOTE: There are three places in the UI where a user can activate the "edit node count" modal:
- Cluster details/machine pools - kebab for every node pool
- Cluster details - action menu at the top of the screen
- Cluster list - kebab for each cluster.
Mockups:
-------------------------------------------------------------------------------------------------------------------------------
Implementation details
For hypershift control plane clusters, the endpoints should be the node pool endpoints vs the machine pool endpoints.
When the modal is opened, the following api calls are made:
GET `/api/accounts_mgmt/v1/organizations/<cluster_id>/quota_cost?fetchRelatedResources=true&fetchCloudAccounts=true`
GET `/api/clusters_mgmt/v1/clusters/<cluster_id>/machine_pools`
It is unknown what data from the quota_cost api is used and how it is used.
When the "Apply" button is pressed, the following API call is made:
PATCH`/api/clusters_mgmt/v1/clusters/<cluster_id>
non autoscale body:
{"nodes":{"compute":3}}
autoscale body:
{"nodes":{"autoscale_compute":
}}
It is unknown if the payload body needs to change for hypershift.
- account is impacted by
-
OCMUI-860 [Hypershift] Add logic for EditNodeCount to ensure 2 node minimum across cluster
- Closed
- is caused by
-
HAC-3500 [Hypershift ROSA] Wrong node count shown edit node count dialog for a machine pool with node count < 2
- Closed
-
HAC-3501 [Hypershift ROSA] Display both 0 and 1 node count values in edit node count dialogĀ
- Closed
-
HAC-3502 [Hypershift ROSA] Click on + button associated to Maximum node count from "Edit node count" dialog doesn't increase the count value during first click .
- Closed
-
HAC-3507 [Hypershift ROSA] Edit node count action set wrong node count when a machine pool with autoscaling enabled has updated without autoscaling option.
- Closed
- is related to
-
HAC-2981 [Hypershift ROSA][Details] Edit labels and taints for a node pool for a hypershift cluster
- Closed
-
HAC-3002 [Hypershift ROSA][Details][MVP]Remove or disable ability to edit and delete Hypershift machine pools
- Closed
-
HAC-3003 [Hypershift ROSA][Details][MVP] Remove or disable ability to edit node count
- Closed
- mentioned on