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.
Overview
What You'll Need¶
- A configured management environment.
- An existing Kubernetes cluster.
- An existing Rok deployment.
Procedure¶
Go to your GitOps repository, inside your
rok-tools
management environment:root@rok-tools:~# cd ~/ops/deployments
Edit
kubeflow/manifests/apps/reception/overlays/deploy/params.env
, setting theAUTOCREATE_PROFILES
option tofalse
:root@rok-tools:~# echo "AUTOCREATE_PROFILES=false" >> kubeflow/manifests/apps/reception/overlays/deploy/params.env
Commit your changes:
root@rok-tools:~/ops/deployments# git commit -am "Disable automatic Profile creation"
Apply the kustomization:
root@rok-tools:~/ops/deployments# rok-deploy --apply kubeflow/manifests/apps/reception/overlays/deploy
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¶
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"
What's Next¶
Check out the rest of the maintenance operations that you can perform on your cluster.