This repository is intended to assist users with installing
kubectl and using the Nautilus hypercluster.
Note: epic.py
is an example training file that can run on the Nautilus prp image.
I use this in my presentation, but you don't have to.
If you already have Kubectl installed, you can skip to the next section.
- Execute the script located in
scripts/install-kubectl.sh
. - Add the line output to your shell profile, likely located at
~/.bashrc
on your computer. - Restart your shell, or source your rc config file.
- Add the config file sourced from the NRP website to
~/.kube/config
example-pod.yaml
is the simplest file, containing only a single pod that calculates Pi to 2000 digits. The name istest-pod
in the definition.pod-gpu.yaml
is a simple pod that requests a GPU. The underlying image uses Ubuntu, so we usesleep infinity
to make sure it keeps running, and usescripts/connect.sh
to connect to the pod.job-gpu.yaml
cannot be run straight from the repository, as it relies on using the Nautilus Gitlab to pull a user-provided repository and execute the code. Inside the file, anything within square brackets should be replaced with an appropriate name, either the link to the repository or the name of the repository.