aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/scripts
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-10-28 21:44:00 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-10-28 23:08:29 -0700
commit3fd6c2aac97baeb7e9a5d9f9d3a09fced70ddd37 (patch)
treec1589000a3ed90ee8336d2467da96ca6d3aa67a4 /deployment/heat/onap-oom/scripts
parente713bfc403c64f4612d7205ff6d9cf9db693add9 (diff)
Enable k8s resiliency planes
Enable k8s resiliency planes and also reduce the number of k8s compute hosts down to 12 x 16 GB. Change-Id: I090495de2ac9986c0c85c19a503c44beca9e8fb6 Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/scripts')
-rwxr-xr-xdeployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
index 81cfbe3d1..0afd48085 100755
--- a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
+++ b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
@@ -94,9 +94,18 @@ cat <<EOF
EOF
for VM_NUM in $(seq $NUM_K8S_VMS); do
- K8S_VM_NAME=k8s_$VM_NUM envsubst < $PARTS_DIR/onap-oom-2.yaml
+ VM_TYPE=k8s HOST_LABEL=compute VM_NUM=$VM_NUM envsubst < $PARTS_DIR/onap-oom-2.yaml
done
+for VM_NUM in $(seq 3); do
+ VM_TYPE=etcd HOST_LABEL=etcd VM_NUM=$VM_NUM envsubst < $PARTS_DIR/onap-oom-2.yaml
+done
+
+for VM_NUM in $(seq 2); do
+ VM_TYPE=orch HOST_LABEL=orchestration VM_NUM=$VM_NUM envsubst < $PARTS_DIR/onap-oom-2.yaml
+done
+
+
cat $PARTS_DIR/onap-oom-3.yaml
for VM_NUM in $(seq $NUM_K8S_VMS); do