-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnsupportedAddonModification When Adding Prometheus Configuration to amazon-cloudwatch-observability Addon #173
Comments
Hi @viram99 , would you mind trying this out with the latest version of the EKS add-on, i.e. >= |
Hi @sky333999, Thank you for your help. We successfully deployed the Amazon CloudWatch Observability EKS Add-On using the following configuration.
We’ve encountered an issue when configuring the amazon-cloudwatch-observability EKS Add-On when both prometheus and kubernetes blocks are defined under metrics_collected, custom metrics scraped by Prometheus are not ingested into CloudWatch. Issue Details:
We suspect this is due to the mutual exclusivity of the prometheus and kubernetes options as hinted in the CloudWatch Agent source code. Request:
Desired Outcome: We need both Container Insights (via the kubernetes block) and custom Prometheus metrics to be collected and ingested into CloudWatch at the same time. This is crucial for comprehensive monitoring of both system-level and application-specific metrics. |
Description:
I'm encountering an issue while attempting to configure the amazon-cloudwatch-observability addon for EKS using Terraform. The configuration applies successfully without the Prometheus section. However, when I add Prometheus support, the addon update fails with the following error:
Terraform configuration
Steps to Reproduce:
Apply the above Terraform configuration with the Prometheus block included.
Observe the failure message related to UnsupportedAddonModification.
Expected Behavior:
The addon should update successfully with the Prometheus configuration.
Actual Behavior:
The addon fails to update, citing invalid configuration values.
Additional Information:
Removing the prometheus block resolves the error, but Prometheus support is essential for my use case.
I'm following this configuration example from the official Helm chart repository.
The text was updated successfully, but these errors were encountered: