aws-samples / amazon-cloudwatch-container-insights

CloudWatch Agent Dockerfile and K8s YAML templates for CloudWatch Container Insights.
MIT No Attribution
165 stars 108 forks source link

Migrate to IMDS v2 #145

Closed otterley closed 1 year ago

otterley commented 1 year ago

Description of changes:

Update Fluent Bit example configurations to use EC2 IMDS v2. This will make Fluent Bit work properly on instances launched from recent EKS optimized node AMIs which require HTTP tokens in their IMDS requests. It will continue to work even on older AMIs that don't require HTTP tokens. This is also the new default value for Fluent Bit's AWS plugin.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

daithi-walker commented 1 year ago

Is there any way to get a new release for the updated code? The last release was on Jun 29th, which is before this change got merged in.

image

https://github.com/aws-samples/amazon-cloudwatch-container-insights/tags

I am happy to give a release a go if someone could link to documentation on where I'd get some of the agent versions that would need to be updated... Just not obvious, even after reading the contributing doc. Thanks!

SaxyPandaBear commented 1 year ago

Howdy 👋 not sure why this wasn't updated. Let me circle back with the team. We have a new release candidate staged atm so I'll try to make sure that the GitHub releases here get updated too when that rolls out globally