mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
Decrease cpu request && move e2e out of whole pod to decrease resource (#18473)
Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
parent
aab060aeff
commit
bdc84d71ba
@ -147,7 +147,7 @@ pipeline {
|
|||||||
kubernetes {
|
kubernetes {
|
||||||
inheritFrom 'default'
|
inheritFrom 'default'
|
||||||
defaultContainer 'main'
|
defaultContainer 'main'
|
||||||
yamlFile 'ci/jenkins/pod/rte.yaml'
|
yamlFile 'ci/jenkins/pod/e2e.yaml'
|
||||||
customWorkspace '/home/jenkins/agent/workspace'
|
customWorkspace '/home/jenkins/agent/workspace'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
26
ci/jenkins/pod/e2e.yaml
Normal file
26
ci/jenkins/pod/e2e.yaml
Normal 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
|
||||||
@ -32,7 +32,7 @@ indexCoordinator:
|
|||||||
indexNode:
|
indexNode:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "4"
|
cpu: "1"
|
||||||
memory: "500Mi"
|
memory: "500Mi"
|
||||||
|
|
||||||
dataCoordinator:
|
dataCoordinator:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user