dmlc--dgl
6a56562a7c
* add * fix * set default * fix * try master * try fix * try * fix * 111 * fix * fix * update * ccc * try * fix * fix * try new machine * fix * fix * fix * Revert "fix" This reverts commit e716d66b046f92fe7ae368947a51a036a7a3188a. * try * more parrallel * use k8s for all * fix name * try not specify instance type * ci * use one yaml * Revert "use one yaml" This reverts commit 717d8d852be39fbf2e2e45f9f224aa97907c372c. * add timeout * fix permission * mount efs * print * fix pvc * fix * restrict num of gpu instances * check * fix * fix
22 行
527 B
YAML
22 行
527 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
spec:
|
|
securityContext:
|
|
runAsUser: 0
|
|
containers:
|
|
- name: dgl-ci-gpu
|
|
image: dgllib/dgl-ci-gpu:conda
|
|
imagePullPolicy: Always
|
|
tty: true
|
|
resources:
|
|
limits:
|
|
nvidia.com/gpu: 1 # requesting 1 GPU
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: beta.kubernetes.io/instance-type
|
|
operator: In
|
|
values:
|
|
- g4dn.2xlarge |