Big News!  Tilt is joining Docker

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
      --namespace string    Default namespace for Kubernetes resources (overrides default namespace from active context in kubeconfig)

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)
  -v, --verbose    Enable verbose logging

SEE ALSO

  • tilt - Multi-service development with no stress
Auto generated by spf13/cobra on 3-Sep-2024