Gravity Installation
Gravity is an open-source, containerized Kubernetes framework that allows containerized applications like Anaconda Enterprised to be delivered in a self-contained installer that includes a special containerized implementation of Kubernetes. Anaconda has shipped Data Science & AI Workbench in a Gravity package since its first release.
Due to changes in the business model of Teleport, the original developers of Gravity, we are limiting the use of the Gravity-based installer to existing customers. For more information, see Anaconda’s Gravity update policy.
New customers, and any existing customers who no longer want to use Gravity, are encouraged to explore our Bring Your Own Kubernetes (BYOK8s) option.
After you have verified that your environment is prepared for installation by completing the pre-installation checklist, you’re ready to install the cluster!
The Gravity installation process only sets up a single control plane node. Once installation is complete, you can add additional nodes as desired, including GPUs.
-
Open a terminal on the master node and log in to a service account with sudo access.
-
Download the installer by running the following command:
If you are in an airgapped environment, you must deliver the installer to the master node in an alternate manner.
-
Decompress the installer and enter the top directory by running the following commands:
-
Set up and initialize your conda environment by running the following command:
-
Enter
yes
to allow the installer to initialize yourae5-conda
environment by runningconda init
when prompted. -
Verify your environment successfully created by running the following command:
This command returns a list of existing conda environments. You should see a
base
environment present with an asterisk next to the directory to indicate it is currently active. -
Perform the Anaconda preflight system check on the master node by running the following command:
You will receive an overall
PASS
orWARN
result from the script. The output is captured in aresults.txt
file for later reference, if necessary. If something goes wrong, you can view the results to determine the issue and correct it. -
Create a file named
values.yaml
and populate it with the following content:If you are installing a single-node cluster and you want to use the
/opt/anaconda/storage
volume for managed persistence, thepersistence:
section of thevalues.yaml
can be entered as:The direct use of
/opt/anaconda/storage
for managed persistence works only for single-node clusters. It must be replaced with a network file system (NFS) configuration before adding additional nodes to the cluster. Otherwise, sessions and deployments launched on the additional nodes will fail to start. For more information, see managed persistence. -
Run the gravity installation command:
Here is an example of what the installation command looks like for a single-node cluster:
If you are using an alternate
TMPDIR
, prepend the command with this new value. For example:The
--service-uid
is the service account UID and cannot be a root user. If you are performing a reinstallation of Workbench, you must delete the previousplanet
user prior to setting the new--service-uid
. -
Monitor the progress from the command line. Your output will look like this:
-
Allow time for the process to complete (approximately 20-30 minutes).
-
Create a local user account and password to log in to the Gravity Operations Center. To do so, enter the Gravity environment from any of the nodes by running the following command:
-
Create a local user account and password by running the following command:
-
Inform gravity that you have completed the installation by running the following command from within the Gravity environment:
-
Proceed to the post-install configuration steps.
Workbench itself will likely require another 30 minutes or so to fully load. The post-install configuration steps describe how to confirm that this process is fully complete.
Was this page helpful?