[skip e2e]Update etcd image for deploy and chaos test (#17232)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/17244/head
zhuwenxing 2022-05-26 22:08:09 +08:00 committed by GitHub
parent f2a27e0e64
commit f6b6bd1994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 90 additions and 10 deletions

View File

@ -41,6 +41,21 @@ pipeline {
name: 'image_tag',
defaultValue: 'master-latest'
)
string(
description: 'Etcd Image Repository',
name: 'etcd_image_repository',
defaultValue: "milvusdb/etcd"
)
string(
description: 'Etcd Image Tag',
name: 'etcd_image_tag',
defaultValue: "3.5.0-debian-10-r117"
)
string(
description: 'Query Replic Nums',
name: 'querynode_replica_nums',
defaultValue: '3'
)
string(
description: 'Pod Nums',
name: 'pod_nums',
@ -71,6 +86,24 @@ pipeline {
}
}
}
stage ('Modify Milvus chart values') {
steps {
container('main') {
dir ('tests/python_client/chaos') {
script {
sh """
yq -i '.queryNode.replicas = "${params.querynode_replica_nums}"' cluster-values.yaml
yq -i '.etcd.image.repository = "${params.etcd_image_repository}"' cluster-values.yaml
yq -i '.etcd.image.tag = "${params.etcd_image_tag}"' cluster-values.yaml
yq -i '.etcd.image.repository = "${params.etcd_image_repository}"' standalone-values.yaml
yq -i '.etcd.image.tag = "${params.etcd_image_tag}"' standalone-values.yaml
cat cluster-values.yaml
"""
}
}
}
}
}
stage ('Deploy Milvus') {
options {
timeout(time: 10, unit: 'MINUTES') // timeout on this stage

View File

@ -48,6 +48,21 @@ pipeline {
name: 'new_image_tag',
defaultValue: 'master-latest'
)
string(
description: 'Etcd Image Repository',
name: 'etcd_image_repository',
defaultValue: "milvusdb/etcd"
)
string(
description: 'Etcd Image Tag',
name: 'etcd_image_tag',
defaultValue: "3.5.0-debian-10-r117"
)
string(
description: 'Query Replic Nums',
name: 'querynode_replica_nums',
defaultValue: '3'
)
string(
description: 'Data Size',
name: 'data_size',
@ -84,6 +99,24 @@ pipeline {
}
}
}
stage ('Modify Milvus chart values') {
steps {
container('main') {
dir ('tests/python_client/deploy') {
script {
sh """
yq -i '.queryNode.replicas = "${params.querynode_replica_nums}"' cluster-values.yaml
yq -i '.etcd.image.repository = "${params.etcd_image_repository}"' cluster-values.yaml
yq -i '.etcd.image.tag = "${params.etcd_image_tag}"' cluster-values.yaml
yq -i '.etcd.image.repository = "${params.etcd_image_repository}"' standalone-values.yaml
yq -i '.etcd.image.tag = "${params.etcd_image_tag}"' standalone-values.yaml
cat cluster-values.yaml
"""
}
}
}
}
}
stage ('First Milvus Deployment') {
options {
timeout(time: 10, unit: 'MINUTES') // timeout on this stage

View File

@ -8,6 +8,10 @@ image:
etcd:
replicaCount: 3
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio:
resources:
requests:
@ -24,7 +28,7 @@ pulsar:
extra:
bastion: no
wsproxy: no
autorecovery:
resources:
requests:
@ -45,7 +49,7 @@ pulsar:
-Xms256m -Xmx256m
PULSAR_GC: >
-XX:MaxDirectMemorySize=512m
httpNumThreads: "50"
httpNumThreads: "50"
bookkeeper:
replicaCount: 2
@ -85,14 +89,14 @@ pulsar:
-Xms512m
-Xmx512m
PULSAR_GC: >
-Dcom.sun.management.jmxremote
-Djute.maxbuffer=10485760
-XX:+ParallelRefProcEnabled
-XX:+UnlockExperimentalVMOptions
-XX:+DoEscapeAnalysis
-XX:+DisableExplicitGC
-XX:+PerfDisableSharedMem
-Dzookeeper.forceSync=no
-Dcom.sun.management.jmxremote
-Djute.maxbuffer=10485760
-XX:+ParallelRefProcEnabled
-XX:+UnlockExperimentalVMOptions
-XX:+DoEscapeAnalysis
-XX:+DisableExplicitGC
-XX:+PerfDisableSharedMem
-Dzookeeper.forceSync=no
broker:
replicaCount: 1
resources:

View File

@ -7,6 +7,9 @@ image:
pullPolicy: IfNotPresent
etcd:
replicaCount: 1
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio:
mode: standalone
pulsar:

View File

@ -8,6 +8,10 @@ image:
etcd:
replicaCount: 3
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio:
resources:
requests:

View File

@ -7,6 +7,9 @@ image:
pullPolicy: IfNotPresent
etcd:
replicaCount: 1
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio:
mode: standalone
pulsar: