amazon-archives / k8s-cloudwatch-adapter

An implementation of Kubernetes Custom Metrics API for Amazon CloudWatch
Apache License 2.0
158 stars 98 forks source link

Check metadata response code #80

Open gshutler opened 3 years ago

gshutler commented 3 years ago

Avoids an error in some regions where no response body is provided when IMDS access is disabled.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

gshutler commented 3 years ago

Available on DockerHub https://hub.docker.com/layers/143367041/cronofy/k8s-cloudwatch-adapter/v0.11.0/images/sha256-6abeaae38855905f9ba884abcaa3fce566cd27f09aabc9b96e0d62073409c01b

gshutler commented 3 years ago

Should mention that does include some other changes such as changing the package name to match our forked repository, not just this commit, though that is the only behavioral change.