Skip to content

opct destroy

opct destroy tears down the conformance test environment in the target cluster.

Options

Destroys resources used for conformance testing inside of the target OpenShift cluster. This will not destroy OpenShift cluster.

Usage:
  opct destroy [flags]

Aliases:
  destroy, delete

Flags:
  -h, --help   help for destroy

Global Flags:
      --kubeconfig string   kubeconfig for target OpenShift cluster
      --log-level string    logging level (default "info")

Arguments

  • --force: Force the destruction without confirmation.
  • --timeout: Set a timeout for the destruction process.

Summary

The opct destroy command is used to remove the conformance test environment from the specified cluster. This is useful for cleaning up resources after tests have been completed.

Examples

# Destroy the test environment with confirmation
opct destroy

# Force destroy the test environment without confirmation
opct destroy --force

# Destroy the test environment with a timeout of 10 minutes
opct destroy --timeout 10m