This epic has two goals to achieve:
1: refactor the UI to use the new data structures (the new Node instead of the old ClusterNodes) exposed by the Clusters Service
2: enhance the day2 experience of the default machine pool
Details about the refactor:
As part of the Clusters Service code restructure, we unified the machine pool data structures and ensured that the API remained backwards compatible. However, to fully leverage the benefits of this restructure, we need to update the web GUI to use the new data structure. This will enable us to take advantage of the simplified codebase and improved flexibility of the Clusters Service.
As part of this Story, we need to update the web GUI to use the new data structure.
- The web GUI has been updated to use the new Node data structure from Clusters Service.
By ensuring that all front ends use the updated Node representation, we can fully deprecate the old "ClusterNodes" structure from the API.
Details about the new day2 features of the default machine pool:
There are the following requirements on the day2 UI:
1: it will be possible to change the instance type of the default machine pool
2: it will be possible to delete the default machine pool
3: it will be possible to scale the default machine pool to 0
4: it will be possible to add/edit taints and labels on the default machine pool
Detailed design doc with all the validations etc is here: https://docs.google.com/document/d/1yvPg6HFHL6Bwlsq7jqOcdHGHLN0z4qHisekMm8f24pw/edit#bookmark=id.dyscib547fmd
Please note that the unification of the scale/edit labels/edit taints modals into on edit modal is out of the scope of this epic, that part is being tracked in https://issues.redhat.com/browse/HAC-4858