When you run the Supervisor enable and upgrade operations, the status of the tasks is not returned. Since these operations might be time-consuming but critical when automating second- and third-party products with vSphere IaaS control plane, you can write a logic to track the task status.

To monitor the status of the enable and upgrade Supervisor operations, use the Clusters.Info data structure and query the Kubernetes and configuration status of the cluster. Track the status every two minutes or so, until you receive READY for kubernetes_status and RUNNING for config_status. These statuses indicate that the Supervisor reached the desired configuration status and is ready for running Kubernetes workloads.