dial-admin

by dial

Helm chartv0.21.0App 0.23.0Verified publisher

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

RepositoryNameVersion
https://charts.dialx.aifrontend(dial-extension)3.2.0
https://charts.dialx.aimanager(dial-extension)3.2.0
oci://registry-1.docker.io/bitnamichartscommon2.31.1
oci://registry-1.docker.io/bitnamichartspostgresql16.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

KeyTypeDefaultDescription
backend.affinityobject{}Affinity for dial-admin backend pods assignment
backend.argslist[]Override default dial-admin backend args (useful when using custom images)
backend.automountServiceAccountTokenboolfalseMount Service Account token in pods
backend.autoscaling.hpaobjectDocumentationHorizontal Pod Autoscaler (HPA) settings
backend.autoscaling.hpa.annotationsobject{}Annotations for HPA resource
backend.autoscaling.hpa.behaviorobject{}HPA Behavior
backend.autoscaling.hpa.customRuleslist[]HPA Custom rules
backend.autoscaling.hpa.enabledboolfalseEnable HPA
backend.autoscaling.hpa.maxReplicasint3Maximum number of replicas
backend.autoscaling.hpa.minReplicasint1Minimum number of replicas
backend.autoscaling.hpa.targetCPUstring""Target CPU utilization percentage
backend.autoscaling.hpa.targetMemorystring""Target Memory utilization percentage
backend.commandlist[]Override default dial-admin backend command (useful when using custom images)
backend.configuration.datasourceVendorstring"postgresql"Database vendor for the datasource. Possible values: postgresql, mssql, h2
backend.configuration.export.createbooltrueWhether to grant permissions to create the export resource
backend.configuration.export.keystring""Key for export resources
backend.configuration.export.nameslist[]List of export resource names
backend.configuration.export.namespacestring""Namespace for export resource
backend.configuration.export.typestring"secret"Type of export resource Possible values: secret or configmap
backend.containerPorts.httpint8080dial-admin backend HTTP container port
backend.containerPorts.metricsint9464dial-admin backend HTTP container port for metrics
backend.containerSecurityContextobjectDocumentationContainer Security Context Configuration
backend.containerSecurityContext.allowPrivilegeEscalationboolfalseSet dial-admin backend container's Security Context allowPrivilegeEscalation
backend.containerSecurityContext.capabilitiesobject{"drop":["ALL"]}Set dial-admin backend container's Security Context capabilities
backend.containerSecurityContext.enabledbooltrueEnabled dial-admin backend container's Security Context
backend.containerSecurityContext.privilegedboolfalseSet dial-admin backend container's Security Context privileged
backend.containerSecurityContext.readOnlyRootFilesystembooltrueSet dial-admin backend containers' Security Context runAsNonRoot
backend.containerSecurityContext.runAsGroupint1001Set dial-admin backend container's Security Context runAsGroup
backend.containerSecurityContext.runAsNonRootbooltrueSet dial-admin backend containers' Security Context runAsNonRoot
backend.containerSecurityContext.runAsUserint1001Set dial-admin backend container's Security Context runAsUser
backend.containerSecurityContext.seLinuxOptionsobject{}Set dial-admin backend SELinux options in container
backend.containerSecurityContext.seccompProfile.typestring"RuntimeDefault"Set dial-admin backend container's Security Context seccomp profile type
backend.customLivenessProbeobject{}Custom livenessProbe that overrides the default one
backend.customReadinessProbeobject{}Custom readinessProbe that overrides the default one
backend.customStartupProbeobject{}Custom startupProbe that overrides the default one
backend.diagnosticMode.enabledboolfalseEnable diagnostic mode (all probes will be disabled)
backend.enableServiceLinksbooltrueIf set to false, disable Kubernetes service links in the pod spec Documentation
backend.enabledbooltrueEnable dial-admin backend deployment
backend.envobject{}Key-value pairs extra environment variables to add
backend.extraEnvVarslist[]Array containing extra env vars to configure the credential
backend.extraEnvVarsCMstring""ConfigMap containing extra env vars to configure the credential
backend.extraEnvVarsSecretstring""Name of existing Secret containing extra env vars for dial-admin backend containers
backend.extraVolumeClaimTemplateslist[]Optionally specify extra list of additional volumeClaimTemplates for the dial-admin backend container(s)
backend.extraVolumeMountslist[]Optionally specify extra list of additional volumeMounts for the dial-admin backend container(s)
backend.extraVolumeslist[]Optionally specify extra list of additional volumes for the dial-admin backend pod(s)
backend.hostAliaseslist[]dial-admin backend pods host aliases Documentation
backend.hostNetworkboolfalseEnable Host Network If hostNetwork true, then dnsPolicy is set to ClusterFirstWithHostNet
backend.httpRouteobjectDocumentationHTTPRoute configuration (Gateway API)
backend.httpRoute.annotationsobject{}Additional annotations for the HTTPRoute resource
backend.httpRoute.enabledboolfalseEnable HTTPRoute resource creation
backend.httpRoute.hostnameslist[]Hostnames to match for routing
backend.httpRoute.parentRefslist[]Gateway parent references (required when enabled) Documentation
backend.httpRoute.ruleslist[]Custom routing rules. When empty, a default rule is created that routes all traffic (PathPrefix /) to the service Documentation
backend.imageobjectDocumentationSection to configure the image.
backend.image.digeststring""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.pullPolicystring"IfNotPresent"Image pull policy
backend.image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Documentation
backend.image.registrystring"docker.io"Image registry
backend.image.repositorystring"epam/ai-dial-admin-backend"Image repository
backend.image.tagstring"0.23.0"Image tag (immutable tags are recommended)
backend.initContainerslist[]Add additional init containers to the dial-admin backend pod(s) Documentation
backend.lifecycleHooksobject{}for the dial-admin backend container(s) to automate configuration before or after startup
backend.livenessProbeobjectDocumentationLiveness Probes configuration
backend.livenessProbe.enabledbooltrueEnable/disable livenessProbe
backend.metricsobjectDocumentationConfiguration resources for prometheus metrics
backend.metrics.enabledboolfalseEnable the export of Prometheus metrics
backend.metrics.prometheusRule.enabledboolfalseCreates a Prometheus Operator prometheusRule
backend.metrics.prometheusRule.labelsobject{}Additional labels that can be used so prometheusRule will be discovered by Prometheus
backend.metrics.prometheusRule.namespacestring""Namespace for the prometheusRule Resource (defaults to the Release Namespace)
backend.metrics.prometheusRule.ruleslist[]Prometheus Rule definitions
backend.metrics.serviceobject-Dedicated Kubernetes Service for dial-admin backend metrics configuration
backend.metrics.service.annotationsobject{}Additional custom annotations for dial-admin backend metrics service
backend.metrics.service.clusterIPstring""dial-admin backend metrics service Cluster IP
backend.metrics.service.externalTrafficPolicystring"Cluster"dial-admin backend metrics service external traffic policy Documentation
backend.metrics.service.extraPortslist[]Extra ports to expose in dial-admin backend metrics service (normally used with the sidecars value)
backend.metrics.service.loadBalancerIPstring""dial-admin backend metrics service Load Balancer IP
backend.metrics.service.loadBalancerSourceRangeslist[]dial-admin backend metrics service Load Balancer sources
backend.metrics.service.nodePorts.httpstring""Node port for metrics NOTE: choose port between <30000-32767>
backend.metrics.service.ports.httpint9464dial-admin backend metrics service port
backend.metrics.service.sessionAffinitystring"None"Control where client requests go, to the same pod or round-robin Values: ClientIP or None
backend.metrics.service.sessionAffinityConfigobject{}Additional settings for the sessionAffinity
backend.metrics.service.typestring"ClusterIP"dial-admin backend metrics service type
backend.metrics.serviceMonitorobjectDocumentationPrometheus Operator ServiceMonitor configuration
backend.metrics.serviceMonitor.annotationsobject{}Additional custom annotations for the ServiceMonitor
backend.metrics.serviceMonitor.enabledboolfalseif true, creates a Prometheus Operator ServiceMonitor (also requires metrics.enabled to be true)
backend.metrics.serviceMonitor.honorLabelsboolfalsehonorLabels chooses the metric's labels on collisions with target labels
backend.metrics.serviceMonitor.intervalstring""Interval at which metrics should be scraped.
backend.metrics.serviceMonitor.jobLabelstring""The name of the label on the target service to use as the job name in Prometheus
backend.metrics.serviceMonitor.labelsobject{}Extra labels for the ServiceMonitor
backend.metrics.serviceMonitor.metricRelabelingslist[]Specify additional relabeling of metrics
backend.metrics.serviceMonitor.namespacestring""Namespace in which Prometheus is running
backend.metrics.serviceMonitor.pathstring"/metrics"Specify metrics path
backend.metrics.serviceMonitor.portstring"http-metrics"Specify service metrics port
backend.metrics.serviceMonitor.relabelingslist[]Specify general relabeling
backend.metrics.serviceMonitor.scrapeTimeoutstring""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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdial-admin is pinned at v0.21.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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