This Helm chart deploys a LibreTranslate instance on a Kubernetes cluster using the Helm package manager.
- Kubernetes 1.12+
- Helm 3.0+
helm repo add libretranslate https://libretranslate.github.io/helm-chart/
helm repo update
helm search repo libretranslateTo install the chart with the release name libretranslate:
helm install libretranslate libretranslate/libretranslate --namespace libretranslate --create-namespaceThis command deploys LibreTranslate on the Kubernetes cluster with the default configuration. The values.yaml file lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
To uninstall/delete the libretranslate deployment:
helm uninstall libretranslate
kubectl delete namespace libretranslateThese commands remove all the Kubernetes components associated with the chart and deletes the release.
See 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,
helm install libretranslate libretranslate/libretranslate --namespace libretranslate --create-namespace --set service.port=8080Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
helm install libretranslate libretranslate/libretranslate --namespace libretranslate --create-namespace -f values.yamlRun 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:
helm upgrade --install libretranslate libretranslate/libretranslate --namespace libretranslate -f values.yamlTip: You can use the default values.yaml