Decrease cpu request && move e2e out of whole pod to decrease resource (#18473)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/18481/head
Jenny Li 2022-08-01 14:30:33 +08:00 committed by GitHub
parent aab060aeff
commit bdc84d71ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 2 deletions

View File

@ -147,7 +147,7 @@ pipeline {
kubernetes {
inheritFrom 'default'
defaultContainer 'main'
yamlFile 'ci/jenkins/pod/rte.yaml'
yamlFile 'ci/jenkins/pod/e2e.yaml'
customWorkspace '/home/jenkins/agent/workspace'
}
}

26
ci/jenkins/pod/e2e.yaml Normal file
View File

@ -0,0 +1,26 @@
apiVersion: v1
kind: Pod
metadata:
labels:
app: milvus-e2e
namespace: jenkins
spec:
enableServiceLinks: false
containers:
- name: pytest
image: harbor.milvus.io/dockerhub/milvusdb/pytest:20220728-a2e24ab
resources:
limits:
cpu: "6"
memory: 12Gi
requests:
cpu: "0.5"
memory: 5Gi
volumeMounts:
- mountPath: /ci-logs
name: ci-logs
volumes:
- name: ci-logs
nfs:
path: /ci-logs
server: 172.16.70.239

View File

@ -32,7 +32,7 @@ indexCoordinator:
indexNode:
resources:
requests:
cpu: "4"
cpu: "1"
memory: "500Mi"
dataCoordinator: