forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#8950][Platform] Use matching helm chart version to operate …
…on db k8s pods Summary: Modify platform release metadata to associate a helm chart with each release version. Perform kubernetes universe operations (create, edit, upgrade, etc.), using the helm chart associated with the universe version. If there is no associated helm chart (and the universe version < 2.7), use special "legacy" helm chart to manage the universe. Test Plan: Launch previous version platform. Create k8s provider and universe. Stop the platform. Add two new releases to releases dir and add their helm charts to helm.packagePath. Start new version of platform and verify that the helm charts in the helm.packagePpath are now copied into the releases directory (alongside the release binary archives) and the platform stores the helm chart paths in the release metadata. Observe the releases page shows the helm chart paths for each release. Perform following operations and ensure the correct version of the helm chart is used for each step: 1. Increase # of pods (verify legacy 2.7 helm chart is used) 2. Upgrade universe (to newer version that has associated chart) 3. Modify gflags 4. Upgrade universe version (to other newer version) 5. Decrease # of pods 6. Modify gflags 7. Delete universe Run unit tests. Run K8s integration tests. Reviewers: arnav, sanketh Reviewed By: sanketh Subscribers: jason, yugaware, jenkins-bot Differential Revision: https://phabricator.dev.yugabyte.com/D12255
- Loading branch information
1 parent
d99463e
commit 3fd0736
Showing
24 changed files
with
509 additions
and
137 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
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
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
Oops, something went wrong.