dial-core

by dial

Helm chartv6.0.0App 1.0Verified publisher

Helm chart for dial core

About this chart

dial-core

Helm chart for dial core

TL;DR

helm repo add dial https://charts.dialx.ai
helm install my-release dial/dial-core

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
https://valkey.io/valkey-helmvalkey(valkey)0.9.4
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-core

The command deploys dial-core 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-core --set 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
image:
  tag: latest
helm install my-release dial/dial-core -f values.yaml

NOTE: You can use the default values.yaml

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for dial-core pods assignment
argslist[]Override default dial-core 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 dial-core command (useful when using custom images)
commonAnnotationsobject{}Annotations to add to all deployed objects
commonLabelsobject{}Labels to add to all deployed objects
configuration.encryption.existingSecretstring""The name of the Kubernetes secret containing the encryption "secret" and "key" values. WARNING: Changing this value in the middle of environment lifecycle WILL cause access loss to already encrypted data.
configuration.encryption.keystring""Random string used to encrypt sensitive data e.g. pwgen -s 32 1 WARNING: Autogenerated if not set during first installation. WARNING: Changing this value after first installation takes no effect without existing secret removal. Changing this value in the middle of environment lifecycle WILL cause access loss to already encrypted data.
configuration.encryption.secretstring""Random string used to encrypt sensitive data e.g. pwgen -s 32 1 WARNING: Autogenerated if not set during first installation. Changing this value after first installation takes no effect without existing secret removal. Changing this value in the middle of environment lifecycle WILL cause access loss to already encrypted data.
containerPorts.httpint8080dial-core HTTP container port
containerPorts.metricsint9464dial-core HTTP container port for metrics
containerSecurityContextobjectDocumentationContainer Security Context Configuration
containerSecurityContext.allowPrivilegeEscalationboolfalseSet dial-core container's Security Context allowPrivilegeEscalation
containerSecurityContext.capabilitiesobject{"drop":["ALL"]}Set dial-core container's Security Context capabilities
containerSecurityContext.enabledbooltrueEnabled dial-core container's Security Context
containerSecurityContext.privilegedboolfalseSet dial-core container's Security Context privileged
containerSecurityContext.readOnlyRootFilesystemboolfalseSet dial-core containers' Security Context runAsNonRoot
containerSecurityContext.runAsGroupint1001Set dial-core container's Security Context runAsGroup
containerSecurityContext.runAsNonRootbooltrueSet dial-core containers' Security Context runAsNonRoot
containerSecurityContext.runAsUserint1001Set dial-core container's Security Context runAsUser
containerSecurityContext.seLinuxOptionsobject{}Set dial-core 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-core
extraContainerPortslist[]Optionally specify extra list of additional ports for dial-core containers
extraDeploylist[]Array of extra objects to deploy with the release
extraEnvVarslist[]Array containing extra env vars to add to the dial-core application container
extraEnvVarsCMstring""Name of existing ConfigMap containing extra env vars for dial-core containers
extraEnvVarsSecretstring""Name of existing Secret containing extra env vars for dial-core containers
extraVolumeMountslist[]Optionally specify extra list of additional volumeMounts for the dial-core container(s)
extraVolumeslist[]Optionally specify extra list of additional volumes for the dial-core 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-core 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"epam/ai-dial-core"Image repository
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-core.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-core container(s) to automate configuration before or after startup
livenessProbeobjectDocumentationLiveness Probes configuration
livenessProbe.enabledboolfalseEnable/disable livenessProbe
logger.args[0]string"-c"
logger.args[1]string"mkdir -p /var/tmp/vector && exec vector --config /etc/vector/vector.yaml"
logger.command[0]string"/bin/sh"
logger.configstringDocumentationConfiguration file for setting up the logger component (evaluated as a template)
logger.containerSecurityContext.allowPrivilegeEscalationboolfalseSet logger container's Security Context allowPrivilegeEscalation
logger.containerSecurityContext.capabilitiesobject{"drop":["ALL"]}Set logger container's Security Context capabilities
logger.containerSecurityContext.enabledbooltrueEnabled logger container's Security Context
logger.containerSecurityContext.privilegedboolfalseSet logger container's Security Context privileged
logger.containerSecurityContext.readOnlyRootFilesystemboolfalseSet logger containers' Security Context runAsNonRoot
logger.containerSecurityContext.runAsGroupint1001Set logger container's Security Context runAsGroup
logger.containerSecurityContext.runAsNonRootbooltrueSet logger containers' Security Context runAsNonRoot
logger.containerSecurityContext.runAsUserint1001Set logger container's Security Context runAsUser
logger.containerSecurityContext.seLinuxOptionsobject{}Set logger SELinux options in container
logger.containerSecurityContext.seccompProfileobject{"type":"RuntimeDefault"}Set logger container's Security Context seccomp profile
logger.enabledboolfalseEnable/disable logger
logger.envobject{}Key-value pairs extra environment variables to add to logger component
logger.extraEnvVarsSecretstring""
logger.extraVolumeMountslist[]
logger.imageobjectDocumentationSection to configure the image.
logger.image.digeststring""Image digest for logger component in the way sha256:aa....
logger.image.pullPolicystring"IfNotPresent"Image pull policy for logger component
logger.image.pullSecretslist[]Optionally specify an array of imagePullSec

Deploy dial-core with OpenTenant

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