Disable metrics-server¶
To disable metrics-server, update the MKE cluster configuration and apply the changes.
Edit the MKE configuration and set
enabledtofalseunder[cluster_config.metrics_server]:[cluster_config.metrics_server] enabled = false
Upload the updated configuration to
/api/ucp/config-tomlby using the same procedure described in Enable metrics-server.Verify that MKE removed the deployment after reconciliation:
kubectl get deployment -n kube-system ucp-metrics-server
The command should return
NotFound.Confirm that MKE removed the APIService registration:
kubectl get apiservice v1beta1.metrics.k8s.io
The command should return
NotFound. If another add-on registers the same APIService name, verify that the remaining object is not managed by MKE.