Sign inSign up

flaconi/cruise_control

By flaconi

•Updated about 4 years ago

Docker image for Cruise Control: https://github.com/Flaconi/docker-cruise_control

Image
0

8.8K

flaconi/cruise_control repository overview

⁠Docker Cruise Control

Build Status

Docker image for Cruise Control⁠

Docker hub

⁠Available images tags

⁠Rolling releases
Docker tagCruise Control version
latest-latestLatest available release
2.4.2-latestCruise control v2.4.2
2.0.105-latestCruise control v2.0.105
⁠Git tagged releases
Git tagDocker tagCruise Control version
<gtag>latest-<gtag>Latest available release
<gtag>2.4.2-<gtag>Cruise control v2.4.2
<gtag>2.0.105-<gtag>Cruise control v2.0.105
docker pull flaconi/cruise_control

⁠Build metrics-reporter.jar

This file is used for Kafka broker.

# Will build and copy file to dist/ in current git repo
make artifact

⁠Build and test

# Build and test latest version
make build
make test

# Build and test specific version
make build VERSION=2.0.105
make test VERSION=2.0.105

# Rebuild (--no-cache)
make rebuild
make rebuild VERSION=2.0.105

⁠Configuration files

fileinfo
/cc/config/capacity.jsonHolds capacity info and can be mounted or created with env vars.
/cc/config/cruisecontrol.propertiesFull configuration. Currently only bootstrap servers can be adjusted with env vars. If you need more granular configuration, mount this file yourself.
/cc/cruise-control-ui/static/config.csvEnvironment display version for the web ui. Can only be adjusted via env vars.

⁠Environment variables

You can either use environment variables or mount the configuration files yourself.

⁠PORT

At what port Cruise Control web ui should listen internally. Defaults to 9090 if not set.

⁠BROKER_CAPACITY

If set, will override values in /cc/config/capacity.json

  • Format: <id>:<disk>:<cpu>:<nw_in>:<nw_out>[,<id>:<disk>:<cpu>:<nw_in>:<nw_out>]
# Creates capacities for broker 0 and broker 1
BROKER_CAPACITY=0:5000,100:500:500,1:5000,100:500:500
⁠BOOTSTRAP_SERVERS

If set, will adjust bootstrap.servers value in /cc/config/cruisecontrol.properties

  • Format: <broker1>:<port1>[,<broker2>:<port2>]
# Adds two bootstrap servers
BOOTSTRAP_SERVERS=broker1.example.com:9092,broker1.example.com:9092
⁠ZOOKEEPER_CONNECT

If set, will adjust zookeeper.connect value in /cc/config/cruisecontrol.properties

  • Format: <zk1>:<port1>[,<zk2>:<port2>]
# Adds two zookeper servers
ZOOKEEPER_CONNECT=zk1.example.com:2181,zk1.example.com:2181
⁠UI_KEY and UI_VAL

Used for the web interface for cluster selection. Defaults to UI_KEY=environment and UI_VAL=default if not set. Will create /cc/cruise-control-ui/static/config.csv

# Changes env name to dev
UI_KEY=env
UI_VAL=dev

⁠License

MIT License⁠

Copyright (c) 2020 Flaconi GmbH

Tag summary

Content type

Image

Digest

sha256:e6531f32f…

Size

113.9 MB

Last updated

about 4 years ago

docker pull flaconi/cruise_control