Monitoring the Enable and Upgrade
Supervisor
Operations

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 Supervisor
, you can write a logic to track the task status.
To monitor the status of the enable and upgrade
Supervisor
operations, use the
ClustersTypes.Info
instance
and query the Kubernetes and configuration status of the cluster. Track the status every two minutes or so, until you receive
READY
for
getKubernetesStatus()
and
RUNNING
for
getConfigStatus()
. These statuses indicate that the
Supervisor
reached the desired configuration status and is ready for running Kubernetes workloads.