Cleanup
When you're finished experimenting with a sample, you may clean up as follows:
- Stop
kubectl port-forward
processes (e.g., usingpkill kubectl
) - Delete the namespace created for this sample:
kubectl delete namespace fybrik-notebook-sample
- Delete the policy created in the fybrik-system namespace:
NS="fybrik-system"; kubectl -n $NS get configmap | awk '/sample/{print $1}' | xargs kubectl delete -n $NS configmap