OpenTenant / Marketplace / emberstack / mssql
Helm chart v1.0.22 App 2025 Verified publisher
A Helm chart for deploying Microsoft SQL Server on Kubernetes
About this chart
Microsoft SQL Server Helm Chart
A Helm chart for deploying Microsoft SQL Server 2025 on Kubernetes.
Installation Using OCI registry (recommended)
helm install mssql oci://ghcr.io/emberstack/helm-charts/mssql \
--set configuration.acceptEula=true \
--set configuration.saPassword="YourStr0ngP@ssword"
Using Helm repository
helm repo add emberstack https://emberstack.github.io/helm-charts
helm repo update
helm upgrade --install mssql emberstack/mssql \
--set configuration.acceptEula=true \
--set configuration.saPassword="YourStr0ngP@ssword"
Global Parameters Parameter Description Default
global.image.registryOverride image registry for all containers ""
global.image.tagOverride image tag for all containers ""
global.image.pullSecretsPull secrets for all containers []
global.podLabelsLabels added to all pods across subcharts {}
global.podAnnotationsAnnotations added to all pods across subcharts {}
global.extraEnvVarsEnv vars injected into all containers across subcharts []
global.serviceAccount.createOverride service account creation across subcharts true
global.serviceAccount.nameOverride service account name across subcharts ""
global.storageClassOverride storage class ""
Common Parameters Parameter Description Default
nameOverrideOverride chart name ""
fullnameOverrideOverride fully qualified app name ""
namespaceOverrideOverride namespace ""
commonLabelsLabels added to all resources {}
commonAnnotationsAnnotations added to all resources {}
extraObjectsExtra Kubernetes resources to deploy []
Image Parameters Parameter Description Default
image.registryImage registry mcr.microsoft.com
image.repositoryImage repository mssql/server
image.tagImage tag 2025-latest
image.digestImage digest (overrides tag) ""
image.pullPolicyImage pull policy IfNotPresent
image.pullSecretsImage pull secrets []
SQL Server Configuration Parameter Description Default
configuration.acceptEulaAccept the SQL Server EULA (required) false
configuration.editionSQL Server edition Developer
configuration.saPasswordSA password (required unless existingSecret is set) ""
configuration.existingSecretUse an existing secret for SA password ""
configuration.existingSecretKeyKey in the existing secret saPassword
configuration.collationDatabase collation ""
configuration.lcidLanguage ID (e.g. 1036 for French) ""
configuration.memoryLimitMbMax memory in MB ""
configuration.tcpPortTCP port ""
configuration.agentEnabledEnable SQL Server Agent false
configuration.hadrEnabledEnable Always On Availability Groups false
configuration.dataDirCustom data file directory ""
configuration.logDirCustom log file directory ""
configuration.backupDirCustom backup directory ""
configuration.dumpDirCustom dump directory ""
Supported Editions Value Description
DeveloperSQL Server Developer edition (free, non-production)
ExpressSQL Server Express edition
StandardSQL Server Standard edition
EnterpriseSQL Server Enterprise (CAL-based, legacy)
EnterpriseCoreSQL Server Enterprise Core edition
StandardDeveloperSQL Server 2025 Standard Developer edition
EnterpriseDeveloperSQL Server 2025 Enterprise Developer edition
EvaluationSQL Server Evaluation edition
Deployment Parameters Parameter Description Default
deployment.enabledDeploy as Deployment true
deployment.replicaCountNumber of replicas 1
deployment.revisionHistoryLimitRevision history limit 3
deployment.updateStrategy.typeUpdate strategy Recreate
deployment.annotationsDeployment annotations {}
deployment.labelsDeployment labels {}
deployment.minReadySecondsMin seconds before pod is ready ""
Diagnostic Mode Parameter Description Default
diagnosticMode.enabledEnable diagnostic mode false
diagnosticMode.commandDiagnostic command ["sleep"]
diagnosticMode.argsDiagnostic args ["infinity"]
Container Parameters Parameter Description Default
commandOverride container command []
argsOverride container args []
containerPortSQL Server port 1433
extraContainerPortsAdditional container ports []
resourcesResource requests and limits {}
resourcesPresetResource preset (nano/micro/small/medium/large/xlarge/2xlarge) ""
lifecycleHooksLifecycle hooks {}
extraEnvVarsAdditional environment variables []
extraEnvVarsCMConfigMap name for envFrom ""
extraEnvVarsSecretSecret name for envFrom ""
extraVolumeMountsAdditional volume mounts []
extraVolumesAdditional volumes []
Probes
Default probes use TCP on port 1433. Override with custom*Probe or disable with diagnosticMode.
Parameter Description Default
livenessProbeDefault liveness probe tcpSocket on mssql
customLivenessProbeOverride liveness probe {}
readinessProbeDefault readiness probe tcpSocket on mssql
customReadinessProbeOverride readiness probe {}
startupProbeDefault startup probe tcpSocket on mssql
customStartupProbeOverride startup probe {}
Pod Parameters Parameter Description Default
podLabelsAdditional pod labels {}
podAnnotationsAdditional pod annotations {}
podSecurityContextPod security context {enabled: true, fsGroup: 10001}
containerSecurityContextContainer security context {enabled: true, runAsNonRoot: true, runAsUser: 10001, allowPrivilegeEscalation: false}
podAffinityPresetPod affinity preset (soft/hard) ""
podAntiAffinityPresetPod anti-affinity preset (soft/hard) ""
nodeAffinityPreset.typeNode affinity preset type ""
nodeAffinityPreset.keyNode affinity label key ""
nodeAffinityPreset.valuesNode affinity label values []
affinityFull affinity override {}
nodeSelectorNode selector {}
tolerationsTolerations []
topologySpreadConstraintsTopology spread constraints []
priorityClassNamePriority class name ""
schedulerNameScheduler name ""
terminationGracePeriodSecondsTermination grace period ""
dnsPolicyDNS policy ""
dnsConfigDNS configuration {}
hostNetworkUse host network false
initContainersInit containers []
sidecarsSidecar containers []
Service Account Parameter Description Default
serviceAccount.createCreate a ServiceAccount true
serviceAccount.nameServiceAccount name "" (generated)
serviceAccount.annotationsServiceAccount annotations {}
serviceAccount.automountServiceAccountTokenAutomount API token false
RBAC Parameter Description Default
rbac.createCreate RBAC resources false
rbac.clusterRole.rulesClusterRole rules []
rbac.role.rulesRole rules (namespace-scoped) []
Service Parameter Description Default
service.enabledCreate a Service true
service.typeService type ClusterIP
service.portService port 1433
service.targetPortTarget port mssql
service.nodePortNodePort (when type=NodePort) ""
service.clusterIPCluster IP (use None for headless) ""
service.loadBalancerIPLoad balancer IP ""
service.loadBalancerSourceRangesLoad balancer source ranges []
service.externalTrafficPolicyExternal traffic policy ""
service.annotationsService annotations {}
service.labelsService labels {}
service.extraPortsAdditional service ports []
PodDisruptionBudget Parameter Description Default
pdb.enabledEnable PDB false
pdb.minAvailableMinimum available pods ""
pdb.maxUnavailableMaximum unavailable pods 1
NetworkPolicy Parameter Description Default
networkPolicy.enabledEnable NetworkPolicy false
networkPolicy.policyTypesPolicy types [Ingress, Egress]
networkPolicy.ingressIngress rules []
networkPolicy.egressEgress rules []
networkPolicy.allowExternalDNSAllow DNS egress true
ServiceMonitor (Prometheus) Parameter Description Default
serviceMonitor.enabledEnable ServiceMonitor false
serviceMonitor.namespaceServiceMonitor namespace ""
serviceMonitor.portMetrics port mssql
serviceMonitor.pathMetrics path /metrics
serviceMonitor.intervalScrape interval 30s
serviceMonitor.scrapeTimeoutScrape timeout ""
serviceMonitor.labelsAdditional labels {}
serviceMonitor.annotationsAdditional annotations {}
serviceMonitor.relabelingsRelabeling rules []
serviceMonitor.metricRelabelingsMetric relabeling rules []
serviceMonitor.honorLabelsHonor labels false
ConfigMap Parameter Description Default
configMap.enabledCreate a ConfigMap false
configMap.dataConfigMap data (supports template expressions) {}
Persistence Parameter Description Default
persistence.enabledEnable persistence true
persistence.storageClassStorage class ""
persistence.accessModesAccess modes [ReadWriteOnce]
persistence.sizePVC size 8Gi
persistence.existingClaimUse existing PVC ""
persistence.mountPathMount path /var/opt/mssql
persistence.subPathVolume sub-path ""
persistence.annotationsPVC annotations {}
Deploy mssql with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mssql 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 server Connect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.Place the chart mssql is pinned at v1.0.22 in opentenant.yaml. Drag more apps from the marketplace onto a rack.Apply Save 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 Copy