Sign inSign up

monasca/agent-forwarder

By monasca

•Updated over 1 year ago

Image
1

1M+

monasca/agent-forwarder repository overview

⁠monasca-agent-forwarder Dockerfile

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.

Sources: monasca-agent⁠ · monasca-docker⁠ · Dockerfile⁠

⁠Tags

Images in this repository are tagged as follows:

  • latest: refers to the latest stable point release, e.g. 1.6.0
  • 1.6.0, 1.6, 1: standard semver tags, based on git tags in the official repository⁠.
  • mitaka, newton, etc: named versions following OpenStack release names built from the tip of stable/RELEASENAME branches in the repository
  • master, 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.

⁠Usage

The agent forwarder requires a reachable Monasca API⁠ server.

In environments resembling the official docker-compose⁠ or Kubernetes⁠ environments, the image does not require additional configuration parameters and can be minimally run like so:

docker run -it monasca/agent-forwarder:latest

⁠Configuration

VariableDefaultDescription
LOG_LEVELWARNPython logging level
KEYSTONE_DEFAULTS_ENABLEDtrueSets all OS defaults
OS_AUTH_URLhttp://keystone:35357/v3/Versioned Keystone URL
OS_USERNAMEmonasca-agentAgent Keystone username
OS_PASSWORDpasswordAgent Keystone password
OS_USER_DOMAIN_NAMEDefaultAgent Keystone user domain
OS_PROJECT_NAMEmini-monAgent Keystone project name
OS_PROJECT_DOMAIN_NAMEDefaultAgent Keystone project domain
MONASCA_URLhttp://monasca:8070/v2.0Versioned Monasca API URL
HOSTNAME_FROM_KUBERNETESfalseIf true, determine node hostname from Kubernetes
NON_LOCAL_TRAFFICfalseIf true, forwarder listens on all addresses

Note that additional variables can be specified as well, see the config template⁠ for a definitive list.

⁠Building

dbuild⁠ can be used with the build.yml file to build and push the container.

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:

  • REBULID: a simple method to invalidate the Docker image cache. Set to --build-arg REBUILD="$(date)" to force a full image rebuild.
  • HTTP_PROXY and HTTPS_PROXY should 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.

Tag summary

Content type

Image

Digest

sha256:dad4e7af9…

Size

79.2 MB

Last updated

over 1 year ago

docker pull monasca/agent-forwarder:master