Skip to main content

Helm Installation

Diyalog is delivered as three Helm charts. Diyalog gives you the address of its Helm repository and your credentials.

ChartWhat it installsComponent charts
diyalogThe Diyalog platform (main cluster)diyalog-server, diyalog-distributed-workers, diyalog-webapp, diyalog-translation-server, diyalog-screenrecording, answer-suggestion-api
diyalog-proxyWebSocket proxy, installed separately in the DMZ cluster (diyalog-proxy namespace)diyalog-proxy-server
diyalog-turnTURN server (coturn) for calls, installed separatelydiyalog-coturn

Each chart ships its component charts as packages under charts/, so installing needs no access to Diyalog's source repositories.

Install#

helm repo add diyalog <DIYALOG-HELM-REPO-URL> --username <USERNAME> --password <PASSWORD>
# Main cluster
helm upgrade --install diyalog diyalog/diyalog --version <CHART-VERSION> -n diyalog -f values-<environment>.yaml
# DMZ cluster
helm upgrade --install diyalog-proxy diyalog/diyalog-proxy -n diyalog-proxy -f proxy-values.yaml
# TURN server
helm upgrade --install diyalog-coturn diyalog/diyalog-turn -n diyalog -f turn-values.yaml

If you name the diyalog-turn release diyalog-coturn, the resource names match those of a direct coturn chart installation.

ArgoCD: create one Application per chart, with the Helm repository as source and the chart name and version.

No internet access: copy the chart packages into your own Helm repository or Git repository and install from there.

Values#

Settings of each component go under that component's chart name. A component can be switched off with <chart-name>.enabled: false.

# values-<environment>.yaml for the diyalog chart
diyalog-server:
database:
type: oracle
diyalog-translation-server:
enabled: true # off by default; needs an API key Secret
diyalog-screenrecording:
enabled: true # off by default; needs LDAP and diyalog-server image 1.28.0 or later
answer-suggestion-api:
enabled: true # off by default; cluster-internal; also enable ai.answerSuggestion in diyalog-server
# proxy-values.yaml for the diyalog-proxy chart
diyalog-proxy-server:
backendServer: "https://wsdiyalog.example.com"
# turn-values.yaml for the diyalog-turn chart
diyalog-coturn:
coturn:
realm: turn.example.com

The diyalog-server settings are described in Server configuration.

Optional components#

  • diyalog-translation-server needs an API key Secret. Create it with secret.create, create it by hand, or use secretsProvider.type: conjur. diyalog-server must use the same key in ai.translator.apiKey.

  • diyalog-screenrecording uses the diyalog-server image; keep the image tags equal. It needs LDAP, and S3 settings when storage.adapter is S3. Set the same storage in diyalog-server's screenRecording block so the admin panel can play recordings.

  • answer-suggestion-api runs as a ClusterIP service with no ingress. To use it, also set in diyalog-server:

    • ai.answerSuggestion.enabled: true
    • ai.answerSuggestion.apiUrl: http://<release>-answer-suggestion-api:8000
    • ai.answerSuggestion.apiKey: the same value as the answer-suggestion-api secrets.apiKey

    Its secrets.webhookSecret must be a token that diyalog-server's internal API accepts (internalServicesHttpApiToken).

DMZ proxy#

diyalog-proxy-server forwards WebSocket traffic from the DMZ to diyalog-server.

ValueDescription
backendServerURL of diyalog-server's WebSocket endpoint (wsEndpoint)
ingress.hostPublic host name of the proxy in the DMZ
ingress.tlsSecretNameTLS Secret for the proxy host

TURN server#

ValueDescription
coturn.realmTURN realm, usually the TURN host name
coturn.userTURN user. Use the same credentials in diyalog-server iceServers.
coturn.externalIp, coturn.relayIpSet them, or keep detectExternalIp / detectRelayIp on
coturn.portsListening ports (80, 443 for TLS) and the relay port range (default 55000 to 56000)
coturn.certificateTLS private key and certificate
service.loadBalancerIPFixed IP for the TURN LoadBalancer service

