containers-roadmap
containers-roadmap copied to clipboard
[EKS] [helm chart for container insights]: I would like a helm chart for installing CloudWatch Container Insights
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request What do you want us to build?
I would like an official helm chart for Container Insights. We have selected helm as our package management solution, and would like all aws components to be managed via a chart.
Which service(s) is this request for? EKS
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.
Currently it is possible to install container insights via a script, or manually. I would like a helm chart since it the de-facto package management solution for kubernetes.
Are you currently working around this issue? Yes.
How are you currently solving this problem? I am currently using the installation script.
Additional context Anything else we should know?
Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)
Hello there. I have created a Helm Chart for CW Container Insights. It works with statsd directly and daemonset configuration.
You can find it here.
https://github.com/bollohz/cw_insights
Hope it helps.
FB.
Hi there,
Just to ask as helm is used widely as a package manager by many and especially with terraform for automated IaC deployments, will this be considered anytime soon in the containers-roadmap?
Thank you in advance!
Helm is a world standard. Installing a service by YAML without possibility to customize values, without tracking resources and versioning is not good in my opinion. For keeping best practices Helm Chart would be best option in my opinion.
Does this announcement help? https://aws.amazon.com/about-aws/whats-new/2022/02/amazon-cloudwatch-container-helm-chart-distro-opentelemetry/
Looks like there's a helm chart for this now: https://github.com/aws-observability/aws-otel-helm-charts/tree/main/charts/adot-exporter-for-eks-on-ec2
according to official docs ContainerInsights is driven by the cloudwatch-agent DaemonSet, you can now also use this helm chart: https://github.com/aws/eks-charts/tree/master/stable/aws-cloudwatch-metrics
according to official docs ContainerInsights is driven by the cloudwatch-agent DaemonSet, you can now also use this helm chart: https://github.com/aws/eks-charts/tree/master/stable/aws-cloudwatch-metrics
This works well for the ContainerInsights metrics, however, it doesn't work for the ContainerInsights logs. Configuring fluent-bit should also be a part of the Helm chart, or a separate Helm chart should exist.
The AWS for fluent-bit (https://github.com/aws/eks-charts/tree/master/stable/aws-for-fluent-bit) chart works, but it doesn't put the logs in CW where ContainerInsights expects them.
I don't think there is a good Helm-based solution for deploying ContainerInsights.
Does the EKS addon do what you want? Could that be added to any existing EKS IaC?
The EKS addon definitely helps and it's easy to add to the existing terraform modules, which solves the issue for me.
However it is not a Helm chart - some other users might prefer to use Helm and/or ArgoCD for this purpose.
You could use ACK to manage the addon in a Kubernetes native way
https://aws-controllers-k8s.github.io/community/reference/eks/v1alpha1/addon/
There is now a helm-chart to install container insights and application signals: https://github.com/aws-observability/helm-charts/tree/main/charts/amazon-cloudwatch-observability
This is the equivalent of the Amazon CloudWatch Observability EKS Add-On