-
Notifications
You must be signed in to change notification settings - Fork 270
RKE2 v.1.30.0, My kube-apiserver cant comminicate between prometheus and kube-api server cant loading v1beta1.custom.metrics.k8s.i #6269
Replies: 4 comments · 7 replies
-
My hosts file on every server and agent node following below, I dont have firewalls, all of them disabled.
When ı run this command,
|
Beta Was this translation helpful? Give feedback.
All reactions
-
This is last logs from kubeapi-server
|
Beta Was this translation helpful? Give feedback.
All reactions
-
There are no ready pods for these services. Why are the pods not running? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @brandond, thank you for your interest and return.
Rahncer-webhook logs:
Rke2-metric-server logs:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
@brandond, This is service pictures, All pods are running, I cant observe metric for kube api server on grafana too(Kubernetes/API server). Could this be due to errors? I can access apiserver metrics from Prometheus, but Grafana does not show these metrics. Thank you very much for your interest and concern. |
Beta Was this translation helpful? Give feedback.
All reactions
-
In your deployed rke2 cluster, can you provide the output of the commands: |
Beta Was this translation helpful? Give feedback.
All reactions
-
@manuelbuil Thank you very much for your interest and concern. I shared below them,
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for the output. As you can see endpoints are there and they seem correct. Can you confirm that the |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
@manuelbuil Thank you for your return, I am sharing my logs from the last 30 minutes below. As you said, it may be a temporary problem.However, rancher-weebhooks logs is a bit scary. I am sharing rancher-weebhooks logs too. `Kube-api server logs
|
Beta Was this translation helpful? Give feedback.
All reactions
-
How did you install rke2? Can you share the config? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Of course, @manuelbuil Thank you for your return.
Agent configrations
|
Beta Was this translation helpful? Give feedback.
-
Errors:
error resolving cattle-monitoring-system/rancher-monitoring-prometheus-adapter: no endpoints available for service "rancher-monitoring-prometheus-adapter
error` resolving kube-system/rke2-metrics-server: no endpoints available for service `"rke2-metrics-server"
**loading OpenAPI spec for "v1beta1.custom.metrics.k8s.io" failed with: Error, could not get list of group versions for APIService**
Failed calling webhook, failing closed rancher.cattle.io.clusters.management.cattle.io: failed calling webhook "rancher.cattle.io.clusters.management.cattle.io": failed to call webhook: Post "https://rancher-webhook.cattle-system.svc:443/v1/webhook/mutation/clusters.management.cattle.io?timeout=10s": no endpoints available for service "rancher-webhook"
Kube-Api server logs,
rke2-metrics-server logs
`
Beta Was this translation helpful? Give feedback.
All reactions