waypoint install command installs and manages a single Waypoint runner.
Waypoint supports any number of additional runners. Additional runners must
be run manually today. A future version of Waypoint will introduce more
automated management for additional runners.
Waypoint supports deploying a runner to multiple platforms with one command. Depending on the platform, different configurations may be provided to control various aspects of the runner deployed in the given platform. By default, the server will adopt the runner and create a new runner profile for it after it reports to the server.
To install a runner, use the
waypoint runner install command. Below is an
example of using that command to install a Waypoint runner to Docker:
$ waypoint runner install -platform=docker -docker-runner-network=waypoint -server-addr=waypoint-server:9701 -server-tls-skip-verify=true ✓ Connecting to: waypoint-server:9701 ✓ Runner 01G5F2R0EKY0J8WW4W8HRGZVN1 installed successfully ✓ Runner profile docker-01G5F2R0EKY0J8WW4W8HRGZVN1 created successfully. ✓ Waypoint runner installed and started! ✓ Runner detected by server ✓ Runner 01G5F2R0EKY0J8WW4W8HRGZVN1 adopted successfully.
Other example commands for the platforms Waypoint supports in server install are below. If you customized any of the values during install, substitute your own values for the defaults.
$ waypoint runner install -platform=docker -server-addr=waypoint-server:9701 -docker-runner-network=waypoint -server-tls-skip-verify
$ waypoint runner install -platform=kubernetes -server-addr=waypoint-server:9701 -server-tls-skip-verify
$ waypoint runner install -platform=ecs -ecs-cluster=waypoint -ecs-region=<AWS_REGION> -server-addr=<AWS_NLB_NAME>.elb.<AWS_REGION>.amazonaws.com:9701 -server-tls-skip-verify
$ waypoint runner install -platform=nomad -server-addr=localhost:9701 -nomad-host-volume=waypoint-runner -server-tls-skip-verify
Currently, Waypoint supports installing runners on the following platforms:
- Amazon ECS
The instructions below are only if you're installing additional runners
waypoint install automatically installs a single runner and
you don't need to manually add any additional runners until the load
To run a runner, use the
waypoint runner agent command:
$ WAYPOINT_SERVER_ADDR=<server addr> \ WAYPOINT_SERVER_TLS=true \ WAYPOINT_SERVER_TOKEN=<auth token> \ waypoint runner agent » Runner configuration: Server address: waypoint.example.com:9701 » Runner logs: ...
The environment variables specify how to connect to the server:
WAYPOINT_SERVER_ADDRshould be the address to the Waypoint server that the runner can reach. The port should be for the gRPC API, and is typically 9701.
WAYPOINT_SERVER_TLSshould be set to a truthy value (e.g. "1") if the server is listening on TLS.
WAYPOINT_SERVER_TLS_SKIP_VERIFYshould be set to a truthy value (e.g. "1") if the TLS cert is invalid and can be safely ignored, such as in a development environment.
If the runner process remains running and doesn't show any errors, the runner is now registered with the server and can now be used.