Skip to content

Commit 455fbbf

Browse files
authored
Merge pull request #3647 from replicatedhq/129454
Document customer-facing required releases behavior
2 parents 273f5a2 + 3fd8f8f commit 455fbbf

File tree

6 files changed

+60
-22
lines changed

6 files changed

+60
-22
lines changed

docs/partials/releases/_required-releases-description.mdx

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/partials/releases/_required-releases-limitations.mdx

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/vendor/releases-about.mdx

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import ChangeChannel from "../partials/customers/_change-channel.mdx"
2-
import RequiredReleasesLimitations from "../partials/releases/_required-releases-limitations.mdx"
3-
import RequiredReleasesDescription from "../partials/releases/_required-releases-description.mdx"
42
import VersionLabelReqsHelm from "../partials/releases/_version-label-reqs-helm.mdx"
53

64
# About Channels and Releases
@@ -120,13 +118,44 @@ As shown in the screenshot above, the release has the following properties:
120118

121119
<VersionLabelReqsHelm/>
122120

123-
* **Requirements**: Select **Prevent this release from being skipped during upgrades** to mark the release as required.
121+
* **Requirements**: Enable **Prevent this release from being skipped during upgrades** to mark the release as required. For more information, [Required Releases](#required-releases).
124122

125-
<RequiredReleasesDescription/>
123+
* **Release notes (supports markdown)**: Detailed release notes for the release. The release notes support markdown and are shown to your customer.
126124

127-
<RequiredReleasesLimitations/>
125+
### Required Releases
128126

129-
* **Release notes (supports markdown)**: Detailed release notes for the release. The release notes support markdown and are shown to your customer.
127+
You can enable the **Prevent this release from being skipped during upgrades** release property to mark a release as required. The following describes the end customer experience for required releases in the Admin Console and Enterprise Portal:
128+
129+
* For Embedded Cluster, KOTS existing cluster, or kURL installations, the Admin Console requires users to upgrade to the required version before they can upgrade to a later version. For example, if release version 1.1.0 is marked as required, users with 1.0.0 deployed must upgrade to 1.1.0 before they can upgrade to 1.1.1.
130+
131+
The following shows an example of the Admin Console **Version history** page when there is a required release:
132+
133+
<img alt="required release in the admin console" src="/images/admin-console-required-release.png" width="650px"/>
134+
135+
[View a larger version of this image](/images/admin-console-required-release.png)
136+
137+
As shown in the image above, the required release is labeled "Required", and the user is unable to click **Deploy** for a later version until the required version is deployed.
138+
139+
* In the Enterprise Portal, required releases are indicated in the list of available application versions. If the user is performing an upgrade and the Enterprise Portal has awareness of the currently-installed version, then the customer is prevented from selecting any version later than the required version. For new installations, the list allows any version to be selected.
140+
141+
:::note
142+
The Enterprise Portal does _not_ prevent users from skipping a required version.
143+
144+
For Embedded Cluster, KOTS existing cluster, or kURL installations, the Admin Console enforces required releases. For Helm CLI installations, required releases are not enforced. See [Limitations](#limitations).
145+
:::
146+
147+
![release version list in enterprise portal](/images/enterprise-portal-required-releases.png)
148+
149+
[View a larger version of this image](/images/enterprise-portal-required-releases.png)
150+
151+
#### Limitations
152+
153+
Required releases have the following limitations:
154+
155+
* Required releases are not enforced for Helm CLI installations. When the **Prevent this release from being skipped during upgrades** option is enabled, Helm CLI customers will see that the release is labeled as "required" in the Enterprise Portal. However, this label does not prevent users from skipping a required release version when installing with the Helm CLI.
156+
* After users deploy a required version, they can no longer redeploy (roll back to) versions earlier than the required version, even if `allowRollback` is true in the Application custom resource manifest. For more information, see [`allowRollback`](/reference/custom-resource-application#allowrollback) in the Application custom resource topic.
157+
* If you change the channel an existing customer is assigned to, the Admin Console always fetches the latest release on the new channel, regardless of any required releases on the channel. For more information, see [Channel Assignment](licenses-about#channel-assignment) in _About Customers_.
158+
* For installations using KOTS 1.125.2 or earlier (Embedded Cluster 2.9.0 or earlier), if you disable the **Prevent this release from being skipped during upgrades** option for a promoted release, the release will still be marked as required in the Admin Console, and users must still upgrade to the given version before they can upgrade to later versions. To skip a previously-required release during upgrades, users must first update their installation to KOTS 1.126.0 or later (Embedded Cluster 2.10.0 or later). For more information, see [Remove Release Requirement](/vendor/releases-creating-releases#remove-req) in _Manage Releases with the Vendor Portal_.
130159

131160
## About Using Semantic Versioning {#semantic-versioning}
132161

docs/vendor/releases-creating-releases.mdx

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import RequiredReleasesLimitations from "../partials/releases/_required-releases-limitations.mdx"
2-
import RequiredReleasesDescription from "../partials/releases/_required-releases-description.mdx"
3-
41
# Manage Releases with the Vendor Portal
52

63
This topic describes how to use the Replicated Vendor Portal to create and promote releases, edit releases, edit release properties, and archive releases.
@@ -85,7 +82,7 @@ To edit a draft release:
8582

8683
## Edit Release Properties
8784

88-
You can edit the properties of a release at any time. For more information about release properties, see [Release Properties](releases-about#release-properties) in _About Channels and Releases_.
85+
You can edit the properties of a release at any time. For more information about release properties, see [Release Properties](releases-about#release-properties) and [Required Releases](releases-about#required-releases) in _About Channels and Releases_.
8986

9087
To edit release properties:
9188

@@ -96,8 +93,32 @@ To edit release properties:
9693
<img src="/images/release-properties.png" alt="Release Properties dialog in the Vendor Portal" width="300"/>
9794

9895
[View a larger image](/images/release-properties.png)
96+
97+
:::note
98+
For information about disabling the **Prevent this release from being skipped during upgrades** option for a release that was previously marked as required, see [Remove Release Requirement](#remove-req) below.
99+
:::
99100
1. Click **Update Release**.
100101

102+
## Remove Release Requirement {#remove-req}
103+
104+
You can disable the **Prevent this release from being skipped during upgrades** property for a release to remove the "required" label from the release in the Enterprise Portal.
105+
106+
Additionally, for online (internet-connected) installations using KOTS 1.126.0 or later (Embedded Cluster 2.10.0 or later), the requirement is removed from the Admin Console the next time that an upstream update check occurs.
107+
108+
For more information about working with required releases, see [Required Releases](releases-about#required-releases) in _About Channels and Releases_.
109+
110+
To remove the requirement from a release:
111+
112+
1. Go to **Channels**.
113+
1. In the channel where the release was promoted, click **Release History**.
114+
1. For the release sequence that you want to edit, open the dot menu and click **Edit release**.
115+
1. Disable the **Prevent this release from being skipped during upgrades** option.
116+
1. Click **Update Release**.
117+
118+
:::note
119+
To skip a previously-required release during upgrades, users must first update their installation to KOTS 1.126.0 or later (Embedded Cluster 2.10.0 or later).
120+
:::
121+
101122
## Archive a Release
102123

103124
You can archive releases to remove them from view on the **Releases** page. Archiving a release that has been promoted does _not_ remove the release from the channel's **Release History** page or prevent KOTS from downloading the archived release.
44.5 KB
Loading
9.99 KB
Loading

0 commit comments

Comments
 (0)