Skip to main content

skyhook restart

Restart a service deployment

Synopsis

Restart a service deployment by performing a rolling restart. Uses kubectl rollout restart to trigger a rolling update of all pods. Requires kubectl access to the target cluster. Environment variables: SKYHOOK_ORG Default organization SKYHOOK_SERVICE Default service (or use .koala.toml) SKYHOOK_ENV Default environment (or use ‘skyhook config set env’)
skyhook restart [flags]

Examples

  skyhook restart                         # Restart service in .koala.toml
  skyhook restart --service billing       # Restart specific service
  skyhook restart --env prod              # Restart in specific environment
  skyhook restart --first                 # Non-interactive: first deployment

Options

      --context string   Kubernetes context to use
  -e, --env string       Environment
      --first            Auto-select first deployment (non-interactive)
  -h, --help             help for restart
  -s, --service string   Service to restart

Options inherited from parent commands

      --debug        Enable debug mode (shows full API requests/responses)
  -o, --org string   Organization name
  -v, --verbose      Enable user-friendly verbose output

SEE ALSO

  • skyhook - skyhook is a CLI tool to help you create and manage k8s services