mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add scale test pod yaml (#14889)
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>pull/14898/head
parent
eb468b09a5
commit
5be67d5a0c
|
@ -17,7 +17,11 @@ pipeline {
|
|||
|
||||
agent {
|
||||
kubernetes {
|
||||
inheritFrom 'milvus-test'
|
||||
label 'milvus-scale-test'
|
||||
// inheritFrom 'milvus-test'
|
||||
defaultContainer 'milvus-test'
|
||||
yamlFile "build/ci/jenkins/pod/scale-test.yaml"
|
||||
customWorkspace "/home/jenkins/agent"
|
||||
// idle 5 minutes to wait clean up tasks
|
||||
idleMinutes 5
|
||||
}
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
piVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: milvus-test-pod
|
||||
labels:
|
||||
app: milvus-test
|
||||
spec:
|
||||
containers:
|
||||
- name: milvus-test
|
||||
# image: registry.milvus.io/milvus/milvus-test-env:v0.5
|
||||
image: dockerhub-mirror-sh.zilliz.cc/milvusdb/pytest:20211209-cef343f
|
||||
command:
|
||||
- cat
|
||||
tty: true
|
||||
resources:
|
||||
limits:
|
||||
memory: 16Gi
|
||||
cpu: 8.0
|
||||
requests:
|
||||
memory: 12Gi
|
||||
cpu: 8.0
|
||||
volumeMounts:
|
||||
- name: qa-kubeconfig
|
||||
mountPath: /root/.kube/
|
||||
- name: jnlp
|
||||
image: jenkins/inbound-agent:4.11-1-jdk8
|
||||
resources:
|
||||
limits: {}
|
||||
requests:
|
||||
memory: 256Mi
|
||||
cpu: 100m
|
||||
volumes:
|
||||
- name: qa-kubeconfig
|
||||
secret:
|
||||
secretName: qa-kubeconfig
|
||||
serviceAccountName: account-milvus-test
|
Loading…
Reference in New Issue