karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.14k stars 812 forks source link

metrics-adapter not installed by default with helm chart and not clear how to install #4891

Open kutsyk opened 2 weeks ago

kutsyk commented 2 weeks ago

I've installed Karmada using helm, later I've added descheduler to it as recommended, but I can't find out how to install metrics-adapater, I don't want to copy/create manually deployment as I believe there is different way.

This command did nothing:

helm upgrade --install karmada -n karmada-system --create-namespace --dependency-update --cleanup-on-fail ./charts/karmada --set components={"metrics-adapter"}
chaunceyjiang commented 2 weeks ago

Can you try it this way?

--set components={"metricsAdapter"}
kutsyk commented 2 weeks ago

Hi @chaunceyjiang , it worked, thanks. Although I'm not sure if it works as expected, here is what I see in logs:

custom.metrics.k8s.io not found in cluster(...)

Is this expected?

I can't quite figure out from the documentation what for and how to use this component.

RainbowMango commented 1 week ago

Feels like this log is not expected, at least it shouldn't be dumped so frequently. This issue is tracked by #4792. cc @chaosi-zju