Versioning
Apps can be versioned. Versioning an App allows you to make changes over time to an App while retaining the current version/iteration. Apps that are deployed from a template with updated versions will show up with a warning indicating that a newer App version is available.
Creating a New App Version
You can add new versions to your App via the vCluster.Pro UI.
- Select the Templates field on the left menu bar.
- Click the Apps option on the templates pane.
- Find the App you would like to add a new version to in the list of Apps. Click the small drop down button next to the name of your desired App. From the drop down menu, click the Add A New Version button.
- In the pop up box, enter the new version string for your App. Once done, click the.
- In the drawer that appears from the right, make any modifications desired for your new App version.
- Click the button.
While not strictly mandatory, you should follow standard semantic versioning practices for your App versioning. vCluster.Pro refers to the version numbers provided when determining whether to indicate if an App (or space/virtual cluster template) has a newer version available.
Updating An Installed App's Version
You can change the version of an installed App in a space, cluster, or virtual cluster to a newer (or older!) version in the vCluster.Pro UI.
- (Physical) Cluster
- Virtual Cluster
- Select the Clusters field on the left menu bar.
- From the Clusters sub-menu, select the Clusters option.
- Find the cluster containing the App you would like ot upgrade, and click on that cluster.
- In the Cluster Management view, click the button.
- Find the App you would like to upgrade (or change the version of) in the list of installed Apps. Apps that are outdated (meaning deployed with a version less than the latest version of the App) will show up with Outdated in the status column.
- Either click on the Outdated button in the status column of your target App (if the App is outdated), or click on the small drop down button next to the App name and click on the button.
- From the App Version drop down box, select the desired target App Version.
- Click the button.
- Select the Projects field on the left menu bar.
- Select the project containing the virtual cluster that you'd like to install the App in from the Project drop down menu.
- From the Projects sub-menu, select the Virtual Clusters option.
- Find the virtual cluster containing the App you would like to upgrade, click on that virtual cluster.
- In the Virtual Cluster Management view, click the button.
- Find the App you would like to upgrade (or change the version of) in the list of installed Apps. Apps that are outdated (meaning deployed with a version less than the latest version of the App) will show up with Outdated in the status column.
- Either click on the Outdated button in the status column of your target App (if the App is outdated), or click on the small drop down button next to the App name and click on the button.
- From the App Version drop down box, select the desired target App Version.
- Click the button.