Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion deploy/mvp-singlenode/docker-compose/agents-N1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ x-agent: &agent-base
depends_on:
- gateway
- controller
# The opampextension's `remote_config_path` (ASAPCollector#391)
# writes the controller-pushed RemoteConfig back to
# `/etc/otel/config.yaml` and exits, expecting Docker to restart
# the container so the new config takes effect. Both of the
# following are required for that flow to work:
# - the mount must be RW (no `:ro`) so the on-disk write succeeds
# - `restart: unless-stopped` so Docker brings the agent back up
# See /mydata/mvp-smoke-test/compose/smoke-overlay.yml for the
# working reference that established this contract.
restart: unless-stopped
# Agents are configured via the mounted sketch pipeline; overriding
# the entrypoint isn't needed — the patched asap-otel binary
# is the default.
Expand All @@ -26,7 +36,7 @@ x-agent: &agent-base
# paper baselines' compose overlays (baseline-b*.yml) set
# it before `docker compose up`. Compose expands the
# ${VAR:-default} syntax at container start.
- ../configs/${AGENT_CONFIG:-asap-otel-agent-b2-full.yaml}:/etc/otel/config.yaml:ro
- ../configs/${AGENT_CONFIG:-asap-otel-agent-b2-full.yaml}:/etc/otel/config.yaml
environment:
CONTROLLER_OPAMP_URL: "ws://controller:4320/v1/opamp"
# Runtime-samples push endpoint — sketch-runtime sends
Expand Down
14 changes: 12 additions & 2 deletions deploy/mvp-singlenode/docker-compose/agents-N10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ x-agent: &agent-base
depends_on:
- gateway
- controller
# The opampextension's `remote_config_path` (ASAPCollector#391)
# writes the controller-pushed RemoteConfig back to
# `/etc/otel/config.yaml` and exits, expecting Docker to restart
# the container so the new config takes effect. Both of the
# following are required for that flow to work:
# - the mount must be RW (no `:ro`) so the on-disk write succeeds
# - `restart: unless-stopped` so Docker brings the agent back up
# See /mydata/mvp-smoke-test/compose/smoke-overlay.yml for the
# working reference that established this contract.
restart: unless-stopped
command:
- "--config=/etc/otel/config.yaml"
volumes:
Expand All @@ -23,7 +33,7 @@ x-agent: &agent-base
# paper baselines' compose overlays (baseline-b*.yml) set
# it before `docker compose up`. Compose expands the
# ${VAR:-default} syntax at container start.
- ../configs/${AGENT_CONFIG:-asap-otel-agent-b2-full.yaml}:/etc/otel/config.yaml:ro
- ../configs/${AGENT_CONFIG:-asap-otel-agent-b2-full.yaml}:/etc/otel/config.yaml
deploy:
resources:
limits:
Expand All @@ -42,7 +52,7 @@ services:
fake-exporter:
environment:
EXPORTER_TARGET: "agent-1:4317"
# Workload-sweep knobs. Defaults match the N=1
# workload-sweep knobs. Defaults match the N=1
# smoke-test. Override at bring-up:
#
# EXPORTER_RATE=10000 EXPORTER_CARDINALITY=5000 \
Expand Down
14 changes: 12 additions & 2 deletions deploy/mvp-singlenode/docker-compose/agents-N100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ x-agent: &agent-base
depends_on:
- gateway
- controller
# The opampextension's `remote_config_path` (ASAPCollector#391)
# writes the controller-pushed RemoteConfig back to
# `/etc/otel/config.yaml` and exits, expecting Docker to restart
# the container so the new config takes effect. Both of the
# following are required for that flow to work:
# - the mount must be RW (no `:ro`) so the on-disk write succeeds
# - `restart: unless-stopped` so Docker brings the agent back up
# See /mydata/mvp-smoke-test/compose/smoke-overlay.yml for the
# working reference that established this contract.
restart: unless-stopped
command:
- "--config=/etc/otel/config.yaml"
volumes:
Expand All @@ -23,7 +33,7 @@ x-agent: &agent-base
# paper baselines' compose overlays (baseline-b*.yml) set
# it before `docker compose up`. Compose expands the
# ${VAR:-default} syntax at container start.
- ../configs/${AGENT_CONFIG:-asap-otel-agent-b2-full.yaml}:/etc/otel/config.yaml:ro
- ../configs/${AGENT_CONFIG:-asap-otel-agent-b2-full.yaml}:/etc/otel/config.yaml
deploy:
resources:
limits:
Expand All @@ -42,7 +52,7 @@ services:
fake-exporter:
environment:
EXPORTER_TARGET: "agent-1:4317"
# Workload-sweep knobs. Defaults match the N=1
# workload-sweep knobs. Defaults match the N=1
# smoke-test. Override at bring-up:
#
# EXPORTER_RATE=10000 EXPORTER_CARDINALITY=5000 \
Expand Down
12 changes: 11 additions & 1 deletion deploy/mvp-singlenode/docker-compose/gen-agents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ x-agent: &agent-base
depends_on:
- gateway
- controller
# The opampextension's \`remote_config_path\` (ASAPCollector#391)
# writes the controller-pushed RemoteConfig back to
# \`/etc/otel/config.yaml\` and exits, expecting Docker to restart
# the container so the new config takes effect. Both of the
# following are required for that flow to work:
# - the mount must be RW (no \`:ro\`) so the on-disk write succeeds
# - \`restart: unless-stopped\` so Docker brings the agent back up
# See /mydata/mvp-smoke-test/compose/smoke-overlay.yml for the
# working reference that established this contract.
restart: unless-stopped
command:
- "--config=/etc/otel/config.yaml"
volumes:
Expand All @@ -38,7 +48,7 @@ x-agent: &agent-base
# paper baselines' compose overlays (baseline-b*.yml) set
# it before \`docker compose up\`. Compose expands the
# \${VAR:-default} syntax at container start.
- ../configs/\${AGENT_CONFIG:-asap-otel-agent-b2-full.yaml}:/etc/otel/config.yaml:ro
- ../configs/\${AGENT_CONFIG:-asap-otel-agent-b2-full.yaml}:/etc/otel/config.yaml
deploy:
resources:
limits:
Expand Down