Capture cluster provisioning progress in the Custom Resource

Description

It is useful not only see the current state of the cluster, but also overall component readiness.

Like if the cluster has 3 pods, 3 proxy pods and a load-balancer - the cluster is ready when all 6 pods are up and load-balancer is provisioned. 

It is possible to calculate the progress based on the component sizes and ready fields, but for users it might be hard if we have lots of components (imagine 20 replica sets in MongoDB). For various DBaaS solutions which want to report the progress not having a dedicated field would also complicate things, as we might add new components with other names in the future releases.

 

We are aligning the UI output with our existing size/ready fields. Example:

Where:

  • 3 pods are Running with all containers up

  • 7 - total pods in the cluster (3 PXC + 3 haproxy + 1 loadBalancer)

Environment

None

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Needs QA

Yes

Fix versions

Priority

Smart Checklist

Created April 28, 2021 at 12:46 PM
Updated March 5, 2024 at 5:52 PM
Resolved August 9, 2021 at 8:08 AM