Tilt CLI Reference

tilt down

Delete resources created by ‘tilt up’

Synopsis

Deletes resources specified in the Tiltfile

Specify additional flags and arguments to control which resources are deleted.

Namespaces are not deleted by default. Use –delete-namespaces to change that.

Kubernetes resources with the annotation ‘tilt.dev/down-policy: keep’ are not deleted.

For more complex cases, the Tiltfile has APIs to add additional flags and arguments to the Tilt CLI. These arguments can be scripted to define custom subsets of resources to delete. See https://docs.tilt.dev/tiltfile_config.html for examples.

tilt down [<tilt flags>] [-- <Tiltfile args>]

Options

      --context string      Kubernetes context override. Equivalent to kubectl --context
      --delete-namespaces   delete namespaces defined in the Tiltfile (by default, don't)
  -f, --file string         Path to Tiltfile (default "Tiltfile")
  -h, --help                help for down

Options inherited from parent commands

  -d, --debug                          Enable debug logging
      --klog int                       Enable Kubernetes API logging. Uses klog v-levels (0-4 are debug logs, 5-9 are tracing logs)
      --log-flush-frequency duration   Maximum number of seconds between log flushes (default 5s)
  -v, --verbose                        Enable verbose logging

SEE ALSO

  • tilt - Multi-service development with no stress
Auto generated by spf13/cobra on 19-Feb-2021
 
 
 

Was this doc helpful?