mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
56380ea75b
Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>
82 lines
1.7 KiB
YAML
82 lines
1.7 KiB
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
labels:
|
|
app: milvus-e2e
|
|
namespace: milvus-ci
|
|
spec:
|
|
enableServiceLinks: false
|
|
containers:
|
|
- name: main
|
|
image: milvusdb/krte:20211213-dcc15e9
|
|
env:
|
|
- name: DOCKER_IN_DOCKER_ENABLED
|
|
value: "true"
|
|
- name: DOCKER_VOLUME_DIRECTORY
|
|
value: "/mnt/disk/.docker-gpu"
|
|
- name: DOCKER_CLIENT_TIMEOUT
|
|
value: 120
|
|
- name: COMPOSE_HTTP_TIMEOUT
|
|
value: 120
|
|
tty: true
|
|
securityContext:
|
|
privileged: true
|
|
args: ["cat"]
|
|
resources:
|
|
limits:
|
|
cpu: "6"
|
|
memory: 12Gi
|
|
requests:
|
|
cpu: "0.5"
|
|
memory: 5Gi
|
|
volumeMounts:
|
|
- mountPath: /docker-graph
|
|
name: docker-graph
|
|
- mountPath: /var/lib/docker
|
|
name: docker-root
|
|
- mountPath: /lib/modules
|
|
name: modules
|
|
readOnly: true
|
|
- mountPath: /sys/fs/cgroup
|
|
name: cgroup
|
|
- mountPath: /mnt/disk/.docker-gpu
|
|
name: build-cache
|
|
subPath: docker-volume-gpu
|
|
- mountPath: /ci-logs
|
|
name: ci-logs
|
|
- name: pytest
|
|
image: harbor.milvus.io/dockerhub/milvusdb/pytest:20230303-0cb8153
|
|
resources:
|
|
limits:
|
|
cpu: "6"
|
|
memory: 12Gi
|
|
requests:
|
|
cpu: "0.5"
|
|
memory: 5Gi
|
|
volumeMounts:
|
|
- mountPath: /ci-logs
|
|
name: ci-logs
|
|
volumes:
|
|
- emptyDir: {}
|
|
name: docker-graph
|
|
- emptyDir: {}
|
|
name: docker-root
|
|
- hostPath:
|
|
path: /tmp/krte/cache
|
|
type: DirectoryOrCreate
|
|
name: build-cache
|
|
- hostPath:
|
|
path: /lib/modules
|
|
type: Directory
|
|
name: modules
|
|
- hostPath:
|
|
path: /sys/fs/cgroup
|
|
type: Directory
|
|
name: cgroup
|
|
- name: ci-logs
|
|
nfs:
|
|
path: /ci-logs
|
|
server: 172.16.70.239
|
|
nodeSelector:
|
|
nvidia.com/gpu.present: 'true'
|