dial-admin
by dial
Helm chart for DIAL Admin
About this chart
dial-admin
Helm chart for DIAL Admin
Prerequisites
- Helm 3.8.0+
- PV provisioner support in the underlying infrastructure (optional)
- Ingress controller support in the underlying infrastructure (optional)
Requirements
Kubernetes: >=1.25.0-0
| Repository | Name | Version |
|---|---|---|
| https://charts.dialx.ai | frontend(dial-extension) | 3.2.0 |
| https://charts.dialx.ai | manager(dial-extension) | 3.2.0 |
| oci://registry-1.docker.io/bitnamicharts | common | 2.31.1 |
| oci://registry-1.docker.io/bitnamicharts | postgresql | 16.7.12 |
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-admin
The command deploys dial-admin on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
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-admin --set backend.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
backend:
image:
tag: latest
helm install my-release dial/dial-admin -f values.yaml
NOTE: You can use the default values.yaml
Values
| Key | Type | Default | Description |
|---|---|---|---|
| backend.affinity | object | {} | Affinity for dial-admin backend pods assignment |
| backend.args | list | [] | Override default dial-admin backend args (useful when using custom images) |
| backend.automountServiceAccountToken | bool | false | Mount Service Account token in pods |
| backend.autoscaling.hpa | object | Documentation | Horizontal Pod Autoscaler (HPA) settings |
| backend.autoscaling.hpa.annotations | object | {} | Annotations for HPA resource |
| backend.autoscaling.hpa.behavior | object | {} | HPA Behavior |
| backend.autoscaling.hpa.customRules | list | [] | HPA Custom rules |
| backend.autoscaling.hpa.enabled | bool | false | Enable HPA |
| backend.autoscaling.hpa.maxReplicas | int | 3 | Maximum number of replicas |
| backend.autoscaling.hpa.minReplicas | int | 1 | Minimum number of replicas |
| backend.autoscaling.hpa.targetCPU | string | "" | Target CPU utilization percentage |
| backend.autoscaling.hpa.targetMemory | string | "" | Target Memory utilization percentage |
| backend.command | list | [] | Override default dial-admin backend command (useful when using custom images) |
| backend.configuration.datasourceVendor | string | "postgresql" | Database vendor for the datasource. Possible values: postgresql, mssql, h2 |
| backend.configuration.export.create | bool | true | Whether to grant permissions to create the export resource |
| backend.configuration.export.key | string | "" | Key for export resources |
| backend.configuration.export.names | list | [] | List of export resource names |
| backend.configuration.export.namespace | string | "" | Namespace for export resource |
| backend.configuration.export.type | string | "secret" | Type of export resource Possible values: secret or configmap |
| backend.containerPorts.http | int | 8080 | dial-admin backend HTTP container port |
| backend.containerPorts.metrics | int | 9464 | dial-admin backend HTTP container port for metrics |
| backend.containerSecurityContext | object | Documentation | Container Security Context Configuration |
| backend.containerSecurityContext.allowPrivilegeEscalation | bool | false | Set dial-admin backend container's Security Context allowPrivilegeEscalation |
| backend.containerSecurityContext.capabilities | object | {"drop":["ALL"]} | Set dial-admin backend container's Security Context capabilities |
| backend.containerSecurityContext.enabled | bool | true | Enabled dial-admin backend container's Security Context |
| backend.containerSecurityContext.privileged | bool | false | Set dial-admin backend container's Security Context privileged |
| backend.containerSecurityContext.readOnlyRootFilesystem | bool | true | Set dial-admin backend containers' Security Context runAsNonRoot |
| backend.containerSecurityContext.runAsGroup | int | 1001 | Set dial-admin backend container's Security Context runAsGroup |
| backend.containerSecurityContext.runAsNonRoot | bool | true | Set dial-admin backend containers' Security Context runAsNonRoot |
| backend.containerSecurityContext.runAsUser | int | 1001 | Set dial-admin backend container's Security Context runAsUser |
| backend.containerSecurityContext.seLinuxOptions | object | {} | Set dial-admin backend SELinux options in container |
| backend.containerSecurityContext.seccompProfile.type | string | "RuntimeDefault" | Set dial-admin backend container's Security Context seccomp profile type |
| backend.customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| backend.customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| backend.customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| backend.diagnosticMode.enabled | bool | false | Enable diagnostic mode (all probes will be disabled) |
| backend.enableServiceLinks | bool | true | If set to false, disable Kubernetes service links in the pod spec Documentation |
| backend.enabled | bool | true | Enable dial-admin backend deployment |
| backend.env | object | {} | Key-value pairs extra environment variables to add |
| backend.extraEnvVars | list | [] | Array containing extra env vars to configure the credential |
| backend.extraEnvVarsCM | string | "" | ConfigMap containing extra env vars to configure the credential |
| backend.extraEnvVarsSecret | string | "" | Name of existing Secret containing extra env vars for dial-admin backend containers |
| backend.extraVolumeClaimTemplates | list | [] | Optionally specify extra list of additional volumeClaimTemplates for the dial-admin backend container(s) |
| backend.extraVolumeMounts | list | [] | Optionally specify extra list of additional volumeMounts for the dial-admin backend container(s) |
| backend.extraVolumes | list | [] | Optionally specify extra list of additional volumes for the dial-admin backend pod(s) |
| backend.hostAliases | list | [] | dial-admin backend pods host aliases Documentation |
| backend.hostNetwork | bool | false | Enable Host Network If hostNetwork true, then dnsPolicy is set to ClusterFirstWithHostNet |
| backend.httpRoute | object | Documentation | HTTPRoute configuration (Gateway API) |
| backend.httpRoute.annotations | object | {} | Additional annotations for the HTTPRoute resource |
| backend.httpRoute.enabled | bool | false | Enable HTTPRoute resource creation |
| backend.httpRoute.hostnames | list | [] | Hostnames to match for routing |
| backend.httpRoute.parentRefs | list | [] | Gateway parent references (required when enabled) Documentation |
| backend.httpRoute.rules | list | [] | Custom routing rules. When empty, a default rule is created that routes all traffic (PathPrefix /) to the service Documentation |
| backend.image | object | Documentation | Section to configure the image. |
| backend.image.digest | string | "" | Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended) |
| backend.image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| backend.image.pullSecrets | list | [] | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Documentation |
| backend.image.registry | string | "docker.io" | Image registry |
| backend.image.repository | string | "epam/ai-dial-admin-backend" | Image repository |
| backend.image.tag | string | "0.23.0" | Image tag (immutable tags are recommended) |
| backend.initContainers | list | [] | Add additional init containers to the dial-admin backend pod(s) Documentation |
| backend.lifecycleHooks | object | {} | for the dial-admin backend container(s) to automate configuration before or after startup |
| backend.livenessProbe | object | Documentation | Liveness Probes configuration |
| backend.livenessProbe.enabled | bool | true | Enable/disable livenessProbe |
| backend.metrics | object | Documentation | Configuration resources for prometheus metrics |
| backend.metrics.enabled | bool | false | Enable the export of Prometheus metrics |
| backend.metrics.prometheusRule.enabled | bool | false | Creates a Prometheus Operator prometheusRule |
| backend.metrics.prometheusRule.labels | object | {} | Additional labels that can be used so prometheusRule will be discovered by Prometheus |
| backend.metrics.prometheusRule.namespace | string | "" | Namespace for the prometheusRule Resource (defaults to the Release Namespace) |
| backend.metrics.prometheusRule.rules | list | [] | Prometheus Rule definitions |
| backend.metrics.service | object | - | Dedicated Kubernetes Service for dial-admin backend metrics configuration |
| backend.metrics.service.annotations | object | {} | Additional custom annotations for dial-admin backend metrics service |
| backend.metrics.service.clusterIP | string | "" | dial-admin backend metrics service Cluster IP |
| backend.metrics.service.externalTrafficPolicy | string | "Cluster" | dial-admin backend metrics service external traffic policy Documentation |
| backend.metrics.service.extraPorts | list | [] | Extra ports to expose in dial-admin backend metrics service (normally used with the sidecars value) |
| backend.metrics.service.loadBalancerIP | string | "" | dial-admin backend metrics service Load Balancer IP |
| backend.metrics.service.loadBalancerSourceRanges | list | [] | dial-admin backend metrics service Load Balancer sources |
| backend.metrics.service.nodePorts.http | string | "" | Node port for metrics NOTE: choose port between <30000-32767> |
| backend.metrics.service.ports.http | int | 9464 | dial-admin backend metrics service port |
| backend.metrics.service.sessionAffinity | string | "None" | Control where client requests go, to the same pod or round-robin Values: ClientIP or None |
| backend.metrics.service.sessionAffinityConfig | object | {} | Additional settings for the sessionAffinity |
| backend.metrics.service.type | string | "ClusterIP" | dial-admin backend metrics service type |
| backend.metrics.serviceMonitor | object | Documentation | Prometheus Operator ServiceMonitor configuration |
| backend.metrics.serviceMonitor.annotations | object | {} | Additional custom annotations for the ServiceMonitor |
| backend.metrics.serviceMonitor.enabled | bool | false | if true, creates a Prometheus Operator ServiceMonitor (also requires metrics.enabled to be true) |
| backend.metrics.serviceMonitor.honorLabels | bool | false | honorLabels chooses the metric's labels on collisions with target labels |
| backend.metrics.serviceMonitor.interval | string | "" | Interval at which metrics should be scraped. |
| backend.metrics.serviceMonitor.jobLabel | string | "" | The name of the label on the target service to use as the job name in Prometheus |
| backend.metrics.serviceMonitor.labels | object | {} | Extra labels for the ServiceMonitor |
| backend.metrics.serviceMonitor.metricRelabelings | list | [] | Specify additional relabeling of metrics |
| backend.metrics.serviceMonitor.namespace | string | "" | Namespace in which Prometheus is running |
| backend.metrics.serviceMonitor.path | string | "/metrics" | Specify metrics path |
| backend.metrics.serviceMonitor.port | string | "http-metrics" | Specify service metrics port |
| backend.metrics.serviceMonitor.relabelings | list | [] | Specify general relabeling |
| backend.metrics.serviceMonitor.scrapeTimeout | string | "" | Timeout after which the scrape is ended |
| backend.metrics. |
Deploy dial-admin with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dial-admin 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-admin is pinned at v0.21.0 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