When the Tanzu Kubernetes Grid Service provisions a Tanzu Kubernetes cluster, several status conditions are reported that you can use to get direct insight into key aspects of machine health.
About Machine Health Conditions
A Tanzu Kubernetes cluster provisioned by the Tanzu Kubernetes Grid Service comprises several moving parts, all operated by independent but related controllers, working together to build and maintain a set of Kubernetes nodes. The TanzuKubernetesCluster
object provides status conditions that give you with fine-grained information about machine health.
Check Machine Health
- Run the command
kubectl describe machine
.If the status is ready, the machine is healthy. But, if a machine condition is false, such as
InfrastructureReady
, the machine is not ready. - If the machine is not ready, run the following command and determine what is wrong with the infrastructure:
kubectl describe wcpmachine
List of Machine Health Conditions
The table lists and defines the available machine health conditions for a Tanzu Kubernetes cluster.
Condition | Description |
---|---|
ResourcePolicyReady |
Reports the successful creation of a Resource Policy. |
ResourcePolicyCreationFailed |
Reported when any errors occur during ResourcePolicy creation. |
ClusterNetworkReady |
Reports the successful provision of a Cluster Network. |
ClusterNetworkProvisionStarted |
Reported when waiting for Cluster Network to be Ready. |
ClusterNetworkProvisionFailed |
Reported when any errors occur during network provisioning. |
LoadBalancerReady |
Reports the successful reconciliation of a static control plane endpoint. |
LoadBalancerCreationFailed |
Reported when load balancer related resources creation fails. |
WaitingForLoadBalancerIP |
Reported when waiting for load balancer IP to exist. |
VMProvisioned |
Reports that a Virtual Machine is created, powered on and assigned an IP. |
WaitingForBootstrapData |
Reported when a vSphereMachine is waiting for the bootstrap script to be ready before starting the provisioning process. |
VMCreationFailed |
Reports that creating VM CRD or corresponding bootstrap ConfigMap failed. |
VMProvisionStarted |
Reported when a virtual machine currently is in creation process. |
PoweringOn |
Reported when a virtual machine is currently executing the power on sequence. |
WaitingForNetworkAddress |
Reported when waiting for the machine network settings to become active. |
WaitingForBIOSUUID |
Reported when waiting for the machine to have a BIOS UUID |
Condition Fields
Type |
Describes the type of condition. For example, ResourcePolicyReady . For the Ready condition, it is a summary of all the other conditions. |
Status |
Describes the status of the type. States can be |
Severity |
Classification of the
|
Reason |
Provides a reason why the status is |
Message |
Human readable information that explains the Reason . |