未验证 提交 f6b6bd19 编写于 作者: Z zhuwenxing 提交者: GitHub

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

Signed-off-by: Nzhuwenxing <wenxing.zhu@zilliz.com>
上级 f2a27e0e
......@@ -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
......
......@@ -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
......
......@@ -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:
......
......@@ -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:
......
......@@ -8,6 +8,10 @@ image:
etcd:
replicaCount: 3
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio:
resources:
requests:
......
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册