-
Notifications
You must be signed in to change notification settings - Fork 54
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
V4 endpoint support #38
Comments
Hi Joe, we don't currently have an ETA but will discuss this and update the issue when we have more information. For the time being, @PettitWesley may know more about the status. |
@alkalinecoffee @bvtujo I haven't thought about V4 much; I don't have an ETA either. In ECS, V4 is the same as V3 except network IO stats are present for all network modes. Previously with V3 they were not present for the awsvpc network mode. AFAICT, the structure used is the same as the one provided by docker stats. Since local endpoints does not have a true awsvpc- network stats should already be present in all stats responses. So on that front, its not clear to me that any changes are actually needed for this tool- I think you might be able to just set the So may be all we need is doc change? Someone should investigate this. I created this project and still try to maintain it, but its no longer my primary focus, I'd prefer if someone else could help out. |
Thanks for the response. According to the docs, there are a few additional values added to the V4 task endpoint:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.html I haven't had a chance to look at the code myself, but is it possible today to mock or otherwise inject other values (perhaps from envvars) into the metadata endpoint response? That might help make this more flexible in the long-term, as the docs above state that more values may be added over time. Maybe we can put the onus on the developer to add mocked values as needed instead of having to keep this image up to date with each value. |
@alkalinecoffee Ah I see. Then we do need to make changes to support V4, to mock those new fields. Right now we have default mocks for metadata fields, which can be overridden with Env Vars, we can take the same approach. Are you interested in contributing this? |
Implementation steps for the full solution:
|
Closing this issue since implementation and docs are now available. |
👋 Hey all, thanks for making this image available.
Is there any planned support for V4 metadata endpoints? Do we have an ETA on this?
Thanks
The text was updated successfully, but these errors were encountered: