add more comments
This commit is contained in:
parent
749f769755
commit
1a8f8a52cb
@ -13,13 +13,13 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: jupyter
|
app: jupyter
|
||||||
pod.staroid.com/isolation: dedicated
|
pod.staroid.com/isolation: dedicated # see https://docs.staroid.com/ske/pod.html#pod for more available options
|
||||||
pod.staroid.com/spot: "false"
|
pod.staroid.com/spot: "false"
|
||||||
pod.staroid.com/instance-type: gpu-1
|
pod.staroid.com/instance-type: gpu-1
|
||||||
spec:
|
spec:
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000 # will be overrided by staroid
|
runAsUser: 1000 # staroid requires non-root container
|
||||||
runAsGroup: 100 # writable directories are accessible with GID 100. see https://github.com/jupyter/docker-stacks/blob/master/base-notebook/Dockerfile
|
runAsGroup: 100 # writable directories are accessible with GID 100. see https://github.com/jupyter/docker-stacks/blob/master/base-notebook/Dockerfile
|
||||||
containers:
|
containers:
|
||||||
- name: jupyter
|
- name: jupyter
|
||||||
@ -56,8 +56,8 @@ kind: PersistentVolumeClaim
|
|||||||
metadata:
|
metadata:
|
||||||
name: work
|
name: work
|
||||||
annotations:
|
annotations:
|
||||||
storage.staroid.com/scope: Instance
|
storage.staroid.com/scope: Instance # see https://docs.staroid.com/ske/storage.html for available scope
|
||||||
storage.staroid.com/file-manager: "1000:100"
|
storage.staroid.com/file-manager: "1000:100" # <uid:gid> of file manager pod. This will display file manager button on staroid management console
|
||||||
spec:
|
spec:
|
||||||
storageClassName: nfs
|
storageClassName: nfs
|
||||||
accessModes:
|
accessModes:
|
||||||
|
Loading…
Reference in New Issue
Block a user