logo
logo
search
EXPAND ALL
  • Home
Open Source Docs

Uninstalling Pixie

Pixie can be uninstalled with Pixie's CLI tool or with kubectl.

Uninstall using the CLI (easiest)

The easiest way to uninstall Pixie is with the CLI. To delete Pixie from the current cluster, run:

px delete

Note that px delete will not delete the olm namespace. During installation, Pixie will install the Operator Lifecycle Manager (OLM) if it is not already present. Make sure that no other applications are using the OLM before manually deleting it with kubectl delete namespace olm.

Uninstall using kubectl

To delete Pixie using kubectl, run the following commands. These commands assume that Pixie's components were deployed to their default namespaces.

# Delete Pixie operator.
kubectl delete namespace px-operator
# Delete Pixie vizier.
kubectl delete namespace pl
# Delete Pixie ClusterRole, ClusterRoleBinding objects.
kubectl delete clusterroles -l "app=pl-monitoring"
kubectl delete clusterrolebindings -l "app=pl-monitoring"

During installation, Pixie will install the Operator Lifecycle Manager (OLM) if it is not already present in your cluster. Make sure that no other applications are using the OLM before deleting it with kubectl delete namespace olm.

© 2018-21 New Relic, Inc. All Rights Reserved.
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.