Uninstallation

TOC

Uninstall Alauda build of DCGM-Exporter

  1. Delete MonitorDashboard resources.
    kubectl -n cpaas-system delete MonitorDashboard hami-vgpu-metrics-dashboard

Note: If DCGM-Exporter is only used by HAMi, you can uninstall it. Otherwise, you only need to update the cluster plugin configuration and delete the gpu-on node label.

  1. Go to the Administrator -> Marketplace -> Cluster Plugin page, switch to the target cluster, find Alauda Build of DCGM-exporter and then uninstall the cluster plugin.

Uninstall Alauda build of Hami-WebUI

Go to the Administrator -> Marketplace -> Cluster Plugin page, switch to the target cluster, find Alauda Build of Hami-WebnUI and then uninstall the cluster plugin.

Uninstall Alauda build of Hami

  1. Delete configmaps of Hami resources.

    kubectl -n kube-public delete configmap cf-crl-hami-nvidia-gpualloc
    kubectl -n kube-public delete configmap cf-crl-hami-nvidia-gpucores
    kubectl -n kube-public delete configmap cf-crl-hami-nvidia-gpumem
    kubectl -n kube-public delete configmap cf-crl-hami-config
  2. Go to the Administrator -> Marketplace -> Cluster Plugin page, switch to the target cluster, find Alauda Build of Hami and then uninstall the cluster plugin.

  3. Remove "gpu=on" label on your gpu node:

    kubectl label nodes <nodeid> gpu-