Helm chart installation of Kubernetes Agent fails because of pre-installed metrics-server

In some managed Kubernetes clusters, such as Azure Kubernetes Service (AKS), the metrics-server is pre-installed in the kube-system namespace by default. This can cause the Helm chart installation for the Kubernetes agent to fail. To resolve this issue, disable the deployment of the metrics-server in the Helm chart configuration.

To do this, open the oci-onm/charts/oci-onm-mgmt-agent/values.yaml file and set the deployMetricServer property to false, as shown:

deployMetricServer: false