-
Requirements:
- Helm v3 installed
helm repo add onesaitplatform https://helm.onesaitplatform.com/
helm repo update
- You can override default chart values with the following, saving it as a file with yaml extension and passing it to the chart execution with -f flag.
global:
storageClassName: managed-premium
storageClassProvisioned: false
logStorageClassName: Azurefile
localStorageEnabled: false
env:
serverName: "example.onesaitplatform.com"
ingressHostName: example.onesaitplatform.com
- Helm installation command:
helm install onesaitplatform/onesaitplatform-ce-base-chart \
-f base-values.yml \
--namespace <your_k8s_namespace> \
--generate-name \
--version 5.3.0-ce
- In case you want to deploy engine/intelligence charts, the following instructions must be executed:
helm install onesaitplatform/onesaitplatform-ce-engine-chart \
-f engine-values.yml \
--namespace <your_k8s_namespace> \
--generate-name \
--version 5.3.0-ce
helm install onesaitplatform/onesaitplatform-ce-intelligence-chart \
-f intelligence-values.yml \
--namespace <your_k8s_namespace> \
--generate-name \
--version 5.3.0-ce
- The engine/intelligence values can be overwritten with the following:
global:
groupName: onesait-platform
storageClassName: managed-premium
storageClassProvisioned: false
localStorageEnabled: false
env:
serverName: "example.onesaitplatform.com"
- In order to access the modules included in engine/intelligence charts through loadbalancer, you should patch the loadbalancer deployment. This action can be done with the kubectl command:
kubectl patch deployment loadbalancer --patch "$(cat onesaitplatform-ce-engine-chart/conf-files/nginx-config-volumes.yaml)"
kubectl patch deployment loadbalancer --patch "$(cat onesaitplatform-ce-intelligence-chart/conf-files/nginx-config-volumes.yaml)"
- There is also a plugin designed for this feature:
> helm plugin install https://github.com/onesaitplatform/patch-lb-helmplugin.git
> helm plugin uninstall addconfig
> helm plugin list
> helm addconfig --module <module_name>
or
> helm addconfig --module <module_name> + install platform_chart
where module_name can take one of these values:
- base (it is not necessary to be executed)
- intelligence
- engine
You can access with these users/passwords:
- administrator/Community2019!
- developer/Community2019!
- analytics/Community2019!