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

Refresh auth token to connect to prometheus endpoint #598

Open suchiagicha opened 1 year ago

suchiagicha commented 1 year ago

What happened?: Today there is no way to refresh the auth token without restarting the pod. When the token expires we see the auth failures in the logs but container keeps on running.

What did you expect to happen?: We should recreate httpclient when the token expires . There are different ways to refresh token : one could create sidecar which update token file or we support oidc kubeconfig way to refresh the token.

dashpole commented 1 year ago

/triage accepted /assign @dgrisonnet

k8s-triage-robot commented 1 month ago

This issue has not been updated in over 1 year, and should be re-triaged.

You can:

For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/

/remove-triage accepted

dashpole commented 1 week ago

/triage accepted /remove-kind bug /kind feature sounds like a feature request