aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14Refactor k8s VM init script to use cloud-initGary Wu1-72/+0
Refactor k8s VM init script to use cloud-init to do apt dist-upgrade and reboot first before installing rancher agent. Change-Id: Id3d58d276673aff1d0d14bee103d1cdd9f7a3d3e Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-11-08Alleviate startup disk contention issuesGary Wu1-0/+3
Add tuneable parameters in the heat template to try to alleviate startup disk contention issues. Also turn off use of RAM disk by default, reduce size of Rancher VM, and use the RAM saved for an extra k8s compute VM. Change-Id: Ic638f33479338ebb9339b249ced9d6fa684935fa Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-10-31Reduce OOM k8s footprint furtherGary Wu1-2/+2
Reduce OOM k8s footprint by using the Rancher VM as the orchestration node. Also cleaned up the rancher deployment script. Change-Id: Ic5594eac2830d83d58d2b0a1fa5eee770d97063d Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-10-28Enable k8s resiliency planesGary Wu1-6/+8
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>
2018-10-26Improve resilience against intermittent OS errorsGary Wu1-1/+3
Add workaround for intermittent failure for OpenStack to properly assign default apt mirrors. Change-Id: Id4191327542d9711ab65117522c4160838a66052 Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-10-17Fix NFS behaviorDeterme, Sebastien (sd378r)1-1/+1
The current mount parameters are dangerous because the system can mount a local storage instead of NFS at VM startup. New params here avoid that. A software error is returned instead to anyone + lazy loading of the folder. Issue-ID: CLAMP-174 Change-Id: Ie68827ac94046a611b54e3bf5afaed18bc12bc78 Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2018-10-16Add retries to handle intermittent network issuesGary Wu1-11/+16
Change-Id: I1fbdbd27b9b480dfafed87b12cdad23e4f3626f6 Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-15Upgrade helm version to 2.9.1Gary Wu1-1/+2
Change-Id: I7fe74f43ff76a33225fad6102be5d429fd30197f Issue-ID: OOM-1299 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-07-26Use OAM IPs for k8s connectivityGary Wu1-1/+2
Use OAM IPs for k8s connectivity to reduce network congestion. Change-Id: Ia6114f1e4bf43578ee77c1d39ba36880f4c550d2 Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-06-04Add license header to deployment scriptsGary Wu1-0/+10
Change-Id: I5c14c553a5d702b625f69d361cbb2d22cb52cd5a Issue-ID: INT-504 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-02Pass integration-override directly in env fileGary Wu1-3/+6
Change-Id: I5fddab2211fcaa1edbc91662222801499c610cfb Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-02Run OOM with 7 Kubernetes host VMsGary Wu1-145/+9
Bump helm to 2.8.2. Bump kubectl to 1.8.10. Remove obsolete HEAT parameters. Change-Id: Ifb644cc354b8dc4dc8a8c39023b2016eaf84c7da Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-04-25Add default integration-override.yamlGary Wu1-1/+7
Add a default integration-override.yaml for generic labs not yet in source control. Change-Id: I24aaf1bc5924ce39e6477124e2ee36b64a9e66c5 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-04-17Use integration-override.yaml in OOM deploy scriptGary Wu1-1/+12
Change-Id: I2c8417b9339715b733f585ae52fd35251d9ca509 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-04-12Upgrade helm server-side componentGary Wu1-0/+1
Change-Id: I82221ba80535418b8dc82a463bbb9b3a2b0cfee7 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-04-12Update helm version to 2.7.2.Helen Chen1-2/+2
Change-Id: I14acff5cad357d89de6f93bdf7bb182164676d62 Issue-ID: INT-381 Signed-off-by: Helen Chen <helen.chen@huawei.com>
2018-04-04Changes to match OOM refactoringGary Wu1-52/+23
Change-Id: I3867f366c5fd63f9d7f14708c30d0aa744d0e693 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-04-03Changes to match OOM refactoringGary Wu1-8/+9
Change-Id: If6b22ae8892152ef916229d153ccd10ff3239627 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-03-12Switch to OOM master branchGary Wu1-160/+18
Change-Id: Id22337bd61425c69be88fd80f86bc501f46d7e78 Issue-ID: INT-439 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-02-06Add config for ATT TLABGary Wu1-2/+6
Change-Id: I31387cbb17db19cd602cc9d4da59a55223996583 Issue-ID: INT-414 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-01-25Updates to match OOM onap-parameters.yaml changesGary Wu1-29/+161
Change-Id: I76149fa3762221a8c1fc0cee6a44d83238ebdb89 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-01-19Add windriver env file for OOM heat templateGary Wu1-8/+9
Change-Id: I9dfddd4ac3f119243a120db3d20e41871ac91ff5 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-01-19Refactored OOM heat template/env file locationsGary Wu1-0/+196
Change-Id: Ib0fcf2cac1fe209b252027d183f12ce7cdfee953 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>