You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Problem
Using the GCP Cloud Monitoring sync, with vector running in a Pod in GKE. Using GCP workload identity (GCP service account linked to GKE service account) to authenticate to GCP.
This works fine for an hour, then we start seeing 401 errors. 100% reproducible.
Configuration
vector config for sink:
[sinks.gcp]
type = "gcp_stackdriver_metrics"inputs = [ "enrich_metrics" ]
project_id = "${GCP_PROJECT_ID:?gcp_project_id must be supplied}"
[sinks.gcp.resource]
type = "gce_instance"project_id = "${GCP_PROJECT_ID:?gcp_project_id must be supplied}"instance_id = "cloud_containers"zone = "us-central1-a"
Source can be any metrics source. Vector is configured as a StatefulSet. The pod spec includes:
Taking it look it doesn't look like the metrics sink calls the function that refreshes the authentication 🤔 digging into that, might be a super easy fix.
`### A note for the community
Problem
Using the GCP Cloud Monitoring sync, with vector running in a Pod in GKE. Using GCP workload identity (GCP service account linked to GKE service account) to authenticate to GCP.
This works fine for an hour, then we start seeing 401 errors. 100% reproducible.
Configuration
vector config for sink:
Source can be any metrics source. Vector is configured as a StatefulSet. The pod spec includes:
The k8s service account is declared like this:
Version
v0.29.1
Debug Output
Example Data
No response
Additional Context
No response
References
#10828
The text was updated successfully, but these errors were encountered: