Comments (3)
tacking this on here.......i also need support for configuring ECS_ENABLE_CONTAINER_METADATA
is there a way we can set these arbitrarily without having to make individual issues/pr's for every config available to the ecs-agent?
from bottlerocket.
@jtschelling I have reconfigured my services to use ecs_container_metadata_uri_v4.
from bottlerocket.
While working on supporting ECS_ENABLE_CONTAINER_METADATA
, I realized that due to how we configure the ECS agent, this feature won't work unless we patch the ECS agent.
When the ECS agent attempts to mount the metadata file on the task's container, it will use the directory ${ECS_HOST_DATA_DIR}/${ECS_DATADIR}
. In normal circumstances, the values for these environment variables will be /var/lib/ecs
and /data
, respectively, and the resulting path for the directory will be /var/lib/ecs/data
. In Bottlerocket, we change ECS_DATADIR
to be /var/lib/ecs
without changing the default value of ECS_HOST_DATA_DIR
. That results on the ECS agent creating the metadata file for the container at /var/lib/ecs/data/metadata
, as expected, but the mounted directory will be /var/lib/ecs/var/lib/ecs/data
due to the overridden ECS_DATADIR
.
Setting ECS_HOST_DATA_DIR
as an empty string isn't an option since that value is used by other features like Firelens.
from bottlerocket.
Related Issues (20)
- Setting to control bottlerocket host cgroup cpu allocation HOT 2
- v1.19.0 update eni-max-pods mapping file
- v1.19.0 Host container updates HOT 1
- v1.19.0 Go dependency updates
- Sandbox container image being GC'd in 1.29 HOT 8
- Specify autoloaded kernel module options via settings. HOT 4
- Update ECS agent to v1.81.0 and Docker to v25
- update to glibc 2.39
- v1.19.1 💘 Tracking Issue HOT 2
- Issue with Bottlerocket image HOT 1
- Missing runtime metrics from cAdvisor HOT 5
- Failed to start ContainerManager err="invalid kernel flag: vm/overcommit_memory, expected value: 1, actual value: 0" HOT 2
- OOTB: Remove conditional compilation from updog
- OOTB: Remove conditional compilation from logdog HOT 1
- Support for system-reserved pid setting HOT 2
- "privileged: true" in pod spec clobbers SELinux options HOT 1
- No metal-k8s-1.29 variant for Bottlerocket
- v1.19.2 💘 Tracking Issue HOT 9
- Use a bottle rocket AMI in an AWS EC2 Image Pipeline HOT 2
- Github: update workflows to use node.js 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bottlerocket.