A Tanzu Kubernetes Cluster reported a Ready=False status with a failure condition related to the Metrics Server. The following error was observed:
“failed to configure Metrics Server: Deployment.apps ‘metrics-server’ is invalid: spec.selector field is immutable”
Tanzu Kubernetes Runtime
The Metrics Server was deployed and managed by ArgoCD, which conflicted with the version managed by the Addon Manager. Because the spec.selector field of a deployment is immutable, the Addon Manager was unable to reconcile or update the deployment, causing the cluster to fail readiness checks.