dial-core
by dial
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
| Repository | Name | Version |
|---|---|---|
| https://valkey.io/valkey-helm | valkey(valkey) | 0.9.4 |
| 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-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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity for dial-core pods assignment |
| args | list | [] | Override default dial-core args (useful when using custom images) |
| automountServiceAccountToken | bool | false | Mount Service Account token in pods |
| autoscaling.hpa | object | Documentation | Horizontal Pod Autoscaler (HPA) settings |
| autoscaling.hpa.annotations | object | {} | Annotations for HPA resource |
| autoscaling.hpa.behavior | object | {} | HPA Behavior |
| autoscaling.hpa.customRules | list | [] | HPA Custom rules |
| autoscaling.hpa.enabled | bool | false | Enable HPA |
| autoscaling.hpa.maxReplicas | int | 3 | Maximum number of replicas |
| autoscaling.hpa.minReplicas | int | 1 | Minimum number of replicas |
| autoscaling.hpa.targetCPU | string | "" | Target CPU utilization percentage |
| autoscaling.hpa.targetMemory | string | "" | Target Memory utilization percentage |
| command | list | [] | Override default dial-core command (useful when using custom images) |
| commonAnnotations | object | {} | Annotations to add to all deployed objects |
| commonLabels | object | {} | Labels to add to all deployed objects |
| configuration.encryption.existingSecret | string | "" | 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.key | string | "" | 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.secret | string | "" | 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.http | int | 8080 | dial-core HTTP container port |
| containerPorts.metrics | int | 9464 | dial-core HTTP container port for metrics |
| containerSecurityContext | object | Documentation | Container Security Context Configuration |
| containerSecurityContext.allowPrivilegeEscalation | bool | false | Set dial-core container's Security Context allowPrivilegeEscalation |
| containerSecurityContext.capabilities | object | {"drop":["ALL"]} | Set dial-core container's Security Context capabilities |
| containerSecurityContext.enabled | bool | true | Enabled dial-core container's Security Context |
| containerSecurityContext.privileged | bool | false | Set dial-core container's Security Context privileged |
| containerSecurityContext.readOnlyRootFilesystem | bool | false | Set dial-core containers' Security Context runAsNonRoot |
| containerSecurityContext.runAsGroup | int | 1001 | Set dial-core container's Security Context runAsGroup |
| containerSecurityContext.runAsNonRoot | bool | true | Set dial-core containers' Security Context runAsNonRoot |
| containerSecurityContext.runAsUser | int | 1001 | Set dial-core container's Security Context runAsUser |
| containerSecurityContext.seLinuxOptions | object | {} | Set dial-core SELinux options in container |
| containerSecurityContext.seccompProfile.type | string | "RuntimeDefault" | Set dial-extension container's Security Context seccomp profile |
| customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| diagnosticMode.enabled | bool | false | Enable diagnostic mode (all probes will be disabled) |
| env | object | {} | Key-value pairs extra environment variables to add to dial-core |
| extraContainerPorts | list | [] | Optionally specify extra list of additional ports for dial-core containers |
| extraDeploy | list | [] | Array of extra objects to deploy with the release |
| extraEnvVars | list | [] | Array containing extra env vars to add to the dial-core application container |
| extraEnvVarsCM | string | "" | Name of existing ConfigMap containing extra env vars for dial-core containers |
| extraEnvVarsSecret | string | "" | Name of existing Secret containing extra env vars for dial-core containers |
| extraVolumeMounts | list | [] | Optionally specify extra list of additional volumeMounts for the dial-core container(s) |
| extraVolumes | list | [] | Optionally specify extra list of additional volumes for the dial-core pod(s) |
| fullnameOverride | string | "" | String to fully override common.names.fullname |
| global.compatibility.openshift.adaptSecurityContext | string | "disabled" | |
| global.imagePullSecrets | list | [] | Global Docker registry secret names as an array |
| global.imageRegistry | string | "" | Global Docker image registry |
| global.storageClass | string | "" | Global StorageClass for Persistent Volume(s) |
| hostAliases | list | [] | dial-core pods host aliases Documentation |
| hostNetwork | bool | false | Enable Host Network If hostNetwork true, then dnsPolicy is set to ClusterFirstWithHostNet |
| httpRoute | object | Documentation | HTTPRoute configuration (Gateway API) |
| httpRoute.annotations | object | {} | Additional annotations for the HTTPRoute resource |
| httpRoute.enabled | bool | false | Enable HTTPRoute resource creation |
| httpRoute.hostnames | list | [] | Hostnames to match for routing |
| httpRoute.parentRefs | list | [] | Gateway parent references (required when enabled) Documentation |
| httpRoute.rules | list | [] | Custom routing rules. When empty, a default rule is created that routes all traffic (PathPrefix /) to the service Documentation |
| image | object | Documentation | Section to configure the image. |
| 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) |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| image.pullSecrets | list | [] | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Documentation |
| image.registry | string | "docker.io" | Image registry |
| image.repository | string | "epam/ai-dial-core" | Image repository |
| image.tag | string | "latest" | Image tag (immutable tags are recommended) |
| ingress | object | Documentation | Ingress configuration |
| ingress.annotations | object | {} | 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.enabled | bool | false | Enable ingress record generation for container |
| ingress.extraPaths | list | [] | An array with additional arbitrary paths that may need to be added to the ingress under the main host |
| ingress.extraRules | list | [] | An array with additional hostname(s) to be covered with the ingress record |
| ingress.hosts | list | ["dial-core.local"] | An array with hostname(s) to be covered with the ingress record |
| ingress.ingressClassName | string | "" | IngressClass that will be be used to implement the Ingress Documentation |
| ingress.path | string | "/" | Default path for the ingress record NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers |
| ingress.pathType | string | "Prefix" | Ingress path type |
| ingress.serviceName | string | "" | Change default name of service for the ingress record |
| ingress.tls | list | [] | TLS configuration for additional hostname(s) to be covered with this ingress record (evaluated as a template) Documentation |
| initContainers | list | [] | Add additional init containers to the dial-extension pod(s) Documentation |
| lifecycleHooks | object | {} | for the dial-core container(s) to automate configuration before or after startup |
| livenessProbe | object | Documentation | Liveness Probes configuration |
| livenessProbe.enabled | bool | false | Enable/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.config | string | Documentation | Configuration file for setting up the logger component (evaluated as a template) |
| logger.containerSecurityContext.allowPrivilegeEscalation | bool | false | Set logger container's Security Context allowPrivilegeEscalation |
| logger.containerSecurityContext.capabilities | object | {"drop":["ALL"]} | Set logger container's Security Context capabilities |
| logger.containerSecurityContext.enabled | bool | true | Enabled logger container's Security Context |
| logger.containerSecurityContext.privileged | bool | false | Set logger container's Security Context privileged |
| logger.containerSecurityContext.readOnlyRootFilesystem | bool | false | Set logger containers' Security Context runAsNonRoot |
| logger.containerSecurityContext.runAsGroup | int | 1001 | Set logger container's Security Context runAsGroup |
| logger.containerSecurityContext.runAsNonRoot | bool | true | Set logger containers' Security Context runAsNonRoot |
| logger.containerSecurityContext.runAsUser | int | 1001 | Set logger container's Security Context runAsUser |
| logger.containerSecurityContext.seLinuxOptions | object | {} | Set logger SELinux options in container |
| logger.containerSecurityContext.seccompProfile | object | {"type":"RuntimeDefault"} | Set logger container's Security Context seccomp profile |
| logger.enabled | bool | false | Enable/disable logger |
| logger.env | object | {} | Key-value pairs extra environment variables to add to logger component |
| logger.extraEnvVarsSecret | string | "" | |
| logger.extraVolumeMounts | list | [] | |
| logger.image | object | Documentation | Section to configure the image. |
| logger.image.digest | string | "" | Image digest for logger component in the way sha256:aa.... |
| logger.image.pullPolicy | string | "IfNotPresent" | Image pull policy for logger component |
| logger.image.pullSecrets | list | [] | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdial-core is pinned at v6.0.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