Versions#

The diyalog chart has its own version. The minor version goes up when a component chart or image changes, the patch version for a fix in the chart itself. appVersion is the Diyalog platform release the chart was tested with. The tested image tags are set in the chart's values.yaml; you can override them in your own values.

diyalog chartappVersiondiyalog-serverdistributed-workerswebapptranslation-serverscreenrecordinganswer-suggestion-api
1.13.01.29.0chart 0.43.0, image 1.29.0chart 0.9.0, image 1.29.0chart 0.14.0, image 5.20.0chart 0.3.0, image 1.0.1chart 0.5.0, image 1.29.0chart 0.4.0, image 0.11
1.12.01.28.2chart 0.42.0, image 1.28.2chart 0.8.0, image 1.28.2chart 0.13.0, image 5.19.1chart 0.3.0, image 1.0.1chart 0.4.0, image 1.28.2chart 0.4.0, image 0.11
1.11.01.28.2chart 0.42.0, image 1.28.2chart 0.8.0, image 1.28.2chart 0.12.0, image 5.19.0chart 0.3.0, image 1.0.1chart 0.4.0, image 1.28.2chart 0.4.0, image 0.11
1.10.01.28.2chart 0.41.0, image 1.28.2chart 0.8.0, image 1.28.2chart 0.12.0, image 5.19.0chart 0.3.0, image 1.0.1chart 0.4.0, image 1.28.2chart 0.4.0, image 0.11
1.9.01.28.1chart 0.40.0, image 1.28.1chart 0.7.0, image 1.28.1chart 0.12.0, image 5.19.0chart 0.3.0, image 1.0.1chart 0.3.0, image 1.28.1chart 0.4.0, image 0.11
1.8.01.28.0chart 0.39.0, image 1.28.0chart 0.6.0, image 1.28.0chart 0.12.0, image 5.19.0chart 0.3.0, image 1.0.1chart 0.2.0, image 1.28.0chart 0.3.0, image 0.10
1.7.01.28.0chart 0.39.0, image 1.28.0chart 0.6.0, image 1.28.0chart 0.12.0, image 5.19.0chart 0.3.0, image 1.0.1chart 0.2.0, image 1.28.0chart 0.2.0, image 0.9
1.6.01.28.0chart 0.39.0, image 1.28.0chart 0.6.0, image 1.28.0chart 0.11.0, image 5.18.5chart 0.3.0, image 1.0.1chart 0.2.0, image 1.28.0chart 0.1.0, image 0.5
1.5.01.27.22chart 0.38.0, image 1.27.22chart 0.5.0, image 1.27.22chart 0.11.0, image 5.18.5chart 0.3.0, image 1.0.1chart 0.1.0, image 1.27.22-
1.4.01.27.22chart 0.38.0, image 1.27.22chart 0.5.0, image 1.27.22chart 0.11.0, image 5.18.5chart 0.3.0, image 1.0.1--
1.3.01.27.22chart 0.37.0, image 1.27.22chart 0.5.0, image 1.27.22chart 0.11.0, image 5.18.5chart 0.3.0, image 1.0.1--
1.2.01.27.20chart 0.36.0, image 1.27.20chart 0.4.0, image 1.27.20chart 0.10.0, image 5.18.4chart 0.3.0, image 1.0.1--
1.1.01.27.19chart 0.36.0, image 1.27.19chart 0.4.0, image 1.27.19chart 0.10.0, image 5.18.4chart 0.3.0, image 1.0.1--
1.0.01.27.18chart 0.35.0, image 1.27.18chart 0.3.0, image 1.27.18chart 0.9.0, image 5.18.4chart 0.2.0, image 1.0.1--

Screen recording and answer-suggestion-api are off by default in every version.