milvus/ci/jenkins/pod/docker-pod.yaml
quicksilver 758f15f227
Add pod tolerations to Jenkins slave pods (#1473)
* Increase memory limit in Jenkins CI

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>

* Add pod tolerations to slave pods
2020-03-02 16:43:30 +08:00

28 lines
517 B
YAML

apiVersion: v1
kind: Pod
metadata:
labels:
app: publish
componet: docker
spec:
containers:
- name: publish-images
image: registry.zilliz.com/library/docker:v1.0.0
securityContext:
privileged: true
command:
- cat
tty: true
volumeMounts:
- name: docker-sock
mountPath: /var/run/docker.sock
volumes:
- name: docker-sock
hostPath:
path: /var/run/docker.sock
tolerations:
- key: dedicated
operator: Equal
value: milvus
effect: NoSchedule