Machine resource is not deleting when guest cluster control plane nodes are deleted.
search cancel

Machine resource is not deleting when guest cluster control plane nodes are deleted.

book

Article ID: 406127

calendar_today

Updated On:

Products

Tanzu Kubernetes Runtime

Issue/Introduction

The Kubernetes Machine resource has been deleted, but there are orphan VMs that were not deleted. 

Environment

v1.28.8

v1.29.4

v1.30.1

v1.31.1

Cause

Machine resource is not automatically removed if the control plane node that is deleted is also the etcd leader

Resolution

Powering down the control plane virtual machine in vCenter will force an etcd election, and the normal Kubernetes removal process will continue.