Skip to main content
Skip table of contents

CX uninstallation

The purpose of this document is to uninstall the cim solution 

Uninstall Rancher ( only  if Rancher was installed )

To uninstall the rancher

it is a destructive command and will result in data loss.


Uninstall the Rancher UI  if it is installed

CODE
helm uninstall rancher -n cattle-system

and cert-manager 

CODE
helm uninstall cert-manager -n cert-manager

Uninstallation of External Components

PostgreSQL 


To delete the config map of PostgreSQL

CODE
kubectl -n ef-external delete configmap ef-postgresql-license-manager-cm 


it is a destructive command and will result in data loss.

To uninstall the  PostgreSQL

CODE
helm uninstall  ef-postgresql -n ef-external



change the directory to Kubernetes

CODE
cd cim-solution/kubernetes

Keycloak


to delete the config map of keycloak.

CODE
kubectl delete -f pre-deployment/keycloak/ef-keycloak-configmap.yaml


it is a destructive command and will result in data loss.

To uninstall the  keycloak

CODE
helm uninstall  keycloak -n ef-external

Mongo


it is a destructive command and will result in data loss.

To uninstall the mongo

CODE
helm uninstall  mongo -n ef-external

Minio


it is a destructive command and will result in data loss.

to uninstall the minio

CODE
helm uninstall minio -n ef-external

Redis


it is a destructive command and will result in data loss.


to uninstall the redis

CODE
helm uninstall redis -n ef-external

Grafana


To delete the secret of grafana.

CODE
kubectl -n ef-external delete secret ef-grafana-datasource-secret 


To delete the dashboard provider configmap of grafana.

CODE
kubectl delete cm ef-grafana-dashboard-provider-cm -n ef-external 

To delete the garafana.ini configmap of grafana.

CODE
kubectl -n ef-external delete configmap ef-grafana-ini-cm 


it is a destructive command and will result in data loss.


To delete the grafana supervisor dashboards files.

MYSQL Dashboard
CODE
kubectl -n ef-external delete configmap ef-grafana-supervisor-dashboard-mysql


MSSQL Dashboard
ACTIONSCRIPT3
kubectl -n ef-external delete configmap ef-grafana-supervisor-dashboard-mssql


To uninstall the grafana

CODE
helm uninstall grafana -n ef-external

Superset


to uninstall the superset

CODE
helm uninstall superset -n ef-bi



Deleting PVC will remove all the data and result in irrecoverable data. 



RASA-X 

To delete the redeployment of rasa-x.

CODE
kubectl delete -f pre-deployment/rasa-x-1.1.2/ef-rasa-x-nginx-standard-conf.yaml


Deleting PV will remove all the data and result in irrecoverable data. 

to uninstall the rasa-x

CODE
helm uninstall rasa-x -n  rasa-x   

Delete all the PVC for rasa-x

CODE
kubectl -n rasa-x delete persistentvolumeclaim/data-rasa-x-rabbit-0 persistentvolumeclaim/data-rasa-x-postgresql-0 persistentvolumeclaim/redis-data-rasa-x-redis-master-0


Expertflow Components


change the directory to cim

CODE
cd cim/

Conversation Manager ConfigMaps


To delete the configmaps of conversation manager

CODE
kubectl -n expertflow delete configmap ef-conversation-controller-actions-cm 
kubectl -n expertflow delete configmap ef-conversation-controller-actions-pycache-cm 
kubectl -n expertflow delete configmap ef-conversation-controller-actions-utils-cm 

Reporting Connector ConfigMaps


To delete the configmap of reporting connector

CODE
kubectl -n expertflow delete configmap ef-reporting-connector-conf
kubectl -n expertflow delete configmap ef-reporting-connector-cron


Delete App Translations based & all other configmap in the ConfigMaps folder using

CODE
kubectl delete configmap ef-app-translations-cm -n expertflow

kubectl delete -f ConfigMaps/


StatefulSet


To uninstall ActiveMQ

CODE
kubectl delete  -f StatefulSet/


Deployments


Delete all the Deployment manifests using

CODE
kubectl delete -f Deployments/


Services


Delete services for all deployment EF components

CODE
kubectl delete -f Services/

Ingress


To delete the Traefik-based ingress

CODE
kubectl delete -f Ingresses/traefik/

To delete the Nginx  based ingress

CODE
kubectl delete -f Ingresses/nginx/


PVC 


To delete the PVC of all the external components 


To delete the PVC of activeMQ

CODE
kubectl delete pvc -n ef-external  activemq-data-ef-amq-0


To delete the PVC of  postgreSQL

CODE
kubectl delete pvc -n ef-external data-ef-postgresql-0

To delete the PVC of the superset

CODE
kubectl delete pvc -n ef-external data-superset-postgresql-0

To delete the PVC of mongo

CODE
kubectl delete pvc -n ef-external datadir-mongo-mongodb-0

To delete the PVC of redis

CODE
kubectl delete pvc -n ef-external redis-data-redis-master-0

 

Deleting PV will remove all the data and result in irrecoverable data. 

PV (Persistent volume)


first, we need to get all PV`s lists.

CODE
kubectl get pv -n ef-external

To delete all persistent volumes.

CODE
kubectl delete pv {presistent-volumne-name} -n ef-external




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.