YACE reports "Service is not in known list!: containerInsights", Pod run into error #1479
huiweiguozi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
helm install mychart nerdswords/yet-another-cloudwatch-exporter --values ./values.yaml
Prometheus configuration file values.yaml works for other services, and modified below snippets to ContainerInsights, and pod could not start after running the above command:
config: |-
apiVersion: v1alpha1
discovery:
jobs:
- type: ContainerInsights
regions:
- us-west-2
period: 300
length: 300
metrics:
- name: apiserver_storage_objects
statistics: [Sum]
Checking into pod logs, saying:
kubectl logs mychart-yet-another-cloudwatch-exporter-5c55b49fc4-rb66c
{"caller":"main.go:240","level":"info","msg":"Parsing config","ts":"2024-07-29T00:40:23.769086031Z","version":"v0.57.1"}
{"caller":"main.go:67","err":"Couldn't read /config/config.yml: Discovery job [0]: Service is not in known list!: containerInsights","level":"error","msg":"Error running yace","ts":"2024-07-29T00:40:23.769601042Z","version":"v0.57.1"}
Question: What's the correct configuration to monitor EKS via ContainerInsights?
Beta Was this translation helpful? Give feedback.
All reactions