...
Refer to the example below, and be sure to replace <your_user>
and <your_password>
with the credentials <NetID>
with your NetID. It will proceed to prompt you to enter a password, which is the one we provide you.
Code Block | ||
---|---|---|
| ||
oc login -u <your_user><NetID> -p <your_password> --server=https://api.ua-aiu.its.albany.edu:6443 |
...
Once connected, navigate to the IBM AIU Files directory within your lab directory. This directory will have been placed there by RTS during your onboarding. Please refer to the following example, and be sure to replace <your_lab>
with your own the lab name given to you.
Code Block |
---|
cd /network/rit/lab/<your_lab>/IBM-AIUFiles-FilesNetID |
Deploying a Pod
To test deploying a single AIU pod, start by creating a 1aiu.yaml
file using the following example YAML. Replace <your pod name>
with the desired name for your pod.
Code Block | ||
---|---|---|
| ||
apiVersion: v1 kind: Pod metadata: name: <your pod name> labels: app: <your pod name> spec: securityContext: runAsUser: 56551 runAsGroup: 972 fsGroup: 3052 containers: - name: c1 imagePullPolicy: Always image: icr.io/ibmaiu/release_2024_08/e2e_stable command: ["/usr/bin/pause"] ## starts the pod workingDir: /tmp/ resources: ##starting the variable requests: ibm.com/aiu_pf: 1 limits: ibm.com/aiu_pf: 1 env: - name: HOME value: /tmp - name: HF_HOME value: /tmp/.cache - name: FLEX_COMPUTE value: "SENTIENT" - name: FLEX_DEVICE value: "VFIO" - name: dev-shm mountPath: /dev/shm volumeMounts: - name: modeldata mountPath: /datasets volumes: - name: modeldata persistentVolumeClaim: claimName: modelstore readOnly: true |
...