You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vendor/helm-native-v2-using.md
+48-42Lines changed: 48 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,54 @@ To configure a release to support installations with HelmChart v2:
78
78
```
79
79
For more information about declaring the SDK as a dependency, see [Install the SDK as a Subchart](/vendor/replicated-sdk-installing#install-the-sdk-as-a-subchart) in _Install the Replicated SDK_.
80
80
81
-
1. For any of your application images that could be rate limited by Docker Hub, do the following to avoid errors caused by reaching the rate limit:
81
+
1. If you need to support KOTS existing cluster or kURL installations, complete the [Additional Steps for KOTS Existing Cluster or kURL Installations](#kots-steps) below.
82
+
83
+
1. Promote the release a channel that your team uses for testing, and install the release in a development environment to test your changes.
84
+
85
+
## Additional Steps for KOTS Existing Cluster or kURL Installations {#kots-steps}
86
+
87
+
To support KOTS existing cluster or kURL installations with HelmChart v2, complete these additional steps:
88
+
89
+
1. For each HelmChart v2 resource in the release, configure the [optionalValues](/reference/custom-resource-helmchart-v2#optionalvalues) key to add the `kots.io/backup: velero` and `kots.io/app-slug: APP_SLUG` labels to all resources that you want to be included in backups with Replicated snapshots. These labels are required to support the use of snapshots. In the `optionalValues` key, use a `when` statement that evaluates to true only when the customer has the [`isSnapshotSupported`](/vendor/licenses-using-builtin-fields#admin-console-feature-options) field enabled for their license.
90
+
91
+
:::note
92
+
The Replicated [snapshots](snapshots-overview) feature for backup and restore is supported only for KOTS existing cluster and kURL installations. Snapshots are not supported for installations with Embedded Cluster. For more information about disaster recovery for Embedded Cluster installations, see [Disaster Recovery for Embedded Cluster](/vendor/embedded-disaster-recovery.mdx).
93
+
:::
94
+
95
+
**Example**:
96
+
97
+
```yaml
98
+
# kots.io/v1beta2 HelmChart custom resource
99
+
100
+
apiVersion: kots.io/v1beta2
101
+
kind: HelmChart
102
+
metadata:
103
+
name: samplechart
104
+
spec:
105
+
...
106
+
optionalValues:
107
+
# Add backup labels only when the license supports snapshots.
108
+
# Use the LicenseFieldValue template function to check if
109
+
# the isSnapshotSupported license field is enabled
For more information about the KOTS LicenseFieldValue template function, see [LicenseFieldValue](/reference/template-functions-license).
125
+
126
+
For more information about the `isSnapshotSupported` and `appSlug` built-in license fields, see the [Admin Console Feature Options](/vendor/licenses-using-builtin-fields#admin-console-feature-options) table in _Built-In License Fields_.
127
+
128
+
1. (KOTS Existing Cluster Only) For any of your application images that could be rate limited by Docker Hub, do the following to avoid errors caused by reaching the rate limit:
82
129
83
130
<details>
84
131
<summary>What is Docker Hub rate limiting?</summary>
@@ -149,47 +196,6 @@ To configure a release to support installations with HelmChart v2:
149
196
{{- end }}
150
197
```
151
198
152
-
1. (KOTS Existing Cluster and kURL Installations Only) If you support KOTS existing cluster or kURL installations, for each HelmChart v2 resource in the release, configure the [optionalValues](/reference/custom-resource-helmchart-v2#optionalvalues) key to add the `kots.io/backup: velero` and `kots.io/app-slug: APP_SLUG` labels to all resources that you want to be included in backups with Replicated snapshots. These labels are required to support the use of snapshots. In the `optionalValues` key, use a `when` statement that evaluates to true only when the customer has the [`isSnapshotSupported`](/vendor/licenses-using-builtin-fields#admin-console-feature-options) field enabled for their license.
153
-
154
-
:::note
155
-
The Replicated [snapshots](snapshots-overview) feature for backup and restore is supported only for KOTS existing cluster and kURL installations. Snapshots are not supported for installations with Embedded Cluster. For more information about disaster recovery for Embedded Cluster installations, see [Disaster Recovery for Embedded Cluster](/vendor/embedded-disaster-recovery.mdx).
156
-
:::
157
-
158
-
**Example**:
159
-
160
-
```yaml
161
-
# kots.io/v1beta2 HelmChart custom resource
162
-
163
-
apiVersion: kots.io/v1beta2
164
-
kind: HelmChart
165
-
metadata:
166
-
name: samplechart
167
-
spec:
168
-
...
169
-
optionalValues:
170
-
# Add backup labels only when the license supports snapshots.
171
-
# Use the LicenseFieldValue template function to check if
172
-
# the isSnapshotSupported license field is enabled
For more information about the KOTS LicenseFieldValue template function, see [LicenseFieldValue](/reference/template-functions-license).
188
-
189
-
For more information about the `isSnapshotSupported` and `appSlug` built-in license fields, see the [Admin Console Feature Options](/vendor/licenses-using-builtin-fields#admin-console-feature-options) table in _Built-In License Fields_.
190
-
191
-
1. Promote the release a channel that your team uses for testing, and install the release in a development environment to test your changes.
192
-
193
199
## Next Step: Migrate Existing Installations to HelmChart v2
194
200
195
201
Existing installations can be migrated to use the KOTS HelmChart v2 method, without having to reinstall the application.
0 commit comments