generated from kubernetes/kubernetes-template-project
-
Couldn't load subscription status.
- Fork 576
Closed
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
Hi,
I am trying to use prometheus as a metrics provider for trimaran in openshift 4.7 cluster.
Getting below error in pod log.
Also i took secret from below command .
oc describe secret $(oc get secret -n openshift-monitoring|awk '{print $1}'|grep prometheus-k8s-token -m 1) -n openshift-monitoring|grep "token:"|cut -d: -f2|sed 's/^ *//g'
Error is :
ilocpsnd496.ocpd.corp.amdocs.com/api/v1/query\": x509: certificate signed by unknown authority\n"
time="2021-09-28T20:49:47Z" level=error msg="error querying Prometheus for query avg_over_time(instance:node_memory_utilisation:ratio[15m]): Post \"https://prometheus-k8s-openshift-monitoring.apps.ilocpsnd496.ocpd.corp.amdocs.com/api/v1/query\": x509: certificate signed by unknown authority\n"
time="2021-09-28T20:49:47Z" level=error msg="error querying Prometheus for query stddev_over_time(instance:node_cpu:ratio[15m]): Post \"https://prometheus-k8s-openshift-monitoring.apps.ilocpsnd496.ocpd.corp.amdocs.com/api/v1/query\": x509: certificate signed by unknown authority\n"
time="2021-09-28T20:49:47Z" level=error msg="error querying Prometheus for query stddev_over_time(instance:node_memory_utilisation:ratio[15m]): Post \"https://prometheus-k8s-openshift-monitoring.apps.ilocpsnd496.ocpd.corp.amdocs.com/api/v1/query\": x509: certificate signed by unknown authority\n"
time="2021-09-28T20:49:47Z" level=error msg="received error while fetching metrics: Post \"https://prometheus-k8s-openshift-monitoring.apps.ilocpsnd496.ocpd.corp.amdocs.com/api/v1/query\": x509: certificate signed by unknown authority"
I0928 20:49:59.764214 1 eventhandlers.go:283] delete event for scheduled pod openshift-marketplace/community-operators-jfhbr
W0928 20:50:09.102244 1 targetloadpacking.go:127] unable to update metrics: unable to get any latest metrics
I0928 20:50:17.017036 1 reflector.go:243] Listing and watching *v1.StorageClass from k8s.io/client-go/informers/factory.go:134
I0928 20:50:17.020044 1 round_trippers.go:444] GET https://172.30.0.1:443/apis/storage.k8s.io/v1/storageclasses?resourceVersion=99233057 200 OK in 2 milliseconds
I0928 20:50:17.022061 1 round_trippers.go:444] GET https://172.30.0.1:443/apis/storage.k8s.io/v1/storageclasses?allowWatchBookmarks=true&resourceVersion=99233057&timeout=8m10s&timeoutSeconds=490&watch=true 403 Forbidden in 1 milliseconds
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.