Igloo Helm chart
Deploys Igloo, an open-source SQL warehouse: a PostgreSQL-protocol endpoint (port 5432) running DuckDB over Apache Iceberg tables in object storage, with the Lakekeeper Iceberg REST catalog bundled in the release.
SQL clients ──5432──> igloo pods (Deployment, N replicas) ──8181──> Lakekeeper (catalog) │ users: PostgreSQL schema "igloo_auth" │ catalog: PostgreSQL schema "public" └──────── table data ──> S3 / GCS / ADLS <───┘Igloo pods are stateless apart from DuckDB spill files (an emptyDir), so you
can run several behind one Service; they share the catalog and the users
database. Lakekeeper runs without authentication and is reachable only from
igloo pods.
The OpenTofu modules in deploy/aws, deploy/gcp and deploy/azure install
this chart for you, wired to managed PostgreSQL, object storage and cloud
identities. Use the chart directly for other clusters, on-prem, or development.
Requirements
Section titled “Requirements”- Kubernetes 1.25+ and Helm 3.8+ or Helm 4
- Igloo needs two things, from your infrastructure or bundled in the release:
- a warehouse location:
storage.warehouseLocation(s3://,gs://orabfss://), orobjectStorage.enabled=truefor a bundled RustFS - a PostgreSQL database:
metadataDatabase/catalog.database, orpostgresql.enabled=truefor a bundled PostgreSQL 17
- a warehouse location:
helm install with neither refuses to start and says what is missing. (So
that helm lint and helm template work on the bare chart, rendering the
defaults offline only prints a warning comment.)
Install
Section titled “Install”Everything bundled (development, small on-prem)
Section titled “Everything bundled (development, small on-prem)”helm install igloo deploy/helm/igloo --namespace igloo --create-namespace \ --set postgresql.enabled=true \ --set objectStorage.enabled=trueThe release then also runs a PostgreSQL StatefulSet and a RustFS (S3-compatible) StatefulSet, each with one PersistentVolumeClaim, and creates the bucket before Igloo creates its warehouse. Passwords and keys are generated.
Connect:
export PGPASSWORD="$(kubectl -n igloo get secret igloo -o jsonpath='{.data.admin-password}' | base64 --decode)"kubectl -n igloo port-forward service/igloo 5433:5432 &psql "host=127.0.0.1 port=5433 user=igloo dbname=igloo"External PostgreSQL and Amazon S3
Section titled “External PostgreSQL and Amazon S3”Create the Secrets, then install with a values file:
kubectl -n igloo create secret generic igloo-admin --from-literal=password="$(openssl rand -hex 16)"kubectl -n igloo create secret generic igloo-database \ --from-literal=url='postgresql://igloo:PASSWORD@db.example.com:5432/igloo?sslmode=require'kubectl -n igloo create secret generic igloo-catalog-encryption --from-literal=encryption-key="$(openssl rand -hex 24)"kubectl -n igloo create secret tls igloo-tls --cert=tls.crt --key=tls.keyadmin: existingSecret: igloo-adminmetadataDatabase: existingSecret: igloo-database # Lakekeeper uses it too unless catalog.database is setstorage: warehouseLocation: s3://my-bucket/warehouse s3: region: eu-west-1serviceAccount: name: igloo annotations: eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/igloocatalog: encryptionKey: existingSecret: igloo-catalog-encryption systemCredentials: aws # Lakekeeper uses its own IAM role serviceAccount: name: igloo-catalog annotations: eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/igloo-catalogtls: existingSecret: igloo-tlsservice: type: LoadBalancer loadBalancerSourceRanges: ["203.0.113.0/24"]Single sign-on
Section titled “Single sign-on”Register Igloo at the identity provider with the redirect URI
https://<console host>:8443/sso/callback, put the client secret in a
Secret, and add the sso values (details):
kubectl -n igloo create secret generic igloo-oidc --from-literal=client-secret='<client secret>'sso: issuer: https://agency.okta.com clientId: 0oa1b2c3d4 existingSecret: igloo-oidc allowedDomains: [agency.com]helm install igloo deploy/helm/igloo --namespace igloo --values values.yamlWith static keys instead of IAM roles, create a Secret with keys
access-key-id and secret-access-key, set storage.s3.existingSecret, and
leave catalog.systemCredentials at none: Lakekeeper then uses the same keys.
For S3-compatible stores also set storage.s3.endpoint (host:port),
storage.s3.urlStyle: path, and storage.s3.useSSL as needed.
Google Cloud Storage and Azure Data Lake Storage
Section titled “Google Cloud Storage and Azure Data Lake Storage”- GCS:
storage.warehouseLocation: gs://bucket/warehouse, an HMAC key instorage.gcs.existingSecret(keyshmac-key-id,hmac-secret) for DuckDB, andcatalog.systemCredentials: gcpwith Workload Identity oncatalog.serviceAccount. - ADLS Gen2:
storage.warehouseLocation: abfss://filesystem@account.dfs.core.windows.net/warehouse. Either an account key instorage.azure.existingSecret(keyaccount-key), or workload identity:catalog.systemCredentials: azure, theazure.workload.identity/client-idannotation on both service accounts andazure.workload.identity/use: "true"inpodLabelsandcatalog.podLabels.
The test values in deploy/helm/test-values/ mirror what the OpenTofu modules
pass for each cloud.
Operating
Section titled “Operating”- Secrets the chart generates (admin password, catalog encryption key,
erasure key, bundled PostgreSQL password, bundled object store keys) are stored in the
Secret named after the release (
igloo), are reused on every upgrade, and are kept byhelm uninstall(helm.sh/resource-policy: keep), as are the PersistentVolumeClaims, so reinstalling finds the data again. To remove everything:kubectl -n igloo delete secret igloo && kubectl -n igloo delete pvc -l app.kubernetes.io/instance=igloo. Never change the catalog encryption key once the catalog holds data. - Values from
existingSecretalways win over inline values. Pods do not restart when an existing Secret changes; runkubectl -n igloo rollout restart deploymentafter rotating one. The admin password is used only to create the admin on first start; change it later withALTER USER. Igloo creates the admin only with a password of 16 or more characters that is not a placeholder or easily guessed, and the chart refuses any otheradmin.password. Once the admin exists, a weaker password fromadmin.existingSecretonly logs a warning. To upgrade a release whoseadmin.passwordis shorter than 16 characters, move it into such a Secret, or give the admin a long password withALTER USERand setadmin.passwordto it. - Memory: unless
duckdb.memoryLimitis set, DuckDB gets what Igloo would give it ofresources.limits.memory(see sizing): about 73%, at least half (1Gi gives DuckDB 512MiB, 8Gi gives 6007MiB, 64Gi 48059MiB), and spills larger queries to/var/lib/igloo/tmp(duckdb.spillVolume). Keep a memory limit set: DuckDB allocates somewhat beyond its own limit, and spill files are written through the page cache, which counts against the container. - Spill disk: the spill
emptyDirlives in kubelet’s directory on the node, so queries that spill run at the speed of the disk under it. Put that on local NVMe where the cloud offers it: on EKS, instance-store types (r7gd,m7gd,c7gd) with nodeadm’slocalStoragestrategyRAID0; on GKE, Local SSD-backed ephemeral storage; on AKS, an ephemeral OS disk on a size with a local disk (Standard_E4pds_v6). The OpenTofu modules set this up (spill on local NVMe). Keepduckdb.spillVolume.sizeLimit, times the igloo pods per node, within what that disk holds. - Read cache: igloo pods keep the blocks of table files they read from
object storage on
/var/lib/igloo/cache(cacheVolume), so later statements, and prefetch reading ahead of scans, read local disk (read cache). By default it is anemptyDiron the node’s disk with asizeLimitof 50Gi (cacheVolume.sizeLimit), of which the cache takes up to 90%, and never more than half of the disk’s free space, so a small node disk is not filled; on a volume of its own (ephemeralorpersistentVolumeClaim,IGLOO_CACHE_DEDICATED) it fills to 90% of the volume.cacheVolume.type: ephemeralgives each pod a volume of its own fromcacheVolume.storageClass, made and deleted with the pod;persistentVolumeClaimkeeps the cache oncacheVolume.existingClaimacross restarts and scaling to zero, for a single igloo pod (replicaCount: 1, no autoscaling,strategy.type: Recreate). The volume’s file system must keep extended attributes, which the cache marks every block with: ext4, XFS or btrfs, as a node’s disk and block storage classes (gp3,pd-balanced,managed-csi) are, not a file share such as EFS, Filestore or Azure Files. Erasure requests have every running igloo pod empty it, and count a pod that is gone as holding nothing unless its cache is on a claim, which the pod empties when it starts again. - Startup: on first start Igloo waits up to 3 minutes for PostgreSQL and
the catalog, then bootstraps Lakekeeper and creates the warehouse; the
startup probe allows 5 minutes. On every start it also limits the
warehouse to Iceberg format versions 1 and 2, which erasure
requests can rewrite. With
IGLOO_CATALOG_SETUP=false(inextraEnv) it does neither and logs a warning: set the warehouse’s format-version policy in Lakekeeper yourself. - Scaling:
replicaCount, orautoscaling.enabledfor a CPU-based HPA, andscaleToZero.enabledto stop igloo pods when idle (see below). Replicas prefer different nodes.podDisruptionBudgetkeepsminAvailablepods during node drains; disable it with a single replica. - Metrics: Prometheus metrics at
:8080/metricsthrough the<release>-metricsClusterIP Service (never through the SQL Service), and the scale-to-zero gateway’s through<release>-gateway-metrics;metrics.serviceMonitor.enabled=truecreates a ServiceMonitor for both. - NetworkPolicy (on by default) restricts ingress only: Lakekeeper accepts
igloo pods; the bundled PostgreSQL and object store accept igloo and
Lakekeeper pods; igloo pods accept the SQL, console, Flight SQL, Iceberg REST
and metrics ports (narrow them with
networkPolicy.sqlFrom/metricsFrom). Engines in the cluster that use the bundled object store with the credentials the Iceberg REST catalog hands them neednetworkPolicy.objectStorageFrom. With scale to zero, those ports apply to the gateway, and igloo’s ports accept only the gateway. Egress is not restricted. Lakekeeper has no authentication: its management API, which can lift the warehouse’s limit on format versions, and its Iceberg REST API, which does not check what Igloo checks, are closed to everyone but igloo pods only by this policy. Keep it on, on a CNI that enforces NetworkPolicies; otherwise any pod in the cluster can change the catalog without Igloo, and what erasure requests rely on no longer holds. - Other engines: Spark, Trino, PyIceberg and others use Igloo’s tables
through its Iceberg REST catalog on
port 8181 of the SQL Service (
iceberg.enabled). On AWS, setstorage.s3.stsRoleArnto a role Igloo’s own role may assume, so that engines get credentials for one table at a time; S3-compatible stores need no role, and the bundled one onlynetworkPolicy.objectStorageFromfor the engines’ pods. - Security: every pod runs as non-root with a read-only root filesystem,
all capabilities dropped and the
RuntimeDefaultseccomp profile, which satisfies therestrictedPod Security Standard. Service account tokens are not mounted, except in the scale-to-zero gateway, which may only change the igloo Deployment’s replica count. - One database for both: Igloo keeps its users in schema
igloo_auth, Lakekeeper its catalog in schemapublic. Lakekeeper’s tables are unqualified, so the chart also pins itssearch_pathtopublic(PGOPTIONS=-c search_path=public); otherwise a database role named like another schema could redirect them. If a connection pooler rejects startup options, overridePGOPTIONSincatalog.extraEnv; just avoid naming the roleigloo_auth. - GitOps tools that render with
helm template(Argo CD) cannot read the live Secret, so generated values would change on every sync: setadmin.existingSecretandcatalog.encryptionKey.existingSecretthere. helm test igloologs in through the SQL Service with psql.
Scale to zero
Section titled “Scale to zero”With scaleToZero.enabled=true the release also runs Igloo’s
scale-to-zero gateway, and Igloo stops
when nobody uses it:
SQL clients ──5432──> Service igloo ──> gateway (1 pod) ──> Service igloo-server ──> igloo pods (0 to N) └── scales Deployment igloo through the Kubernetes API- The SQL Service keeps its name, type and load balancer settings but leads to the gateway, so clients keep their address. The gateway copies bytes: TLS and passwords stay end to end between clients and Igloo.
- After
scaleToZero.suspendAfterwithout client traffic, running statements or table maintenance, the gateway scales the igloo Deployment to zero. The next connection scales it back toscaleToZero.replicas(by defaultreplicaCount) and waits until Igloo accepts it, at mostscaleToZero.resumeTimeout. Clients need a connect timeout that allows for this (libpq’sconnect_timeout, for example). Open sessions end when Igloo stops; connection pools should check connections before use. - Tasks, pipes and materialized views that are due start Igloo too, with nobody connected (details). A gateway pod that starts while Igloo is at zero scales it up once to learn when work is due.
- The chart no longer sets the Deployment’s replica count, so
helm upgradeleaves it where the gateway put it. A new release starts with one igloo pod until the gateway first stops it. - The saving comes from nodes: put igloo on a node pool the cluster
autoscaler can shrink to zero (
nodeSelector,tolerations), and the gateway on an always-on one (scaleToZero.nodeSelector,tolerations,affinity). - With
autoscaling.enabled, the HorizontalPodAutoscaler pauses while the Deployment is at zero and takes over after a start.scaleToZero.replicasthen defaults toautoscaling.minReplicasand must lie between it andmaxReplicas. The PodDisruptionBudget does not hold the gateway back: scaling is not an eviction. - The gateway’s service account may only get and patch the scale
subresource of the igloo Deployment. Alert on
igloo_gateway_resumes_total{result="failure"}: clients cannot connect while starts fail.
Compute pools
Section titled “Compute pools”pools adds compute pools, “virtual warehouses”: more igloo Deployments
that share the release’s catalog, metadata database (users, grants, query
history) and warehouse, each with its own size, replicas and scale-to-zero
settings, so a client or team gets compute, and a bill, of its own
(workload management).
pricePerHour: 0.68 # the release's own pods: the "default" poolpools: - name: acme replicaCount: 1 pricePerHour: 2.72 resources: requests: { cpu: "16", memory: 64Gi } limits: { memory: 64Gi } scaleToZero: { enabled: true, suspendAfter: 15m } nodeSelector: { node-pool: igloo-large }clients of acme ──> Service igloo-pool-acme ──> gateway ──> Deployment igloo-pool-acme (0 to N pods) ─┐other clients ──> Service igloo ─────────────────────────> Deployment igloo (the default pool) ─────┴─> catalog, metadata database, warehouse- Each pool gets a Deployment and SQL Service named
<release>-pool-<name>, a<release>-pool-<name>-metricsService (scraped by the ServiceMonitor too), NetworkPolicies, and withscaleToZero.enabledits own gateway, Services and RBAC, which start and stop only that pool. Its pods have the component labelpool-<name>, so no Service or Deployment of another pool selects them; the catalog, bundled PostgreSQL and object store accept them. - A pool takes every value it does not set from the release’s:
image,admin, storage, databases, TLS,console,networkPolicy,service,duckdb,resources, scheduling and the rest.extraEnvadds to the release’s. Pools can setreplicaCount,pricePerHour,resources,duckdb,statementTimeout,maxConnections,extraEnv,podLabels,podAnnotations,nodeSelector,tolerations,affinity,topologySpreadConstraints,priorityClassName,serviceandscaleToZero. - Pods know their pool from
IGLOO_POOL, and record it with every statement inigloo.query_historyandigloo.usage. SetpricePerHourper pool to what its nodes cost, for the cost estimates. - Pools never run table maintenance, which stays with the release’s own Deployment, and have no HorizontalPodAutoscaler or PodDisruptionBudget.
- Names are 1 to 20 lowercase letters, digits and hyphens;
defaultis the release’s own Deployment.
Distributed execution
Section titled “Distributed execution”By default, statements that read very large tables run in parts on worker pods
(distributed execution).
No worker machine starts until a statement is worth one, so a deployment with no
heavy queries pays nothing for them; each running worker then costs its machine’s
price, and stops when idle. workers.enabled=false leaves them out.
igloo pods ──TLS, port 7433──> Service igloo-workers (headless) ──> worker pods (0 to workers.maxReplicas) └── scale Deployment igloo-workers through the Kubernetes API- The worker Deployment starts with no pods. An igloo pod scales it up when
a statement is worth distributing (never down while another igloo pod uses
the workers), and to zero once every worker has been idle for
workers.idleAfter. A statement waits for workers at mostworkers.startTimeout, then runs on its igloo pod instead. - Give workers their own node pool with a minimum size of zero
(
workers.nodeSelector,workers.tolerations), so idle workers cost nothing; by default they prefer one per node. - Workers use the igloo pods’ service account (and so their cloud identity
for object storage) without a Kubernetes API token. The igloo pods get a
token, for a Role that may only get and patch the workers’
scalesubresource. - Igloo pods and workers authenticate each other with the worker secret
(generated and kept, or
workers.existingSecret); the NetworkPolicy also admits only igloo pods to the task port. Port 8080 serves health checks and metrics through<fullname>-workers-metrics, which the ServiceMonitor scrapes too; the NetworkPolicy admits pods of the namespace to it, ornetworkPolicy.metricsFromif set. - Give the warehouse’s bucket a lifecycle rule that expires
<warehouse>/_igloo_shuffle/after a day (how). - Every compute pool gets workers of its own,
<fullname>-pool-<name>-workers, used only by its igloo pods and admitted only from them; a pool can setworkers(maxReplicas,resources,nodeSelectorand the rest), orworkers.enabled: falseto run without. Each pool’s workers have a secret of their own (generated asworker-secret-<name>, or the pool’sworkers.existingSecret), so a pool’s igloo pods cannot use another pool’s workers; with several pools, run a CNI that enforces NetworkPolicies, which keep them apart too. - With
scaleToZero.enabled, the gateway stops the workers along with the igloo pods. workers.pricePerHouris what one worker’s machine costs an hour (IGLOO_WORKER_PRICE_PER_HOUR), for auto mode’s cost estimates. Left at 0, the list price ofworkers.instanceTypestands for it, on Spot withworkers.spot, inworkers.region, from Igloo’s built-in table (see prices); the same goes forworkers.large.pricePerHour,instanceTypeandspot. The OpenTofu modules set the instance types, Spot and region.
A large worker
Section titled “A large worker”With workers.large.enabled=true (and workers.enabled), the chart adds a
second worker Deployment, <fullname>-workers-large, of one pod on a large
machine. Auto mode may run a whole statement on it instead of on many
small workers or an igloo pod, when its estimate (fits in memory, no
spill, price) is about as fast as the fastest option and cheaper:
workers: enabled: true pricePerHour: 0.31 # one small worker's machine large: enabled: true pricePerHour: 4.35 # the large worker's machine resources: requests: { cpu: "60", memory: 448Gi } limits: { memory: 448Gi } duckdb: spillVolume: { sizeLimit: 1900Gi } cacheVolume: { sizeLimit: 850Gi } nodeSelector: { pool: igloo-large-worker } # a node pool that scales to zero- It runs
igloo workerfrom the same image, with the workers’ secret, storage settings and exchanges, and its own resources, volumes, scheduling, labels and grace period (nothing ofworkers.*but those is taken). It starts at zero pods; igloo starts it when it picks it and stops it when idle, as it does the other workers. - The chart adds its headless Service, metrics Service, a Role that lets
igloo pods scale only it, and a NetworkPolicy like the workers’. The
igloo pods get
IGLOO_LARGE_WORKER(<fullname>-workers-large:7433),IGLOO_LARGE_WORKER_COMPUTE=kubernetes,IGLOO_LARGE_WORKER_K8S_DEPLOYMENT,IGLOO_LARGE_WORKER_CORES(whole cores ofrequests.cpu),IGLOO_LARGE_WORKER_MEMORY(its DuckDB memory limit,workers.large.duckdb.memoryLimitor about 73% ofresources.limits.memory, for estimates while it is stopped) andIGLOO_LARGE_WORKER_PRICE_PER_HOUR. - Each compute pool with workers gets a large worker of its own,
<fullname>-pool-<name>-workers-large, from the release’sworkers.largewith the pool’sworkers.largeon top; a pool setsworkers.large.enabled: falseto run without. WithscaleToZero.enabled, the gateway stops it with the pool (IGLOO_GATEWAY_K8S_LARGE_WORKER_DEPLOYMENT). - Give it a node pool of its own with a minimum size of zero, so it costs
nothing while stopped. The OpenTofu modules provision one with
large_worker_enabled = true.
Values
Section titled “Values”| Key | Default | Description |
|---|---|---|
image. |
ghcr. |
Igloo image |
image. |
"" |
Image tag; empty uses the chart’s appVersion. A sha256: digest also works. |
image. |
IfNotPresent |
|
imagePullSecrets |
[] |
Pull secrets for every pod of the chart |
nameOverride, fullnameOverride |
"" |
Resource names. Release igloo gives Service igloo. |
replicaCount |
2 |
Igloo pods (ignored with autoscaling.; with scaleToZero., what the gateway starts) |
admin. |
igloo |
IGLOO_ |
admin. |
"" |
Secret with key password for IGLOO_ |
admin. |
"" |
Inline password: 16+ characters, not a placeholder such as change-me or easily guessed. Generated (32 characters) and kept when both are empty |
metadataDatabase. |
"" |
Secret with key url for IGLOO_ |
metadataDatabase. |
"" |
Inline postgresql:// URL. Empty: catalog., or the bundled PostgreSQL. |
storage. |
"" |
IGLOO_; defaults to s3:// with objectStorage. |
storage. |
[] |
IGLOO_ |
storage. |
"" |
IGLOO_ (host:port); empty means AWS |
storage. |
us-east-1 |
IGLOO_ |
storage. |
vhost |
IGLOO_: vhost or path |
storage. |
true |
IGLOO_ |
storage. |
"" |
Keys access-key-id, secret-access-key. Empty: AWS credential chain (IRSA) and catalog.. |
storage. |
"" |
IGLOO_: role Igloo assumes to hand other engines credentials limited to one table. Empty on AWS: engines get metadata but no credentials. |
storage. |
"" |
Keys hmac-key-id, hmac-secret for IGLOO_; required for gs:// |
storage. |
"" |
Key account-key for IGLOO_. Empty: workload identity. |
duckdb. |
"" |
IGLOO_, e.g. 6GB. Empty: about 73% of resources., at least half (see Memory, above). |
duckdb. |
null |
IGLOO_; null: two per core, as memory allows |
duckdb. |
"" |
IGLOO_; empty: 90% of duckdb., so an oversized query fails instead of the pod being evicted |
duckdb. |
50Gi |
Size of the spill emptyDir |
duckdb. |
"" |
"" (node disk, kubelet’s directory; see Spill disk above) or Memory |
cacheVolume. |
emptyDir |
The read cache’s volume (see Read cache above): emptyDir, ephemeral (a volume per pod, deleted with it) or persistentVolumeClaim (one igloo pod; sets IGLOO_) |
cacheVolume. |
50Gi |
The emptyDir’s sizeLimit or the ephemeral volume’s size; IGLOO_ is 90% of it. On an emptyDir the cache never takes more than half of the disk’s free space; ephemeral and claims set IGLOO_. Empty: no emptyDir limit, and a cache of up to 100 GiB. Required with ephemeral. |
cacheVolume. |
"" |
ephemeral: the volume’s storage class, one with extended attributes; empty for the cluster’s default |
cacheVolume. |
"" |
persistentVolumeClaim: the claim, ReadWriteOnce |
tls. |
"" |
kubernetes. Secret; sets IGLOO_ / IGLOO_ |
statementTimeout |
"" |
IGLOO_, e.g. 30m; empty: no limit |
maxConnections |
100 |
IGLOO_ per pod |
shutdownDelay |
5s |
IGLOO_: how long a stopping pod keeps accepting connections while reporting not ready |
maintenance. |
true |
IGLOO_: automatic compaction, snapshot expiry and orphan file cleanup |
maintenance. |
7d |
IGLOO_: how long snapshots, and so time travel, are kept |
log. |
text |
IGLOO_: text or json |
log. |
info |
IGLOO_ |
extraEnv |
[] |
Extra EnvVars for the igloo container (any IGLOO_ setting) |
serviceAccount. |
true |
|
serviceAccount. |
"" |
Defaults to the release fullname |
serviceAccount. |
{} |
e.g. eks., iam., azure. |
podLabels, podAnnotations |
{} |
Added to igloo pods |
nodeSelector, tolerations, topologySpreadConstraints, priorityClassName |
Igloo pod scheduling | |
affinity |
{} |
Empty: prefer one igloo pod per node |
podSecurityContext, securityContext |
non-root 65532, read-only root, no capabilities | Igloo pod and container security contexts |
resources |
requests 2 CPU / 8Gi, limit 8Gi |
Passed through unchanged (including ephemeral-storage) |
terminationGracePeriodSeconds |
45 |
Igloo gives running queries 30 s after SIGTERM |
lifecycle |
{} |
e.g. {preStop: {sleep: {seconds: 5}}} on Kubernetes 1.30+ |
strategy |
RollingUpdate, maxSurge 1, maxUnavailable 0 | |
startupProbe, livenessProbe, readinessProbe |
/, /, / on port 8080 |
|
service. |
ClusterIP |
LoadBalancer exposes SQL outside the cluster; set tls. first |
service. |
5432 |
|
console. |
true |
Web console on the SQL Service; it signs users in only over TLS or through kubectl port-forward |
console. |
8443 |
Console port on the SQL Service |
flightSQL. |
true |
Arrow Flight SQL on the SQL Service; it serves clients only over TLS or through kubectl port-forward |
flightSQL. |
31337 |
Flight SQL port on the SQL Service |
sso. |
"" |
Single sign-on: the OpenID Connect provider’s issuer URL (IGLOO_). Empty: off. |
sso. |
"" |
IGLOO_; required with sso. |
sso. |
"" |
Secret with key client-secret, mounted as IGLOO_. Empty for a public client. |
sso. |
"" |
https:// as registered at the provider; empty: from each request |
sso. |
[openid, |
Add groups where the provider needs it |
sso., sso. |
email, groups |
preferred_ for Microsoft Entra ID |
sso., sso. |
[] |
Only these email domains, and members of these groups, may sign in. Google needs allowedDomains. |
sso. |
true |
Create users, role none, at their first sign-in |
sso. |
true |
false: users linked to the provider may not use passwords |
sso. |
SSO |
Label of the sign-in button |
sso. |
"" |
Accept the provider’s access tokens for this audience as SQL passwords, inside TLS |
sso. |
"" |
Claim holding the account’s immutable ID in access tokens whose subject is not the ID token’s: uid for Okta, oid for Entra ID |
tokenMaxLifetime |
365d |
Longest lifetime of an access token (IGLOO_) |
iceberg. |
true |
Iceberg REST catalog for other engines on the SQL Service; without TLS it serves clients on private networks only |
iceberg. |
8181 |
Iceberg REST port on the SQL Service |
service. |
{} |
|
service. |
[] |
Client CIDRs allowed through a LoadBalancer |
service., service. |
"" |
|
autoscaling. |
false |
CPU-based HorizontalPodAutoscaler |
autoscaling. / maxReplicas |
2 / 10 |
|
autoscaling. |
70 |
|
podDisruptionBudget. |
true |
|
podDisruptionBudget. |
1 |
|
scaleToZero. |
false |
Run the scale-to-zero gateway behind the SQL Service |
scaleToZero. |
10m |
IGLOO_: stop igloo after this long without client traffic or running work |
scaleToZero. |
5m |
IGLOO_: how long a connecting client waits for igloo to start |
scaleToZero. |
30s |
IGLOO_: how long a client has to send its first bytes before the gateway closes it, starting nothing |
scaleToZero. |
200 |
IGLOO_: connections that may wait at once for their first bytes or for igloo to start |
scaleToZero. |
null |
Igloo pods the gateway starts; null: replicaCount, or autoscaling. with autoscaling. |
scaleToZero. |
50m / 64Mi, limit 256Mi |
Gateway container |
scaleToZero., tolerations, affinity |
Gateway pod scheduling, separate from igloo’s | |
pricePerHour |
0 |
IGLOO_: what one igloo pod’s machine costs an hour, for igloo.; 0 is unknown |
pools |
[] |
Compute pools, each with name and the overrides listed there |
workers. |
true |
Distributed execution on worker pods, of which none run until a statement is worth it |
workers. |
16 |
IGLOO_: the most worker pods igloo starts |
workers. |
auto |
IGLOO_: stop workers after this long without tasks; auto for three times their last start, from 2 to 10 minutes |
workers. |
3m |
IGLOO_: how long a statement waits for workers to start |
workers. |
auto |
IGLOO_: where workers exchange rows: object storage, local disks, or auto, their disks where each has 1 GiB of room and object otherwise, or with a spill volume of medium Memory; unless object, workers may reach each other’s task port and the spill volume is split 60% spill, 30% exchanges (docs) |
workers. |
auto |
IGLOO_: whether workers write a table’s files for statements that fill it from a query, under a directory of the statement’s, which igloo pods commit after checking each file (docs); auto is on where workers hold nothing of the igloo pods’ right to write the warehouse: an account or keys of their own (the next two rows), and no key they share, as the bundled store’s; true or false otherwise |
workers. / name / annotations |
false / <fullname>-worker / {} |
The workers’ own service account, whose cloud identity should read the warehouse and write only , and igloo-write-* directories under tables’ locations unless storage. is set; the OpenTofu modules make it. Without create or name, workers use the igloo pods’ account, with its right to write the whole warehouse |
workers., gcs, azure |
"" |
Static keys for workers in place of storage., for the same reason |
workers. |
"" |
Secret with key secret (32+ characters) for IGLOO_; generated and kept when empty |
workers., threads |
"", null |
As duckdb., from workers.; null threads: four per core |
workers. / medium |
100Gi / "" |
Workers’ spill emptyDir; IGLOO_ is 90% of it |
workers. |
50Gi |
Workers’ read cache emptyDir; the cache may use 90% of it, and at most half of the disk’s free space |
workers. |
requests 4 CPU / 16Gi, limit 16Gi |
Worker container |
workers., podAnnotations, nodeSelector, tolerations |
Worker pods | |
workers. |
{} |
Empty: prefer one worker per node |
workers. |
125 |
A stopping worker takes no more tasks, finishes those running and serves the exchange files on its disk until the statements reading them end, for up to 110s, as when a Spot node is drained before it is reclaimed |
workers. |
0 |
IGLOO_: what one worker’s machine costs an hour, for auto mode’s estimates; 0 is unknown |
workers. |
false |
A large worker: <fullname>-workers-large, one pod; needs workers. |
workers. |
0 |
IGLOO_: what the large worker’s machine costs an hour |
workers. |
requests 60 CPU / 448Gi, limit 448Gi |
Large worker container; requests. gives IGLOO_ |
workers., threads, spillVolume |
"", null, 1000Gi |
As workers.; the memory limit is also IGLOO_ |
workers. |
500Gi |
Large worker’s read cache emptyDir |
workers., podAnnotations, nodeSelector, tolerations, affinity, terminationGracePeriodSeconds |
Large worker pod; its own, not the workers’ | |
metrics. |
false |
Needs the Prometheus Operator CRDs |
metrics., scrapeTimeout, labels |
30s, "", {} |
|
networkPolicy. |
true |
Ingress policies described above |
networkPolicy., networkPolicy. |
[] |
NetworkPolicy peers for the SQL, console, Flight SQL and Iceberg REST ports (5432, 8443, 31337, 8181) and for 8080; empty: everyone |
networkPolicy. |
[] |
NetworkPolicy peers, besides igloo and Lakekeeper, for the bundled object store: engines using the Iceberg REST catalog’s credentials; empty: none |
catalog. / tag / pullPolicy |
quay. / v0. / IfNotPresent |
|
catalog. |
1 |
Lakekeeper pods (a PodDisruptionBudget is added above 1) |
catalog. |
igloo |
IGLOO_ |
catalog. |
"" |
Secret with key url for LAKEKEEPER__ |
catalog. |
"" |
Inline URL. Empty: metadataDatabase, or the bundled PostgreSQL. |
catalog. |
"" |
Secret with key encryption-key; generated and kept when empty |
erasure. |
"" |
Secret with key key for IGLOO_, which seals erasure requests’ identifiers; generated and kept when empty |
catalog. |
none |
none, aws, gcp or azure: Lakekeeper uses its own cloud identity |
catalog. / name / annotations |
true / <fullname>-catalog / {} |
|
catalog., podAnnotations, nodeSelector, tolerations, affinity |
Lakekeeper pods | |
catalog. |
[] |
Extra LAKEKEEPER__ settings |
catalog. |
250m / 256Mi, limit 512Mi |
|
postgresql. |
false |
Bundled PostgreSQL (development and on-prem) |
postgresql. |
postgres:17 |
|
postgresql. / storageClass |
10Gi / "" |
|
postgresql. |
250m / 256Mi, limit 1Gi |
|
objectStorage. |
false |
Bundled RustFS (development and on-prem) |
objectStorage. |
rustfs/ |
|
objectStorage. |
igloo |
Bucket created before Igloo starts |
objectStorage. / storageClass |
50Gi / "" |
|
objectStorage. |
250m / 512Mi, limit 2Gi |
|
objectStorage. |
curlimages/ |
Image of the bucket-creating init container |
tests. |
postgres:17 |
Image of the helm test pod |
values.schema.json checks types and enumerations, so typos in keys fail
early.
Testing the chart
Section titled “Testing the chart”deploy/helm/template-test.sh renders the chart with compute pools
(test-values/pools.yaml) and with workers and a large worker
(test-values/large-worker.yaml) and checks the objects it makes, and that
it refuses pools and large workers that cannot work; it needs only helm.
deploy/helm/e2e.sh creates a kind cluster named igloo-e2e, builds and loads
igloo:dev, installs the chart in bundled mode with two replicas and checks
SQL through the Service and through each pod, roles, health and metrics, the
network policies, helm test, an upgrade, uninstall/reinstall, and scale to
zero: the gateway stops igloo when idle, helm upgrade leaves it stopped, and
a client connection starts it again. It needs only Docker and deletes the
cluster when done (KEEP_CLUSTER=1 keeps it).