[VOL-3007] Using 3 instances in the ETCD cluster
Change-Id: I5daf3cc6abc5aa59dcd6795c84dfe3ccebde2f7b
diff --git a/jjb/pipeline/voltha-scale-test.groovy b/jjb/pipeline/voltha-scale-test.groovy
index 2e404f6..b5785e3 100644
--- a/jjb/pipeline/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha-scale-test.groovy
@@ -37,7 +37,7 @@
DEPLOY_K8S="no"
CONFIG_SADIS="external"
WITH_KAFKA="kafka.default.svc.cluster.local"
- WITH_ETCD="external"
+ WITH_ETCD="etcd-cluster-client.default.svc.cluster.local"
// install everything in the default namespace
VOLTHA_NS="default"
@@ -116,11 +116,13 @@
}
}
stage('Deploy common infrastructure') {
- // includes monitoring, kafka
+ // includes monitoring, kafka, etcd
steps {
sh '''
helm install -n kafka incubator/kafka --version 0.13.3 --set replicas=3 --set persistence.enabled=false --set zookeeper.replicaCount=3 --set zookeeper.persistence.enabled=false --version=0.15.3
+ helm install --set clusterName=etcd-cluster --set autoCompactionRetention=1 --set clusterSize=3 --set defaults.log_level=WARN --namespace default -n etcd-cluster onf/voltha-etcd-cluster
+
if [ ${withMonitoring} = true ] ; then
helm install -n nem-monitoring cord/nem-monitoring \
--set prometheus.alertmanager.enabled=false,prometheus.pushgateway.enabled=false \