Skip to content

Commit

Permalink
added upgrade for observability online installer
Browse files Browse the repository at this point in the history
  • Loading branch information
shaynafinocchiaro committed Jan 11, 2022
1 parent adc2d8f commit 2e20817
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 10 deletions.
1 change: 1 addition & 0 deletions content/docs/observability/deployment/online.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Usage: ./karavi-observability-install.sh mode options...
Mode:
install Installs Karavi Observability and enables Karavi Authorization if already installed
enable-authorization Updates existing installation of Karavi Observability with Karavi Authorization
upgrade Upgrades existing installation of Karavi Observability to the latest release
Options:
Required
--namespace[=]<namespace> Namespace where Karavi Observability will be installed
Expand Down
54 changes: 44 additions & 10 deletions content/docs/observability/upgrade/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,22 @@ description: >
Dell EMC Container Storage Modules (CSM) for Observability Upgrade
---

CSM for Observability can only be upgraded via the Helm chart following the instructions below.

CSM for Observability Helm upgrade can be used if the initial deployment was performed using the [Helm chart](../deployment/helm) or [Online Installer](../deployment/online).

>Note: The [Offline Installer](../deployment/offline) does not support upgrade.
This section outlines the upgrade steps for Container Storage Modules (CSM) for Observability. CSM for Observability upgrade can be achieved in one of two ways:

- Helm Chart Upgrade
- Online Installer Upgrade

## Helm Chart Upgrade

To upgrade an existing Helm installation of CSM for Observability to the latest release, download the latest Helm charts.
CSM for Observability Helm upgrade supports [Helm](../deployment/helm), [Online Installer](../deployment/online), and [Offline Installer](../deployment/offline) deployments. To upgrade an existing Helm installation of CSM for Observability to the latest release, download the latest Helm charts.

```console
```
helm repo update
```

Check if the latest Helm chart version is available:

```console
```
helm search repo dell
NAME CHART VERSION APP VERSION DESCRIPTION
dell/karavi-observability 1.0.1 1.0.0 CSM for Observability is part of the [Container...
Expand All @@ -33,8 +31,44 @@ dell/karavi-observability 1.0.1 1.0.0 CSM for Observab
Upgrade to the latest CSM for Observability release:

```console
```
$ helm upgrade --version $latest_chart_version --values values.yaml karavi-observability dell/karavi-observability -n $namespace
```

The [configuration](../deployment/helm#configuration) section lists all the parameters that can be configured using the values.yaml file.
The [configuration](../deployment/helm#configuration) section lists all the parameters that can be configured using the `values.yaml` file.

## Online Installer Upgrade

CSM for Observability online installer upgrade can be used if the initial deployment was performed using the [Online Installer](../deployment/online) or the [Helm chart](../deployment/helm).

1. Change to the installer directory:
```
[user@system /home/user]# cd karavi-observability/installer
```
2. Update `values.yaml` file as needed. Configuration options are outlined in the [Helm chart deployment section](../deployment/helm#configuration).
2. Execute the `./karavi-observability-install.sh` script:
```
[user@system /home/user/karavi-observability/installer]# ./karavi-observability-install.sh upgrade --namespace $namespace --values myvalues.yaml --version $latest_chart_version
---------------------------------------------------------------------------------
> Upgrading Karavi Observability in namespace karavi on 1.21
---------------------------------------------------------------------------------
|
|- Karavi Observability is installed. Upgrade can continue Success
|
|- Verifying Kubernetes versions
|
|--> Verifying minimum Kubernetes version Success
|
|--> Verifying maximum Kubernetes version Success
|
|- Verifying helm version Success
|
|- Upgrading CertManager CRDs Success
|
|- Updating helm repositories Success
|
|- Upgrading Karavi Observability helm chart Success
|
|- Waiting for pods in namespace karavi to be ready Success
```

0 comments on commit 2e20817

Please sign in to comment.