Accessing remote package repositories¶
As an Administrator, you can configure Anaconda Enterprise to use packages from an online package repository
You can then mirror channels & packages into your organization’s internal AE repository so users can access the packages from a centralized, on-premises location.
If users are permitted to install packages from off-site package repositories, you can make it easier for users to access them from within their editing sessions by configuring them as default channels.
To do so, edit your Anaconda Enterprise configuration—
anaconda-enterprise-anaconda-platform.yml—to include the appropriate channels, as follows:
conda: channels: - defaults default_channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/free - https://repo.anaconda.com/pkgs/r channel_alias: https://<ANACONDA_ENTERPRISE_FQDN>/repository/conda
To update Anaconda Enterprise with your changes to the configuration, restart its services:
sudo gravity enter kubectl get pods | grep 'ap-' | cut -d' ' -f1 | xargs kubectl delete pods