hammerkit

Down

Stop services that were started with up.

Stops the services of your build file, for example the ones started with hammerkit up or left running by up --daemon.

hammerkit down

Name services to stop only those, or tasks to stop the services they need:

hammerkit down postgres
hammerkit down dev:serve

Names are the ones hammerkit ls lists, as for up. A named service stops alone: the services it needs keep running, since other services may use them too. A named task stops the services it and its dependencies need. Only the services matching the --filter/--exclude labels are stopped when those options are given. down never runs a task, also not one it names.

Pass --env <name> to target the services of a configured environment, for example a Kubernetes cluster declared under environments:.

Options

Usage: hammerkit down [options] [names...]

Arguments:
  names                      services to stop, or tasks whose services to stop, all when none is named

Options:
  -f, --filter <labels...>   filter task and services with labels
  -e, --exclude <labels...>  exclude task and services with labels
  --env <name>               environment
  -h, --help                 display help for command

On this page