kubernetes-sigs / prometheus-adapter

An implementation of the custom.metrics.k8s.io API using Prometheus
Apache License 2.0
1.9k stars 551 forks source link

v1.26.3-gke doesnt work #579

Open safetylab opened 1 year ago

safetylab commented 1 year ago

I installed new gke cluster v1.26.3-gke. I installed prometheus-adapter by kubectl get apiservice I have v1beta1.custom.metrics.k8s.io monitoring/my-release-prometheus-adapter False (FailedDiscoveryCheck) kubectl describe apiservice v1beta1.custom.metrics.k8s.io Group: custom.metrics.k8s.io Group Priority Minimum: 100 Insecure Skip TLS Verify: true Service: Name: my-release-prometheus-adapter Namespace: monitoring Port: 443 Version: v1beta1 Version Priority: 100 Status: Conditions: Last Transition Time: 2023-04-27T09:40:29Z Message: failing or missing response from https://10.128.1.17:6443/apis/custom.metrics.k8s.io/v1beta1: Get "https://10.128.1.17:6443/apis/custom.metrics.k8s.io/v1beta1": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) Reason: FailedDiscoveryCheck Status: False Type: Available Events:

How can I fix it?

P.S I installed second cluster with v.1.23 - everything is ok.

dgrisonnet commented 1 year ago

/kind support /remove-kind bug /triage accepted /assign

namiksa commented 1 year ago

Hi, I have a similar error on AKS cluster v1.26.3. Any update on this issue?