Adds upgrade to online installer script #87
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds upgrade support to the online installer script. The cert-manager version used in the offline installer script has also been updated to v1.5.3.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration
./karavi-observability-install.sh upgrade --values myvalues.yaml --version 1.0.1 --namespace karavi
|
|- 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
Release "karavi-observability" has been upgraded. Happy Helming!
NAME: karavi-observability
LAST DEPLOYED: Fri Jan 7 12:49:31 2022
NAMESPACE: karavi
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
CSM Topology
The CSM Topology deployment has been successfully installed.
The CSM Topology service can be accessed at the following URL from within the Kubernetes cluster: https://karavi-topology.karavi.svc.cluster.local
CSM Metrics for PowerFlex
The CSM Metrics for PowerFlex deployment has been successfully installed.
Provisioner Names: csi-vxflexos.dellemc.com
Prometheus Scrape Target:
From inside the Kubernetes cluster: otel-collector:8443
CSM Metrics for PowerStore
The CSM Metrics for PowerStore deployment has been successfully installed.
Provisioner Names: csi-powerstore.dellemc.com
Prometheus Scrape Target:
From inside the Kubernetes cluster: otel-collector:8443
helm upgrade --version 1.0.1 karavi-observability dell/karavi-observability -n karavi
Release "karavi-observability" has been upgraded. Happy Helming!
NAME: karavi-observability
LAST DEPLOYED: Fri Jan 7 15:35:39 2022
NAMESPACE: karavi
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
CSM Topology
The CSM Topology deployment has been successfully installed.
The CSM Topology service can be accessed at the following URL from within the Kubernetes cluster: https://karavi-topology.karavi.svc.cluster.local
CSM Metrics for PowerFlex
The CSM Metrics for PowerFlex deployment has been successfully installed.
Provisioner Names: csi-vxflexos.dellemc.com
Prometheus Scrape Target:
From inside the Kubernetes cluster: otel-collector:8443
CSM Metrics for PowerStore
The CSM Metrics for PowerStore deployment has been successfully installed.
Provisioner Names: csi-powerstore.dellemc.com
Prometheus Scrape Target:
From inside the Kubernetes cluster: otel-collector:8443