Migrate from Kustomize to Helm installation
This procedure describes migration from the Kustomize Datalore installation (no longer supported) to Helm. For the procedure on installing Datalore Enterprise with Helm, refer to this page.
Hub
Copy volumes from the ./hub/statefulSet.yaml file to the volumes
helm variable. It is recommended to specify it in a separate file, for example, hub.values.yaml.
Datalore
Copy all values from user_secret_env.sh to the
dataloreEnv
helm variable in values.yaml of the datalore chart.Copy the
ROOT_PASSWORD
value from db_secret_env.txt to thedbRootPassword
helm variable:Kustomize:
ROOT_PASSWORD=mydbpasswordHelm:
dbRootPassword: mydbpasswordCopy your volumes and pvc configs from volumes_config.yaml to the
volumes
andvolumeClaimTemplates
helm variables.(Optional) If you made changes to the files agents_config.yaml and plans_config.yaml, copy the values to the
agentsConfig
andplansConfig
helm variables respectively.Delete the Datalore insalled via Kustomize:
kubectl delete -k dataloreInstall the Datalore Helm chart:
helm install -f datalore.values.yaml hub
Configure environment variables
Make sure you change
FRONTEND_URL
toDATALORE_PUBLIC_URL
.Consider the following:
The ENABLE_PLANS
variable is unnecessary. Plans are enabled if theplansConfig
helm variable is set.DEFAULT_PACKAGE_MANAGER="pip"
is a default setting now.DEFAULT_BASE_ENV_NAME=minimal
is a default setting now.