Open mrszop opened 1 year ago
I experienced this when using a Loki
component that could not use credentials being injected via the Helm extraEnvFrom
key
.
So maybe you need to configure your global storage
to use credentials directly.
@mrszop have you figured it out? I have exactly the same issue. I am not using AWS at all, though I see this issue that mentioned AWS, which makes no sense.
i also noticed that error message at startup
level=error ts=2024-03-05T08:20:46.798163605Z caller=reporter.go:205 msg="failed to delete corrupted cluster seed file, deleting it" err="NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors
I am using official helm chart
NAME CHART VERSION APP VERSION DESCRIPTION
grafana/loki 5.42.0 2.9.3 Helm chart
upd might me connected with https://github.com/grafana/loki/issues/5941
Describe the bug I am running Loki/Promtail via Helm Charts von GCP/GKE:
I noticed via Google Notification that my current billing is reaching its defined maximum and I was shocked why that is. In the billing console I was able to track down some "strange" Logging behaviour that has eaten up my whole account. I drilled deeped and found out that on all of my GKE clusters I have installed loki/promtail, I was getting a ton (7 million log entries per day) of following log entries:
I saw via kubectl that the writer pods where running, but not ready:
There was no change from my side since days and Loki/Promtail was up and running fine. I was able to search logs via Grafana, no issues.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Environment:
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.8-gke.1900", GitCommit:"79209257257c051b27df67c567755783eda93353", GitTreeState:"clean", BuildDate:"2022-07-15T09:23:51Z", GoVersion:"go1.17.11b7", Compiler:"gc", Platform:"linux/amd64"}
Questions
aws.Config.CredentialsChainVerboseErrors
actually is showing up, since I am not running on AWS or have configured anything but the values.yaml listed aboveSorry if I am showing a bit of unprofessional feelings here but I am a bit nervous about upcomming GCP bill produced by the unnecessary amount of loki logs.
Cheers