diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-10-28 21:44:00 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-10-28 23:08:29 -0700 |
commit | 3fd6c2aac97baeb7e9a5d9f9d3a09fced70ddd37 (patch) | |
tree | c1589000a3ed90ee8336d2467da96ca6d3aa67a4 /deployment/heat/onap-oom/scripts | |
parent | e713bfc403c64f4612d7205ff6d9cf9db693add9 (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-x | deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh | 11 |
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 |