Skip to content

Commit

Permalink
Update Helm chart installation commands
Browse files Browse the repository at this point in the history
  • Loading branch information
drivard committed Dec 15, 2023
1 parent 999b4a1 commit 023d045
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ helm search repo libretranslate
To install the chart with the release name `libretranslate`:

```bash
helm install libretranslate libretranslate --namespace libretranslate --create-namespace
helm install libretranslate libretranslate/libretranslate --namespace libretranslate --create-namespace
```

This command deploys LibreTranslate on the Kubernetes cluster with the default configuration. The [values.yaml](charts/libretranslate/values.yaml) file lists the parameters that can be configured during installation.
Expand All @@ -43,21 +43,21 @@ These commands remove all the Kubernetes components associated with the chart an
See [values.yaml](charts/libretranslate/values.yaml) for the full list of parameters that can be configured. You can specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

```bash
helm install libretranslate libretranslate --namespace libretranslate --create-namespace --set service.port=8080
helm install libretranslate libretranslate/libretranslate --namespace libretranslate --create-namespace --set service.port=8080
```

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

```bash
helm install libretranslate libretranslate --namespace libretranslate --create-namespace -f values.yaml
helm install libretranslate libretranslate/libretranslate --namespace libretranslate --create-namespace -f values.yaml
```

## Upgrade

Run the following command to upgrade your LibreTranslate installation. This command will use the Helm chart, apply the custom values from values.yaml, and deploy the upgrade to the `libretranslate` namespace:

```bash
helm upgrade --install libretranslate libretranslate --namespace libretranslate -f values.yaml
helm upgrade --install libretranslate libretranslate/libretranslate --namespace libretranslate -f values.yaml
```

> **Tip**: You can use the default [values.yaml](charts/libretranslate/values.yaml)
Expand Down

0 comments on commit 023d045

Please sign in to comment.