Rancher monitoring - Enable external metrics? #6183
-
Hey all. I can't seem to get to the slack at the moment, so posting here. I am having some trouble getting the external metrics apis running in our RKE2 cluster. Back story: I've then gone and added a config snip to the the prom-adapter to expose my new metrics for further use (eventually as a option in our HPAs).
While the config has added correctly to the adapter, it does not show in the However, in my cluster, I can not get
Do I need to do something special to enable this api set with the rancher monitoring helm chart, or change something in my cluster? Cheers. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've solved this, turns out I needed to spend some more time reading the prometheus adapter helm chart. Only when a external metric is added this way (below), is the external metrics API setup for the cluster. No other method appears to work. TLDR; for setting up a new external metric:
Cheers. |
Beta Was this translation helpful? Give feedback.
I've solved this, turns out I needed to spend some more time reading the prometheus adapter helm chart.
Only when a external metric is added this way (below), is the external metrics API setup for the cluster. No other method appears to work.
TLDR; for setting up a new external metric: