dial-extension

by dial

Helm chartv3.2.0App 1.0Verified publisher

Helm chart for dial extensions

About this chart

dial-extension

Helm chart for dial extensions

TL;DR

helm repo add dial https://charts.dialx.ai
helm install my-release dial/dial-extension --set image.repository=epam/ai-dial-adapter-openai

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

RepositoryNameVersion
oci://registry-1.docker.io/bitnamichartscommon2.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-extension

The command deploys dial-extension 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-extension --set image.repository=epam/ai-dial-adapter-openai

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
image:
  repository: epam/ai-dial-adapter-openai
helm install my-release dial/dial-extension -f values.yaml

NOTE: You can use the default values.yaml

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for dial-extension pods assignment
argslist[]Override default args (useful when using custom images)
automountServiceAccountTokenboolfalseMount Service Account token in pods
autoscaling.hpaobjectDocumentationHorizontal Pod Autoscaler (HPA) settings
autoscaling.hpa.annotationsobject{}Annotations for HPA resource
autoscaling.hpa.behaviorobject{}HPA Behavior
autoscaling.hpa.customRuleslist[]HPA Custom rules
autoscaling.hpa.enabledboolfalseEnable HPA
autoscaling.hpa.maxReplicasint3Maximum number of replicas
autoscaling.hpa.minReplicasint1Minimum number of replicas
autoscaling.hpa.targetCPUstring""Target CPU utilization percentage
autoscaling.hpa.targetMemorystring""Target Memory utilization percentage
commandlist[]Override default command (useful when using custom images)
commonAnnotationsobject{}Annotations to add to all deployed objects
commonLabelsobject{}Labels to add to all deployed objects
containerPorts.httpint5000dial-extension HTTP container port
containerPorts.metricsint9464dial-extension HTTP container port for metrics
containerSecurityContextobjectDocumentationContainer Security Context Configuration
containerSecurityContext.allowPrivilegeEscalationboolfalseSet dial-extension container's Security Context allowPrivilegeEscalation
containerSecurityContext.capabilitiesobject{"drop":["ALL"]}Set dial-extension container's Security Context capabilities
containerSecurityContext.enabledbooltrueEnabled dial-extension container's Security Context
containerSecurityContext.privilegedboolfalseSet dial-extension container's Security Context privileged
containerSecurityContext.readOnlyRootFilesystembooltrueSet dial-extension containers' Security Context runAsNonRoot
containerSecurityContext.runAsGroupint1001Set dial-extension container's Security Context runAsGroup
containerSecurityContext.runAsNonRootbooltrueSet dial-extension containers' Security Context runAsNonRoot
containerSecurityContext.runAsUserint1001Set dial-extension container's Security Context runAsUser
containerSecurityContext.seLinuxOptionsobject{}Set dial-extension SELinux options in container
containerSecurityContext.seccompProfile.typestring"RuntimeDefault"Set dial-extension container's Security Context seccomp profile
customLivenessProbeobject{}Custom livenessProbe that overrides the default one
customReadinessProbeobject{}Custom readinessProbe that overrides the default one
customStartupProbeobject{}Custom startupProbe that overrides the default one
diagnosticMode.enabledboolfalseEnable diagnostic mode (all probes will be disabled)
envobject{}Key-value pairs extra environment variables to add to dial-extension
extraContainerPortslist[]Optionally specify extra list of additional ports for dial-extension containers
extraDeploylist[]Array of extra objects to deploy with the release
extraEnvVarslist[]Array containing extra env vars to add to the dial-extension application container
extraEnvVarsCMstring""Name of existing ConfigMap containing extra env vars for dial-extension containers
extraEnvVarsSecretstring""Name of existing Secret containing extra env vars for dial-extension containers
extraVolumeMountslist[]Optionally specify extra list of additional volumeMounts for the dial-extension container(s)
extraVolumeslist[]Optionally specify extra list of additional volumes for the dial-extension pod(s)
fullnameOverridestring""String to fully override common.names.fullname
global.compatibility.openshift.adaptSecurityContextstring"disabled"
global.imagePullSecretslist[]Global Docker registry secret names as an array
global.imageRegistrystring""Global Docker image registry
global.storageClassstring""Global StorageClass for Persistent Volume(s)
hostAliaseslist[]dial-extension pods host aliases Documentation
hostNetworkboolfalseEnable Host Network If hostNetwork true, then dnsPolicy is set to ClusterFirstWithHostNet
httpRouteobjectDocumentationHTTPRoute configuration (Gateway API)
httpRoute.annotationsobject{}Additional annotations for the HTTPRoute resource
httpRoute.enabledboolfalseEnable HTTPRoute resource creation
httpRoute.hostnameslist[]Hostnames to match for routing
httpRoute.parentRefslist[]Gateway parent references (required when enabled) Documentation
httpRoute.ruleslist[]Custom routing rules. When empty, a default rule is created that routes all traffic (PathPrefix /) to the service Documentation
imageobjectDocumentationSection to configure the image.
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)
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Documentation
image.registrystring"docker.io"Image registry
image.repositorystring""Image repository e.g: epam/ai-dial-adapter-openai
image.tagstring"latest"Image tag (immutable tags are recommended)
ingressobjectDocumentationIngress configuration
ingress.annotationsobject{}Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. Use this parameter to set the required annotations for cert-manager
ingress.enabledboolfalseEnable ingress record generation for container
ingress.extraPathslist[]An array with additional arbitrary paths that may need to be added to the ingress under the main host
ingress.extraRuleslist[]An array with additional hostname(s) to be covered with the ingress record
ingress.hostslist["dial-extension.local"]An array with hostname(s) to be covered with the ingress record
ingress.ingressClassNamestring""IngressClass that will be be used to implement the Ingress Documentation
ingress.pathstring"/"Default path for the ingress record NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
ingress.pathTypestring"Prefix"Ingress path type
ingress.serviceNamestring""Change default name of service for the ingress record
ingress.tlslist[]TLS configuration for additional hostname(s) to be covered with this ingress record (evaluated as a template) Documentation
initContainerslist[]Add additional init containers to the dial-extension pod(s) Documentation
lifecycleHooksobject{}for the dial-extension container(s) to automate configuration before or after startup
livenessProbeobjectDocumentationLiveness Probes configuration
livenessProbe.enabledboolfalseEnable/disable livenessProbe
metricsobjectDocumentationConfiguration resources for prometheus metrics
metrics.enabledboolfalseEnable the export of Prometheus metrics
metrics.prometheusRule.annotationsobject{}Additional custom annotations for the prometheusRule
metrics.prometheusRule.enabledboolfalseCreates a Prometheus Operator prometheusRule
metrics.prometheusRule.labelsobject{}Additional labels that can be used so prometheusRule will be discovered by Prometheus
metrics.prometheusRule.namespacestring""Namespace for the prometheusRule Resource (defaults to the Release Namespace)
metrics.prometheusRule.ruleslist[]Prometheus Rule definitions
metrics.serviceobject-Dedicated Kubernetes Service for dial-extension metrics configuration
metrics.service.annotationsobject{}Additional custom annotations for dial-extension metrics service
metrics.service.clusterIPstring""metrics service Cluster IP clusterIP: None
metrics.service.externalTrafficPolicystring"Cluster"dial-extension metrics service external traffic policy Documentation
metrics.service.extraPortslist[]Extra ports to expose in dial-extension metrics service (normally used with the sidecars value)
metrics.service.loadBalancerIPstring""dial-extension metrics service Load Balancer IP
metrics.service.loadBalancerSourceRangeslist[]dial-extension metrics service Load Balancer sources
metrics.service.nodePorts.httpstring""Node port for metrics NOTE: choose port between <30000-32767>
metrics.service.portsobject{"http":9464}dial-extension metrics service port
metrics.service.ports.httpint9464dial-extension metrics service port
metrics.service.sessionAffinitystring"None"Control where client requests go, to the same pod or round-robin Values: ClientIP or None
metrics.service.sessionAffinityConfigobject{}Additional settings for the sessionAffinity
metrics.service.typestring"ClusterIP"dial-extension metrics service type
metrics.serviceMonitorobjectDocumentationPrometheus Operator ServiceMonitor configuration
metrics.serviceMonitor.annotationsobject{}Additional custom annotations for the ServiceMonitor
metrics.serviceMonitor.convertClassicHistogramsToNHCBstringnilWhether Prometheus should convert classic histograms to native histograms with custom buckets (NHCB) while scraping. Useful when the application exposes only classic histograms. Not set by default (Prometheus default is used) NOTE: requires Prometheus >= v3.0.0 and Prometheus Operator >= v0.82.0 e.g: convertClassicHistogramsToNHCB

Deploy dial-extension with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dial-extension 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-extension is pinned at v3.2.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