jx delete preview

jx delete preview

Deletes a preview environment

Synopsis

Deletes a preview environment

jx delete preview [flags]

Options

  -c, --cluster string                    The Kubernetes cluster for the Environment. If blank and a namespace is specified assumes the current cluster
      --dev-namespace string              The Developer namespace where the preview command should run
      --dir string                        The source directory used to detect the git source URL and reference
  -h, --help                              help for preview
  -l, --label string                      The Environment label which is a descriptive string like 'Production' or 'Staging'
  -n, --name string                       The Environment resource name. Must follow the Kubernetes name conventions like Services, Namespaces
      --namespace string                  The Kubernetes namespace for the Environment
      --no-comment                        Disables commenting on the Pull Request after preview is created.
      --post-preview-job-timeout string   The duration before we consider the post preview Jobs failed (default "2h")
      --post-preview-poll-time string     The amount of time between polls for the post preview Job status (default "10s")
      --pr string                         The Pull Request Name (e.g. 'PR-23' or just '23'
      --pr-url string                     The Pull Request URL
      --source-ref string                 The source code git ref (branch/sha)
  -s, --source-url string                 The source code git URL

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input (default true)
      --verbose      Enables verbose output

SEE ALSO

Auto generated by spf13/cobra on 15-Nov-2019

Last modified November 15, 2019: release 0.0.1252 (fba040c)