• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Waypoint
  • Install
  • Tutorials
  • Documentation
  • CLI
  • Plugins
  • Try Cloud(opens in new tab)
  • Sign up
Waypoint Home

Documentation

Skip to main content
  • Documentation
  • Getting Started


  • URL Service
  • Logs
  • Exec
    • Overview
    • Configuration
    • Profiles
    • On-Demand Runner
    • Additional Runners
    • Adoption Workflow
  • Workspaces
  • Plugins
  • Triggers

  • Troubleshooting
  • Glossary

  • Roadmap

  • Resources

  • Tutorial Library
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Waypoint
  3. Documentation
  4. Runners
  5. Adoption Workflow
  • Waypoint
  • v0.9.x
  • v0.8.x
  • v0.7.x
  • v0.6.x
  • v0.5.x
  • v0.4.x
  • v0.3.x
  • v0.2.x
  • v0.1.x

»Adoption Workflow

Waypoint Runners can exist in various states depending on how they are initially installed into a platform. Most runners will move from Pending to Adopted to Rejected states during their entire lifecycle.

Pending Runners

The Pending runner state is the default state which newly installed runners will be in as they have yet to receive a runner token from the server. Runners in this state may be configured to talk to a Waypoint Server but have not yet been adopted by the Server and therefore will not receive jobs to run. Runners will also show up in this state if they are forgotten about by the server with the waypoint runner forget command.

When in the Pending state, runners may be moved into the Adopted state by issuing the waypoint runner adopt command with the desired Runner ID.

Runners automatically skip this state if they are in the Preadopted state.

Preadopted Runners

When creating a new runner it is possible to generate the runner token which seeded to the new runner before its initial installation. These runners which have an already valid runner token are able to immediately receive jobs from the Waypoint Server when they start. They also skip the Pending state to directly enter the Preadopted state.

Preadopted runners may be moved into the Rejected state like other runners by issuing waypoint runner reject. If a preadopted runner is rejected a new runner token must be created for the runner before it is allowed to receive jobs again.

Adopted Runners

Runners adopted with waypoint runner adopt will store the runner token received by the server in their configured state directory. Once a runner has been adopted it may start receiving job assignments from the Waypoint Server as usual.

Rejected Runners

When a user rejects a Waypoint Runner with the waypoint runner reject command the rejected runner is no longer able to receive job assignments from the Waypoint Server. Rejected runners will continue to appear in the list of runners that the server knows about so that subsequent requests by this same runner are ignored.

Rejecting a runner does not invalidate its token. If a rejected runner is forgotten the previously rejected runner may reconnect to the server as long as its token is not expired. This runner will be able to accept jobs as if it were never rejected in the first place.

»Runner Tokens

Runner tokens are special tokens which can only be used by runners receiving job assignments from the Waypoint Server. These tokens cannot be revoked, only rejected through the waypoint runner reject command. By default runner tokens are valid for 30 days and upon expiring they will need to be recreated with waypoint runner token. Runners must then be restarted with the new token to receive job assignments again. Token expirations may be altered when generating a runner token with waypoint runner token.

The Waypoint Runner will look for the token in two places before requesting a new token from the Waypoint Server. First the runner will look in its state directory for a token file containing a Waypoint Runner token. If a token file doesn't exist then the Waypoint Runner will look in the WAYPOINT_SERVER_TOKEN environment variable. If both of these locations do not contain a token then the Waypoint Runner enters the Pending state and an adoption request is sent to the server for a user to manually adopt. Runners adopted store the received token within the token file in the runner's state directory.

See Additional Runners for more information about Waypoint Runner installation.

Edit this page on GitHub

On this page

  1. Adoption Workflow
  2. Pending Runners
  3. Preadopted Runners
  4. Adopted Runners
  5. Rejected Runners
  6. Runner Tokens
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)