Refreshing Cloudera AI governance pods

If backing up and suspending Cloudera AI workbenches is not possible, refresh Cloudera AI governance pods after resizing a Data Lake.

  1. Generate kubeconfig for Cloudera AI workbench for remote access (instructions here).
  2. Configure Cloudera AI kubeconfig to access the workbench (see Kubernetes documentation).
  3. Run the following commands to restart goverance pods in Cloudera AI:
    kubectl scale deployments governance --replicas 0 -n mlx
    #wait for 30 sec
    kubectl scale deployments governance --replicas 1 -n mlx