Delete using CLI
Deleting Kubeflow from GCP using the command line interface (CLI)
This page explains how to delete a Kubeflow deployment on
Google Cloud Platform (GCP) using kubectl
.
Before you start
This guide assumes the following settings:
-
The
${KF_DIR}
environment variable contains the path to your Kubeflow application directory, which holds your Kubeflow configuration files. For example,/opt/my-kubeflow/
.export KF_DIR=<path to your Kubeflow application directory>
Deleting your deployment
-
To delete the applications running in the Kubeflow namespace, remove that namespace:
kubectl delete namespace kubeflow
-
To delete the cluster and all GCP resources, run the following commands:
cd ${KF_DIR}
make delete-gcp
- Warning This will delete the persistent disks storing metadata. If you want to preserve the disk don’t run this command; instead selectively delete only those resources you want to delete.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified 27.07.2020: Address comments. (65796326)