Uninstalling CloudBees CI from Kubernetes

1 minute read

To remove CloudBees CI from Kubernetes:

  1. Delete all masters from operations center.

  2. Stop operations center.

    kubectl scale statefulsets/cjoc --replicas=0
  3. Delete CloudBees CI.

    kubectl delete -f cloudbees-core.yml
  4. Delete remaining pods and data.

    kubectl delete pod,statefulset,pvc,ingress,service -l com.cloudbees.cje.tenant
  5. Delete services, pods, persistent volume claims, etc.

    kubectl delete svc --all
    kubectl delete statefulset --all
    kubectl delete pod --all
    kubectl delete ingress --all
    kubectl delete pvc --all