mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
5c6f9c9691
Signed-off-by: Jenny Li <jing.li@zilliz.com>
60 lines
1.3 KiB
YAML
60 lines
1.3 KiB
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
labels:
|
|
app: milvus-e2e
|
|
namespace: jenkins
|
|
spec:
|
|
enableServiceLinks: false
|
|
containers:
|
|
- name: main
|
|
image: milvusdb/krte:20210722-806d13f
|
|
env:
|
|
- name: DOCKER_IN_DOCKER_ENABLED
|
|
value: "true"
|
|
- name: DOCKER_VOLUME_DIRECTORY
|
|
value: "/mnt/disk/.docker"
|
|
tty: true
|
|
securityContext:
|
|
privileged: true
|
|
args: ["cat"]
|
|
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
|
|
name: build-cache
|
|
subPath: docker-volume
|
|
- name: pytest
|
|
image: milvusdb/pytest:20211108-d14cf36
|
|
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: /volume1/ci-logs
|
|
server: 192.168.1.126
|