During a vSphere Supervisor upgrade, ESXi hosts are observed to automatically enter and exit maintenance mode. This is expected, intended behavior for cluster managed via vSphere Lifecycle Manager (vLCM) image. This article explains why this occurs and how the Supervisor upgrade orchestration interacts with cluster image to ensure host compliance.
VMware vSphere Kubernetes Service
Understanding the Workflow
In vSphere environments using Image-based cluster management, vSphere Lifecycle Manager (vLCM) enforces a strict image compliance model. When initiate a Supervisor cluster upgrade, the orchestration process must ensure that all components including the Kubernetes node agent (Spherelet) and host-level VIBs are successfully updated to match the target cluster version defined by the image.
To perform these updates safely, the host must be in a state where active workloads can be migrated and the underlying software stack can be modified without impacting service availability. Maintenance mode provides this state.
Why This Happens in Image-Based Clusters
The behavior is driven by how vLCM handles host remediation in an Image-based configuration:
Comparison: Image-Based vs. Baseline-Based
It is normal for this behavior to differ based on cluster management strategy:
Summary
If ESXi hosts enter and exit maintenance mode during a Supervisor upgrade and the upgrade process completes successfully, the system is operating as designed. This process ensures that cluster remains in a supported, compliant state according to the defined cluster image.