Aspir8: Aspire to Deployments Help

Removing Manifests from a Cluster

To remove the manifests from your cluster, run:

aspirate destroy

You will first be presented with all the context names (unless you have passed one in as a cli option) in your kubeconfig file, and will be asked to select one. This will be used for removal.

If you have a secret file, these secrets will be removed as well. This command does not prompt for a password, as secrets do not need to be decrypted to be removed from your cluster.

Cli Options (Optional)

Option

Alias

Environmental Variable Counterpart

Description

--input-path

-i

ASPIRATE_INPUT_PATH

The path for the kustomize manifests directory. Defaults to ./aspirate-output

--kube-context

-k

ASPIRATE_KUBERNETES_CONTEXT

The name of the kubernetes context within your kubeconfig to apply / deploy manifests to.

--non-interactive

ASPIRATE_NON_INTERACTIVE

Disables interactive mode for the command

--disable-secrets

ASPIRATE_DISABLE_SECRETS

Disables secrets management features.

Last modified: 18 May 2024