2022-07-15 11:40:26 +08:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Pod
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: milvus-e2e
|
2022-09-01 15:16:58 +08:00
|
|
|
namespace: milvus-ci
|
2022-07-15 11:40:26 +08:00
|
|
|
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"
|
2023-06-14 21:34:42 +08:00
|
|
|
- name: DOCKER_CLIENT_TIMEOUT
|
2023-07-26 17:53:01 +08:00
|
|
|
value: 240
|
2023-06-14 21:34:42 +08:00
|
|
|
- name: COMPOSE_HTTP_TIMEOUT
|
2023-07-26 17:53:01 +08:00
|
|
|
value: 240
|
2022-07-15 11:40:26 +08:00
|
|
|
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
|
|
|
|
name: build-cache
|
|
|
|
subPath: docker-volume
|
|
|
|
- mountPath: /ci-logs
|
|
|
|
name: ci-logs
|
|
|
|
- name: pytest
|
2023-11-29 12:56:27 +08:00
|
|
|
image: harbor.milvus.io/dockerhub/milvusdb/pytest:20231127-8fe2fb3
|
2022-07-15 11:40:26 +08:00
|
|
|
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
|
2022-10-23 22:29:31 +08:00
|
|
|
- hostPath:
|
|
|
|
path: /tmp/krte/cache
|
|
|
|
type: DirectoryOrCreate
|
|
|
|
name: build-cache
|
2022-07-15 11:40:26 +08:00
|
|
|
- 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
|