dial
by dial
Umbrella chart for DIAL solution
About this chart
dial
Umbrella chart for DIAL solution
Prerequisites
- Helm 3.8.0+
- PV provisioner support in the underlying infrastructure (optional)
- Ingress controller support in the underlying infrastructure (optional)
Requirements
Kubernetes: >=1.23.0-0
| Repository | Name | Version |
|---|---|---|
| https://charts.dialx.ai | core(dial-core) | 6.0.0 |
| https://charts.dialx.ai | chat(dial-extension) | 3.2.0 |
| https://charts.dialx.ai | themes(dial-extension) | 3.2.0 |
| https://charts.dialx.ai | openai(dial-extension) | 3.2.0 |
| https://charts.dialx.ai | bedrock(dial-extension) | 3.2.0 |
| https://charts.dialx.ai | vertexai(dial-extension) | 3.2.0 |
| https://charts.dialx.ai | dial(dial-extension) | 3.2.0 |
| https://charts.dialx.ai | modelProvider(dial-extension) | 3.2.0 |
| oci://registry-1.docker.io/bitnamicharts | common | 2.31.4 |
Installing the Chart
To install the chart with the release name my-release:
helm repo add dial https://charts.dialx.ai
helm install my-release dial/dial
The command deploys AI DIAL on the Kubernetes cluster with default configuration. The Parameters section lists the parameters that can be configured during installation.
Examples
Due to flexibility of the system, it's impossible to define default values for all parameters and cover all use cases.
However, we provide a set of examples that can be used as a good starting point for your own configuration.
Uninstalling the Chart
To uninstall/delete the my-release deployment:
helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
NOTE: Persistent Volumes created by StatefulSets won't be deleted automatically
Parameters
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example:
helm install my-release dial/dial --set chat.image.tag=latest
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example:
# values.yaml file content
chat:
image:
tag: latest
helm install my-release dial/dial -f values.yaml
NOTE: You can use the default values.yaml
Values
| Key | Type | Default | Description |
|---|---|---|---|
| bedrock.commonLabels."app.kubernetes.io/component" | string | "adapter" | |
| bedrock.enabled | bool | false | Enable/disable ai-dial-adapter-bedrock |
| bedrock.image.repository | string | "epam/ai-dial-adapter-bedrock" | |
| bedrock.image.tag | string | "0.46.0" | |
| bedrock.livenessProbe.enabled | bool | true | |
| bedrock.readinessProbe.enabled | bool | true | |
| bedrock.resourcesPreset | string | "micro" | |
| bedrock.secrets | object | {} | |
| chat.commonLabels."app.kubernetes.io/component" | string | "application" | |
| chat.enabled | bool | true | Enable/disable ai-dial-chat |
| chat.image.repository | string | "epam/ai-dial-chat" | |
| chat.image.tag | string | "1.3.1" | |
| chat.livenessProbe.enabled | bool | true | |
| chat.livenessProbe.failureThreshold | int | 6 | |
| chat.livenessProbe.httpGet.path | string | "/api/health" | |
| chat.readinessProbe.enabled | bool | true | |
| chat.readinessProbe.failureThreshold | int | 6 | |
| chat.readinessProbe.httpGet.path | string | "/api/health" | |
| chat.resourcesPreset | string | "small" | |
| core.enabled | bool | true | Enable/disable ai-dial-core |
| core.image.tag | string | "0.50.1" | |
| core.livenessProbe.enabled | bool | true | |
| core.readinessProbe.enabled | bool | true | |
| dial.commonLabels."app.kubernetes.io/component" | string | "adapter" | |
| dial.enabled | bool | false | Enable/disable ai-dial-adapter-dial |
| dial.image.repository | string | "epam/ai-dial-adapter-dial" | |
| dial.image.tag | string | "0.21.0" | |
| dial.livenessProbe.enabled | bool | true | |
| dial.readinessProbe.enabled | bool | true | |
| dial.resourcesPreset | string | "micro" | |
| extraDeploy | list | [] | |
| modelProvider.commonLabels."app.kubernetes.io/component" | string | "model-provider" | |
| modelProvider.enabled | bool | false | Enable/disable ai-dial-model-provider (experimental) |
| modelProvider.image.repository | string | "epam/ai-dial-model-provider" | |
| modelProvider.image.tag | string | "0.1.0" | |
| modelProvider.livenessProbe.enabled | bool | true | |
| modelProvider.nameOverride | string | "model-provider" | Resource names must be lowercase RFC 1123; the alias "modelProvider" is camelCase, so override the name |
| modelProvider.readinessProbe.enabled | bool | true | |
| modelProvider.resourcesPreset | string | "small" | |
| modelProvider.secrets | object | {} | |
| openai.commonLabels."app.kubernetes.io/component" | string | "adapter" | |
| openai.enabled | bool | false | Enable/disable ai-dial-adapter-openai |
| openai.image.repository | string | "epam/ai-dial-adapter-openai" | |
| openai.image.tag | string | "0.46.0" | |
| openai.livenessProbe.enabled | bool | true | |
| openai.readinessProbe.enabled | bool | true | |
| openai.resourcesPreset | string | "micro" | |
| themes.commonLabels."app.kubernetes.io/component" | string | "webserver" | |
| themes.containerPorts.http | int | 8080 | |
| themes.containerSecurityContext.enabled | bool | true | |
| themes.containerSecurityContext.runAsUser | int | 101 | |
| themes.enabled | bool | true | Enable/disable ai-dial-chat-themes |
| themes.image.repository | string | "epam/ai-dial-chat-themes" | |
| themes.image.tag | string | "0.22.0" | |
| themes.livenessProbe.enabled | bool | true | |
| themes.podSecurityContext.fsGroup | int | 101 | |
| themes.readinessProbe.enabled | bool | true | |
| vertexai.commonLabels."app.kubernetes.io/component" | string | "adapter" | |
| vertexai.enabled | bool | false | Enable/disable ai-dial-adapter-vertexai |
| vertexai.image.repository | string | "epam/ai-dial-adapter-vertexai" | |
| vertexai.image.tag | string | "0.42.0" | |
| vertexai.livenessProbe.enabled | bool | true | |
| vertexai.readinessProbe.enabled | bool | true | |
| vertexai.resourcesPreset | string | "small" |
Valkey
Core application relies on in-memory NoSQL key-value database as a cache storage. Initially, the Helm chart was using Redis database, but starting from version 7.0.0, it is replaced with Valkey - due to its enhancements and permissive license.
By default, the Helm chart follows deploys dial-core sub-chart settings, which deploys Valkey in a standalone mode (single instance, no replicas) with ACL-based authentication disabled.
[!warning] It is strongly recommended to enable the authentication mechanism. An example of the configuration following the "least privilege" principles is provided below.
core:
valkey:
enabled: true
auth:
enabled: true
usersExistingSecret: "dial-valkey-auth"
aclUsers:
default:
passwordKey: "default-password"
permissions: "on ~* allchannels +@read +@write +ping +info +@hash +@list +@pubsub +@scripting +TIME"
Adjusting memory
By default Valkey itself is configured with maxmemory 2G (two gigabytes) and container granted resources.limits.memory: 2Gi (two gibibytes). This creates an intentional gap due to SI units in application configuration and binary units in Kubernetes specification, thus helps to avoid OOM kills.
[!IMPORTANT] Both values must be updated in pair when you adjust cache capacity
core:
valkey:
resources:
limits:
memory: 4Gi
requests:
memory: 4Gi
valkeyConfig: |
maxmemory 4G
maxmemory-policy volatile-lfu
Use an external Valkey database
You may want the application to connect to an external Valkey (or Redis-compatible) database rather than the one provided by the Helm chart - for example, when using a cloud-managed service such as AWS ElastiCache or Azure Cache for Redis. To do this, set core.valkey.enabled to false and specify the connection details:
core:
valkey:
enabled: false
env:
aidial.redis.singleServerConfig.address: "redis://myexternalhost:6379"
secrets:
aidial.redis.singleServerConfig.password: "mypassword"
Upgrading
To 8.0.0
[!CAUTION] The upgrade includes BREAKING CHANGES and require MANUAL ACTIONS.
In this version, we've made the following component changes, some of which require manual actions:
- The
keycloakHelm chart dependency was removed from the DIAL chart. - The bundled
ai-dial-chatimage was upgraded from0.49.0to1.1.0.
Keycloak
The DIAL chart no longer deploys or manages Keycloak. If you use the Keycloak deployment previously installed by this chart:
- Back up the Keycloak configuration and database before upgrading.
- Prepare an external Keycloak deployment from backup.
- Remove the
keycloaksection fromvalues.yamland anykeycloak.*Helm--setarguments. - Remove obsolete Keycloak resources and PVCs only after confirming that the replacement deployment is working and the backup is no longer required.
DIAL Chat
The bundled ai-dial-chat image is upgraded from the 0.x release line to the 1.x release line.
- Review and migrate custom Chat environment variables because environment variable names and configuration have changed between the
0.xand1.xreleases. Use the Migrating from the Legacy DIAL Chat documentation as a reference.
To 7.0.0
[!CAUTION] The upgrade includes BREAKING CHANGES and require MANUAL ACTIONS. Find detailed information about this Valkey configuration block in Valkey README.md.
In this version, we've updated the following underlying dependencies, some of which require manual actions:
dial/dial-coreHelm chart version bumped from5.2.0to6.0.0bitnami/redis-clusterHelm chart replaced withvalkey/valkeyHelm chart
In-house deployment
-
Replace
core.redistocore.valkeyinvalues.yaml:core: - redis: + valkey: enabled: true -
Replace credentials configuration in
values.yaml, based on your existing approach:Option 1: inline password (previously
core.redis.password)Before:
core: redis: enabled: true password: "%%REDIS_PASSWORD%%"After:
core: valkey: enabled: true auth: enabled: true aclUsers: default: password: "%%REDIS_PASSWORD%%"Option 2: existing Kubernetes secret (previously
core.redis.existingSecret+core.redis.existingSecretPasswordKey)Before:
core: redis: enabled: true existingSecret: "my-redis-secret" existingSecretPasswordKey: "redis-password"After:
core: valkey: enabled: true auth: enabled: true usersExistingSecret: "my-redis-secret" aclUsers: default: passwordKey: "redis-password" -
Ensure no other
core.redisconfiguration blocks left invalues.yamlor Helm--setarguments, otherwise migrate them according to Valkey Helm chart documentation -
Run
helm upgradecommand with usual arguments, new7.X.Xchart version -
Manually delete the Redis-related PVCs
External Valkey deployment
-
Replace
core.redistocore.valkeyinvalues.yaml:core: - redis: + valkey: enabled: false
To 6.0.0
[!CAUTION] The upgrade includes BREAKING CHANGES and require MANUAL ACTIONS.
In this version, we've updated the following underlying dependencies, some of which require manual actions:
bitnami/keycloakHelm chart version bumped from to24.4.3to24.9.0keycloakversion bumped from26.0.8to26.3.2keycloakCliversion changed toadorsys/keycloak-config-cli:6.4.0-26.1.0bitnami/postgresqlHelm chart from16.4.3to16.6.6postgresqlversion bumped from17.2.0to17.6.0
dial/dial-coreHelm chart version bumped from to4.3.1to5.1.1bitnami/redis-clusterHelm chart version bumped from to11.4.0to13.0.4redisversion bumped from7.4.2to8.2.1
dial/dial-extensionHelm charts version bumped from to1.3.3to2.2.1bitnami/commonHelm chart version bumped from to2.29.0to2.31.4
Keycloak
[!TIP] If you don't use Keycloak, disregard the information below and proceed to the next step.
Please refer to the official documentation for more details:
- [bitnami/keycloak helm chart changelog](https:/
Deploy dial with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dial on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdial is pinned at v8.2.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply