Deleting Engineering Lifecycle Management instance using the Kubernetes CLI

Deleting the Engineering Lifecycle Management instances and associated resources from the namespace by using the Kubernetes CLI method

About this task

All associated resources that are created by Engineering Lifecycle Management operator are deleted when you delete the Engineering Lifecycle Management instance.

Procedure

  1. List the Engineering Lifecycle Management instance using the following command
    kubectl get elm -n <namespace-name>
    Note: namespace-name is the project name where the Engineering Lifecycle Management instance is installed.
  2. Delete the Engineering Lifecycle Management instance using following command
    kubectl delete ELM/<elm-instance-name> -n <namespace-name>
  3. Delete the configs using the following command
    kubectl delete configmap elm-auth-type-config -n <namespace-name>
  4. Delete the Secret elm-auth-secret using the following command
    kubectl delete secret elm-auth-secret -n <namespace-name>
  5. Delete the Persistent Volume Claim elm-shared-pvc and elm-backup-pvc
    kubectl delete pvc elm-shared-pvc elm-backup-pvc -n <namespace-name>
  6. Delete the Persistent Volume elm-shared-pv and elm-backup-pv
    kubectl delete pv elm-shared-pv
    kubectl delete pv elm-backup-pv