This image contains a containerized version of the Monasca agent forwarder. For
more information on the Monasca project, see the wiki. It is based on the
agent-base image also built in monasca-docker.
Images in this repository are tagged as follows:
latest: refers to the latest stable point release, e.g.
1: standard semver tags, based on git tags in the
newton, etc: named versions following OpenStack release names
built from the tip of
stable/RELEASENAMEbranches in the repository
master-DATESTAMP: unstable testing builds from the master branch,
these may have features or enhancements not available in stable releases, but
are not production-ready.
The agent forwarder requires a reachable Monasca API server.
docker run -it monasca/agent-forwarder:latest
||Python logging level|
||Versioned Keystone URL|
||Agent Keystone username|
||Agent Keystone password|
||Agent Keystone user domain|
||Agent Keystone project name|
||Agent Keystone project domain|
||Versioned Monasca API URL|
||If true, determine node hostname from Kubernetes|
||If true, forwarder listens on all addresses|
Note that additional variables can be specified as well, see the
config template for a definitive list.
dbuild can be used with the build.yml file to build and push the
To build the container from scratch using just docker commands, run:
docker build -t youruser/agent-forwarder:latest .
A few build argument can be set:
AGENT_USER: the user to run the agent as. The same user must be specified
as the user specified when the agent-base image was built.
REBULID: a simple method to invalidate the Docker image cache. Set to
--build-arg REBUILD="$(date)"to force a full image rebuild.
HTTPS_PROXYshould be set as needed for your environment
If you'd like to build this image against an uncommitted working tree, consider
using git-sync to mirror your local tree to a temporary git repository.