Deleting GitLab

Let's perform the following steps to completely remove the GitLab Deployment we created in this section:

  1. Delete the existing release of GitLab using Helm:
$ helm delete --purge gitlab
  1. You may also want to remove the namespace to make sure there is nothing left behind:
$ kubectl delete ns gitlab

Now you have learned how to get GitLab up and running on Kubernetes. This knowledge will be required in Chapter 3, Building CI/CD Pipelines, in the GitLab section, where you will learn how to import an application and create a pipeline in GitLab.