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-install-airgap.mdx
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,15 +64,17 @@ To install with Helm in an air gap environment:
64
64
65
65
1. Run the command to install the `preflight` plugin. This allows you to run preflight checks before installing to ensure that the installation environment meets the requirements for the application.
66
66
67
-
1. For **Determine install method**, select one of the options depending on your ability to access the internet and the cluster from your workstation.
67
+
1. For **Download a copy of the values.yaml file** and **Edit the values.yaml file**, run the `helm show values` command provided to download the values file for the Helm chart. Then, edit the values file as needed to customize the configuration of the given chart.
68
68
69
-
1. Run the `helm show values` command to download the default `values.yaml`. Then, edit the values as required.
69
+
If you are installing a release that contains multiple Helm charts, repeat these steps to download and edit each values file.
70
70
71
71
:::note
72
-
Replicated recommends that vendors provide detailed documentation that describes the values that customers need to configure.
72
+
For installations with mutliple charts where two or more of the top-level charts in the release use the same name, ensure that each values file has a unique name to avoid installation error. For more information, see [Installation Fails for Release With Multiple Helm Charts](helm-install-troubleshooting#air-gap-values-file-conflict) in _Troubleshooting Helm Installations_.
73
73
:::
74
74
75
-
1. Use the commands provided and the edited `values.yaml` to run preflight checks and install the release with Helm.
75
+
1. For **Determine install method**, select one of the options depending on your ability to access the internet and the cluster from your workstation.
76
+
77
+
1. Use the commands provided and the values file or files that you edited to run preflight checks and then install the release.
Copy file name to clipboardExpand all lines: docs/vendor/helm-install-release.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,26 @@ This topic describes how to package a Helm chart and the Replicated SDK into a c
10
10
11
11
To add a Helm chart to a release, you first add the Replicated SDK as a dependency of the Helm chart and then package the chart and its dependencies as a `.tgz` chart archive.
12
12
13
-
The Replicated SDK is a Helm chart can be installed as a small service alongside your application. The SDK is strongly recommended because it provides access to key Replicated features, such as support for collecting custom metrics on application instances. For more information, see [About the Replicated SDK](replicated-sdk-overview).
13
+
The Replicated SDK is a Helm chart can be installed as a small service alongside your application. The SDK provides access to key Replicated features, such as support for collecting custom metrics on application instances. For more information, see [About the Replicated SDK](replicated-sdk-overview).
14
14
15
-
## Chart Version Requirement
15
+
## Requirements and Recommendations
16
+
17
+
This section includes requirements and recommendations for Helm charts.
18
+
19
+
### Chart Version Requirement
16
20
17
21
The chart version in your Helm chart must comply with image tag format requirements. A valid tag can contain only lowercase and uppercase letters, digits, underscores, periods, and dashes.
18
22
19
23
The chart version must also comply with the Semantic Versioning (SemVer) specification. When you run the `helm install` command without the `--version` flag, Helm retrieves the list of all available image tags for the chart from the registry and compares them using the SemVer comparison rules described in the SemVer specification. The version that is installed is the version with the largest tag value. For more information about the SemVer specification, see the [Semantic Versioning](https://semver.org) documentation.
20
24
25
+
### Chart Naming
26
+
27
+
For releases that contain more than one Helm chart, Replicated recommends that you use unique names for each top-level Helm chart in the release. This aligns with Helm best practices and also avoids potential conflicts in filenames during installation that could cause the installation to fail. For more information, see [Installation Fails for Release With Multiple Helm Charts](helm-install-troubleshooting#air-gap-values-file-conflict) in _Troubleshooting Helm Installations_.
28
+
29
+
### Helm Best Practices
30
+
31
+
Replicated recommends that you review the [Best Practices](https://helm.sh/docs/chart_best_practices/) guide in the Helm documentation to ensure that your Helm chart or charts follows the required and recommended conventions.
32
+
21
33
## Package a Helm Chart {#release}
22
34
23
35
This procedure shows how to create a Helm chart archive to add to a release. For more information about the Helm CLI commands in this procedure, see the [Helm Commands](https://helm.sh/docs/helm/helm/) section in the Helm documentation.
# Troubleshooting Helm Installations with Replicated
2
+
3
+
This topic provides troubleshooting information for common issues related to performing installations and upgrades with the Helm CLI.
4
+
5
+
## Installation Fails for Release With Multiple Helm Charts {#air-gap-values-file-conflict}
6
+
7
+
#### Symptom
8
+
9
+
When performing installing a release with multiple Helm charts, the installation fails. You might also see the following error message:
10
+
11
+
```
12
+
Error: INSTALLATION FAILED: cannot re-use a name that is still in use
13
+
```
14
+
15
+
#### Cause
16
+
17
+
In the Download Portal, each chart's values file is named according to the chart's name. For example, the values file for the Helm chart Gitea would be named `gitea-values.yaml`.
18
+
19
+
If any top-level charts in the release use the same name, the associated values files will also be assigned the same name. This causes each new values file downloaded with the `helm show values` command to overwrite any previously-downloaded values file of the same name.
20
+
21
+
#### Solution
22
+
23
+
Replicated recommends that you use unique names for top-level Helm charts in the same release.
24
+
25
+
Alternatively, if a release contains charts that must use the same name, convert one or both of the charts into subcharts and use Helm conditions to differentiate them. See [Conditions and Tags](https://helm.sh/docs/chart_best_practices/dependencies/#conditions-and-tags) in the Helm documentation.
0 commit comments