Disable Automatic Profile Creation

When a user logs in to Arrikto EKF for the first time, the Reception server will create a new Profile for this user. The Profile Controller will then handle this new Profile and create a dedicated namespace for this user, populating it with all the resources it finds in the skel namespace.

This section describes how to disable the automatic Profile creation, and consequently the automatic creation of dedicated user namespaces.

Procedure

  1. Go to your GitOps repository, inside your rok-tools management environment:

    root@rok-tools:~# cd ~/ops/deployments
  2. Edit kubeflow/manifests/apps/reception/overlays/deploy/params.env, setting the AUTOCREATE_PROFILES option to false:

    root@rok-tools:~# echo "AUTOCREATE_PROFILES=false" >> kubeflow/manifests/apps/reception/overlays/deploy/params.env
  3. Commit your changes:

    root@rok-tools:~/ops/deployments# git commit -am "Disable automatic Profile creation"
  4. Apply the kustomization:

    root@rok-tools:~/ops/deployments# rok-deploy --apply kubeflow/manifests/apps/reception/overlays/deploy
  5. For changes to take effect restart the Reception pods manually:

    root@rok-tools:~/ops/deployments# kubectl delete pods -n kubeflow -l app=kubeflow-reception

Verify

  1. Check the logs of the Reception Pod for the Automatic Profile creation is disabled string:

    root@rok-tools:/# kubectl -n kubeflow logs -c reception -l app=kubeflow-reception | \ > grep "Automatic Profile creation is disabled" time="2021-09-14T16:09:33Z" level=info msg="Automatic Profile creation is disabled"

Summary

You have successfully disabled the automatic Profile creation.

What’s Next

Check out the rest of the maintenance operations that you can perform on your cluster.