How to update libraries? e.g. kube-prometheus #127
Unanswered
cyc1ingsir
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When running a cluster using K3s in version
v1.22.3+k3s1
quite a few metrics aren't longer available.e.g.
container_cpu_usage_seconds_total
.This results in lots of dashboard views not showing any data (e.g. in "Kubernetes cluster monitoring (via Prometheus)").
As I found out by now, the minimal version of "kube-prometheus" (https://github.com/prometheus-operator/kube-prometheus/tree/release-0.9) would be
release-0.9
when running Kubernetes v1.22.Since
make update_libs
gave me an error, I noticed that the main branch in "kube-prometheus" has been renamed a short while ago.This would be needed to adjust here:
make update_libs
gave me an error.However, updating the referenced release doesn't suffice.
There would a migration needed to at least the
main.jsonnet
and probably thevars.jsonnet
as well.(https://github.com/prometheus-operator/kube-prometheus/tree/main/docs/migration-example)
Not "speaking" jsonnet, I'm not sure if such a migration could succeed at all or if it required to migrate away from Ksonnet first as mentioned in #121 .
If anyone could enlighten me, what would be needed to be done to make this compatible with v1.22, I would be truly grateful.
Beta Was this translation helpful? Give feedback.
All reactions