-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add in-place upgrade for APK upgrading
- Loading branch information
Showing
31 changed files
with
501 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
# Version Upgrade APK | ||
# Updating APK Version | ||
|
||
helm template test . -f version-upgrade-values.yaml && helm show crds . > t.yaml | ||
This guide outlines the process of upgrading from APK v1.0.0 installation to APK v1.1.0 installation. | ||
|
||
## In-Place Upgrade | ||
|
||
The in-place upgrade process transitions your existing APK v1.0.0 installation to APK v1.1.0. Prior to implementing these steps in a production environment, it is advised to apply and validate them in lower environments. | ||
|
||
- Ensure APK v1.0.0 is currently installed in the cluster. | ||
|
||
**Note:** The steps provided below assume that APK v1.0.0 is installed in the `default` namespace under the release name `apk`. Replace the dot (.) with the appropriate APK v1.1.0 Helm chart name and version, which is `wso2apk/apk-helm --version 1.1.0`. | ||
|
||
- Install/Update CRDs for APK v1.1.0. | ||
|
||
```bash | ||
(helm template apk . -f crds-upgrade-values.yaml -n default && helm show crds .) > apk-v1.1.0-crds.yaml | ||
|
||
kubectl apply -f apk-v1.1.0-crds.yaml | ||
``` | ||
|
||
- Upgrade the existing APK v1.0.0 installation to APK v1.1.0. | ||
|
||
```bash | ||
helm upgrade --reuse-values apk . -f ./in-place-upgrade-values.yaml --set skipCrds=true | ||
``` | ||
|
||
These steps will seamlessly transition your APK installation to the latest version, ensuring continued functionality and compatibility. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.