containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[EKS] [helm chart for container insights]: I would like a helm chart for installing CloudWatch Container Insights

Open nbrandaleone opened this issue 5 years ago • 10 comments

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.)

nbrandaleone avatar Mar 06 '20 01:03 nbrandaleone

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.

bollohz avatar Mar 10 '20 16:03 bollohz

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!

kristianfzr avatar Jul 05 '21 13:07 kristianfzr

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.

blackandred avatar Oct 26 '21 11:10 blackandred

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

bugok avatar May 01 '22 10:05 bugok

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

mengmann avatar Mar 21 '23 12:03 mengmann

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.

zizzencs avatar Mar 21 '23 16:03 zizzencs

Does the EKS addon do what you want? Could that be added to any existing EKS IaC?

strongpauly avatar May 09 '24 15:05 strongpauly

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.

zizzencs avatar May 09 '24 16:05 zizzencs

You could use ACK to manage the addon in a Kubernetes native way

https://aws-controllers-k8s.github.io/community/reference/eks/v1alpha1/addon/

mikestef9 avatar May 09 '24 16:05 mikestef9

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

lisguo avatar Jun 14 '24 18:06 lisguo