Deploy the following subcharts first:
aaf cassandra mariadb-galera dmaap
Adjust liveness and readiness probe settings
for cassandra to improve deployment speed.
Turn on 3-node clustering for appc and sdnc.
Issue-ID: INT-1055
Signed-off-by: Gary Wu <gary.wu@futurewei.com>
Change-Id: I13ce1e18241bf01630bc6a2beb488633de7a2f4b
integration_gerrit_branch: master
- helm_deploy_delay: 2.5m
+ helm_deploy_delay: 3m
integration_override_yaml: >
global:
openStackEncryptedPasswordHere: "${OS_PASSWORD_ENCRYPTED}"
appc:
enabled: true
- replicaCount: 1
+ replicaCount: 3
config:
- enableClustering: false
+ enableClustering: true
openStackType: "OpenStackProvider"
openStackName: "OpenStack"
openStackKeyStoneUrl: "http://10.12.25.2:5000/v2.0"
openStackEncryptedPassword: "${OS_PASSWORD}"
sdnc:
enabled: true
- replicaCount: 1
+ replicaCount: 3
config:
- enableClustering: false
+ enableClustering: true
aai:
enabled: true
liveness:
aai-cassandra:
replicaCount: 3
liveness:
- periodSeconds: 600
+ periodSeconds: 120
readiness:
- periodSeconds: 600
+ periodSeconds: 60
portal:
enabled: true
portal-cassandra:
liveness:
- periodSeconds: 600
+ periodSeconds: 120
readiness:
- periodSeconds: 600
+ periodSeconds: 60
vid:
enabled: true
aaf:
cassandra:
enabled: true
liveness:
- periodSeconds: 600
+ periodSeconds: 120
readiness:
- periodSeconds: 600
+ periodSeconds: 60
clamp:
enabled: true
cli:
music-cassandra:
replicaCount: 3
liveness:
- periodSeconds: 600
+ periodSeconds: 120
readiness:
- periodSeconds: 600
+ periodSeconds: 60
music-tomcat:
replicaCount: 1
mariadb-galera:
enabled: true
+ liveness:
+ initialDelaySeconds: 120
+ periodSeconds: 60
modeling:
enabled: true
msb:
enabled: true
sdc-cs:
liveness:
- periodSeconds: 600
+ periodSeconds: 120
readiness:
- periodSeconds: 600
+ periodSeconds: 60
uui:
enabled: true
vfc:
# temporary workaround to throttle the helm deploy to alleviate startup disk contention issues
if [ ! -z "__helm_deploy_delay__" ]; then
sed -i "/\^enabled:/a\ echo sleep __helm_deploy_delay__\n sleep __helm_deploy_delay__" ~/.helm/plugins/deploy/deploy.sh
+ sed -i 's/for subchart in \*/for subchart in aaf cassandra mariadb-galera dmaap */' ~/.helm/plugins/deploy/deploy.sh
fi
# Deploy ONAP