I'm trying to setup logs collection from AWS EKS to AWS CloudWatch in my EKS.
Everything is latest available versions. I couldn't find any anomalies or other errors.
EKS addons installed, node group role has CloudWatchAgentServerPolicy attached.
It does work and i can see logs, but the
service/amazon-cloudwatch-observability-webhook-service spams Cloud watch with this error:
{"level": "error","ts": "2024-05-24T05:01:42Z","msg": "Reconciler error","controller": "dcgmexporter","controllerGroup": "cloudwatch.aws.amazon.com","controllerKind": "DcgmExporter","DcgmExporter": {"name": "dcgm-exporter","namespace": "amazon-cloudwatch"},"namespace": "amazon-cloudwatch","name": "dcgm-exporter","reconcileID": "d97d773b-f857-4f98-a20b-a3648e8c53a4","error": "failed to apply status changes to the AmazonCloudWatchAgent CR: resource name may not be empty","stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"}
Any advice where to start digging would be appreciated.