Skip to content

Commit e8771be

Browse files
committed
✅ Update tutorial
1 parent 93f7977 commit e8771be

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

mnist/tutorial-pod.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: tutorial-pod
5+
spec:
6+
containers:
7+
- name: gpu-container
8+
image: gitlab-registry.nrp-nautilus.io/zihaozhou/nautilus_tutorial:jupyterhub
9+
command: ["jupyter", "lab", "--NotebookApp.token=627a7b3b"]
10+
volumeMounts:
11+
- mountPath: /tutorial
12+
name: tutorial-volume
13+
resources:
14+
limits:
15+
nvidia.com/gpu: "1"
16+
memory: "8G"
17+
cpu: "4"
18+
restartPolicy: Never
19+
volumes:
20+
- name: tutorial-volume
21+
persistentVolumeClaim:
22+
claimName: tutorial-volume

mnist/tutorial_vol.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
33
metadata:
44
name: tutorial-volume
55
spec:
6+
storageClassName: seaweedfs-storage-nvme
67
accessModes:
78
- ReadWriteMany
89
resources:

0 commit comments

Comments
 (0)