[skip e2e] Add scale test pod yaml (#14889)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
pull/14898/head
ThreadDao 2022-01-06 09:41:20 +08:00 committed by GitHub
parent eb468b09a5
commit 5be67d5a0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 1 deletions

View File

@ -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
}

View File

@ -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