Setting global config variables¶
Anaconda Enterprise provides a secondary config map (named
anaconda-enterprise-env-var-config) that you can use to configure the platform. Any environment variables that you add to this config map will be available to sessions, deployments and schedules. This is a convenient alternative to using the Anaconda Enterprise CLI, as you can add any variable supported by conda configuration.
Click Manage Resources.
Log in to the Operations Center using the Administrator credentials configured after installation.
Select Configuration from the menu on the left.
Use the Config map drop-down menu to select the
anaconda-enterprise-env-var-config.ymlconfiguration file. The default config map contains a placeholder only:
To add an environment variable, replace this placeholder with an acutual entry. For example, to configure Anaconda Enterprise to use a proxy for conda packages, you might add entries that resemble the following:
Click Apply to save your changes.
To update Anaconda Enterprise with your changes, restart services by running these commands on the master node:
sudo gravity enter kubectl get pods | grep ap- | cut -d' ' -f1 | xargs kubectl delete pods