This is the agent Tutum uses to set up nodes. It's a daemon that will register the host with the Tutum API using a user token (TutumToken
), and will manage the installation, configuration and ongoing upgrade of the Docker daemon.
For information on how to install it in your host, please check the Bring Your Own Node documentation.
If installing from a .deb
or .rpm
package, Tutum Agent will be configured in upstart to be launched on boot.
# tutum-agent -h
Usage of ./tutum-agent:
-debug=false: Enable debug mode
-docker-host="": Override 'DockerHost'
-docker-opts="": Add additional flags to run docker daemon
-standalone=false: Standalone mode, skipping reg with tutum
-stdout=false: Print log to stdout
-tutum-host="": Override 'TutumHost'
-tutum-token="": Override 'TutumToken'
-tutum-uuid="": Override 'TutumUUID'
set: Set items in the config file and exit, supported items
CertCommonName="xxx"
DockerHost="xxx"
TutumHost="xxx"
TutumToken="xxx"
TutumUUID="xxx"
Configuration file is located in /etc/tutum/agent/tutum-agent.conf
(JSON file) with the following structure:
{
"CertCommonName":"*.node.tutum.io",
"DockerHost":"tcp://0.0.0.0:2375",
"TutumHost":"https://dashboard.tutum.co/",
"TutumToken":"<token>",
"TutumUUID":"<uuid>"
}
Logs are stored under /var/log/tutum/
:
agent.log
contains the logs of the agent itselfdocker.log
contains the Docker daemon logs
Run make
to build binaries and .deb
and .rpm
packages which will be stored in the build/
folder.
Currently only tested on Ubuntu 14.04 and CentOS 7
In order to report a security issue, please send us an email to [email protected]. Please use GPG key ID 666DAA4A
on keys.gnupg.net
to encrypt your email. Thank you!