Topics

[OOM][Integration] HELM upgrade 2.8.2 to 2.9.1 (no func change) in progress for k8s installs and OOM/Integration #integration #oom #helm


Michael O'Brien <frank.obrien@...>
 

Team,

   Heads up - We are upgrading helm to 2.9.1 (bug fixes only) from 2.8.2 across all the known kubernetes installations (integration, logging, azure), the OOM configuration check, the docs.

   Here is the merge order upgrade these in order from 2.8.2 to 2.9.1

0 (merged) - OOM-1299/LOG-320 (logging-analytics/deploy/rancher)
https://gerrit.onap.org/r/#/c/60767/

OOM-1299 OOM 
https://gerrit.onap.org/r/#/c/60765/
OOM-1299 (Integration/deployment/heat/onap-oom)
https://gerrit.onap.org/r/#/c/60785/1
INT-626 (Integration/deployment)
https://gerrit.onap.org/r/#/c/60907/
 MSB-221 -ISTIO
https://gerrit.onap.org/r/#/c/58153

 

   What you need to know:

  1. When merge 1 for https://gerrit.onap.org/r/#/c/60765/2/kubernetes/onap/Chart.yaml goes in then the tiller version will accept 2.9.1 built helm charts.
  2. When you install 2.9.1 as part of an automated install or an manual upgrade of your cluster (only required on the master node) – then a helm upgrade will be required on the server (rancher 1.6.18 installs 2.8.2) – this will then require a restart of your helm repo

See the commands from line 200 to 210 for reference

https://git.onap.org/logging-analytics/tree/deploy/rancher/oom_rancher_setup.sh#n200

  sudo helm init --upgrade

  sleep 90

  echo "verify both versions are the same below"

  sudo helm version

  echo "start helm server"

  sudo helm serve &

  echo "add local helm repo"

  sudo helm repo add local http://127.0.0.1:8879

 

thank you

/michael

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,


Michael O'Brien <frank.obrien@...>
 

Team,

   Hi, Prudence Au alerted me to a couple of situations (rerunning the helm install line – and skipping the update) that help backwards compat for the helm 2.8.2 to 2.9.1 switch – adding 2 extra options to deal with the helm upgrade

   Essentially if you get the warning on your 2.8.2 helm version and don’t have time right now to upgrade helm – just temp revert it in option 3 – flip the tillerVersion check by Mandeep to 2.8.2 - https://git.onap.org/oom/tree/kubernetes/onap/Chart.yaml#n24

   Option 1: clean install – use one of the locations below – and note the 2.9.1 change before you run

   https://onap.readthedocs.io/en/latest/submodules/oom.git/docs/oom_setup_kubernetes_rancher.html

   https://git.onap.org/integration/tree/deployment

   https://git.onap.org/logging-analytics/tree/deploy

   https://git.onap.org/msb/service-mesh/tree/install (2.8.2 by default - see MSB-278)

 

   Option 2: upgrade to helm 2.9.1 on existing cluster

   Run the helm install for 2.9.2 – example below

https://git.onap.org/logging-analytics/tree/deploy/rancher/oom_rancher_setup.sh#n78

  HELM_VERSION=2.9.1

  wget http://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-linux-amd64.tar.gz

  sudo tar -zxvf helm-v${HELM_VERSION}-linux-amd64.tar.gz

  sudo mv linux-amd64/helm /usr/local/bin/helm

 

   Upgrade the server version – wait 90+ sec for tiller to restart

https://git.onap.org/logging-analytics/tree/deploy/rancher/oom_rancher_setup.sh#n200

  sudo helm init --upgrade

  echo "sleep 90"

  sleep 90

  echo "verify both versions are the same below"

  sudo helm version

 

   Option 3: temp revert to 2.8.2 (upgrade later) - fastest

   You don’t have to upgrade right now as we don’t use any API specific to 2.9.1 – revert the change in values.yaml that checks for 2.9.1 to 2.8.2

https://git.onap.org/oom/tree/kubernetes/onap/Chart.yaml#n24

-tillerVersion: "~2.9.1"

+tillerVersion: "~2.8.2"

 

Thank you

/michael

From: onap-discuss@... <onap-discuss@...> On Behalf Of Michael O'Brien
Sent: Friday, August 17, 2018 5:15 PM
To: onap-discuss@...
Cc: Mike Elliott <Mike.Elliott@...>; gary.i.wu@...; Huabing <zhao.huabing@...>; Mandeep Khinda <Mandeep.Khinda@...>; Sudhakar Reddy <Sudhakar.Reddy@...>
Subject: [onap-discuss] [OOM][Integration] HELM upgrade 2.8.2 to 2.9.1 (no func change) in progress for k8s installs and OOM/Integration #oom #integration #helm

 

Team,

   Heads up - We are upgrading helm to 2.9.1 (bug fixes only) from 2.8.2 across all the known kubernetes installations (integration, logging, azure), the OOM configuration check, the docs.

   Here is the merge order upgrade these in order from 2.8.2 to 2.9.1

0 (merged) - OOM-1299/LOG-320 (logging-analytics/deploy/rancher)
https://gerrit.onap.org/r/#/c/60767/

OOM-1299 OOM 
https://gerrit.onap.org/r/#/c/60765/
OOM-1299 (Integration/deployment/heat/onap-oom)
https://gerrit.onap.org/r/#/c/60785/1
INT-626 (Integration/deployment)
https://gerrit.onap.org/r/#/c/60907/
4  MSB-221 -ISTIO
https://gerrit.onap.org/r/#/c/58153

 

   What you need to know:

  1. When merge 1 for https://gerrit.onap.org/r/#/c/60765/2/kubernetes/onap/Chart.yaml goes in then the tiller version will accept 2.9.1 built helm charts.
  2. When you install 2.9.1 as part of an automated install or an manual upgrade of your cluster (only required on the master node) – then a helm upgrade will be required on the server (rancher 1.6.18 installs 2.8.2) – this will then require a restart of your helm repo

See the commands from line 200 to 210 for reference

https://git.onap.org/logging-analytics/tree/deploy/rancher/oom_rancher_setup.sh#n200

  sudo helm init --upgrade

  sleep 90

  echo "verify both versions are the same below"

  sudo helm version

  echo "start helm server"

  sudo helm serve &

  echo "add local helm repo"

  sudo helm repo add local http://127.0.0.1:8879

 

thank you

/michael

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,

This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,