Prerequisites
- Kubernetes 1.28 or later. The CRDs use CEL transition rules for field immutability.
- Helm installed on the machine or automation that deploys the Firebolt Operator.
- Access to the OCI Helm chart registry that hosts the Firebolt Operator charts.
- Engine nodes that run Linux kernel 6.1 or later. See Kernel requirement.
- Engine nodes that provide a locked-memory (
memlock) limit of at least 8 GiB. See Engine node requirements.
Kernel requirement
The engine usesio_uring for asynchronous I/O, so every engine node must run Linux kernel 6.1 or later. On older kernels, such as 5.10, engines crash-loop at startup.
Check the kernel version on an engine node:
Engine node requirements
When an engine starts, it locks memory forio_uring, so it needs a memlock limit of at least 8 GiB. Each engine pod takes that limit from containerd, the container runtime on its node. If the limit is too low, the engine crashes at startup with this error:
infinity or a value in bytes. Anything that is infinity or at least 8 GiB (8589934592 bytes) is enough, and that node needs no further change. Some node images already provide a high enough limit, while others default to around 8 MiB, which is far too low.
If the limit is too low, raise memlock on the container runtime (containerd) with a systemd drop-in:
infinity is simplest. A bounded value such as LimitMEMLOCK=8G also works, as long as it is at least 8 GiB. Reload systemd, restart containerd, and confirm the limit:
Amazon EKS
If you are using the Amazon EKS AMI, thememlock limit is already infinity, so you don’t need to change anything on your engine nodes.
If you are using a different OS, you need to verify the setting. One way to configure it on AWS is via an EC2 user-data script.
Google GKE
GKE node system configuration does not exposememlock, so apply the drop-in with a privileged DaemonSet that writes it to each node and restarts containerd. The DaemonSet reapplies it to new nodes as they join, which covers upgrades and autoscaling:
containerd also restarts this pod, and the check lets the replacement pod skip a second restart once the limit is already in place.
GKE Autopilot blocks privileged DaemonSets, so you cannot use this approach there directly. Either request a privileged-workload allowlist (--autopilot-privileged-admission) or run your engine node pool on GKE Standard.
Microsoft Azure (AKS)
AKS does not exposeLimitMEMLOCK through its supported node configuration, so apply the same privileged DaemonSet shown for Google GKE, or bake the drop-in into a custom node image. Either way, it reapplies automatically to nodes added by node image upgrades and cluster autoscaling, so you do not have to touch nodes by hand.
Install the CRDs
The Firebolt Operator comes with three CustomResourceDefinitions:FireboltInstanceFireboltEngineFireboltEngineClass
crds/ directory. If you would like to learn more about the
pros and cons of each option, please refer to the Helm chart best practices for CRDs.
Option 1 (recommended): Separate CRD chart
Install the CRD chart before installing the Firebolt Operator chart. This is the recommended option as it allows you full control over the CRDs lifecycle.Option 2: Firebolt Operator chart crds/ directory
The Firebolt Operator chart bundles CRDs in its crds/ directory. Helm gives this
directory special handling: on helm install, CRDs in crds/ are installed
before the chart templates are rendered. If a CRD already exists, Helm skips it
with a warning. You can opt out of this bundled CRD installation with
--skip-crds.
Helm does not upgrade or delete CRDs from a chart’s crds/ directory (this is
the trade-off the Helm CRD best practices caution against for ongoing use).
Prefer Option 1 for any deployment that will need to upgrade the operator over time.
Install the Firebolt Operator
Install the Firebolt Operator controller:--skip-crds if you chose the bundled crds/ directory option above.
The oci.firebolt.io host is Firebolt’s Scarf gateway. It records the requested chart version and platform and redirects to GitHub Container Registry. To bypass the gateway, replace oci://oci.firebolt.io with oci://ghcr.io.
By default, the operator also sends one anonymous aggregate usage event to Scarf at most once per day. The event contains operator and engine versions, Kubernetes minor version, OS and architecture, and bucketed instance, engine, and replica counts. It contains no names, stable identifiers, query data, schemas, connection parameters, secrets, or configuration. As with any network request, the source IP is visible to Scarf; Scarf may use it to infer the company and does not store it.
Set --set telemetry.enabled=false to disable runtime telemetry and switch the default operator and engine image repositories to GHCR. Images explicitly configured in Helm values, FireboltEngine, or FireboltEngineClass resources are preserved. To bypass Scarf for the chart download too, install from oci://ghcr.io/firebolt-db/helm-charts; Helm selects the chart repository before reading chart values. DO_NOT_TRACK=1 and SCARF_NO_ANALYTICS=1 disable runtime events only.
Multi-tenant install: scope the Firebolt Operator to specific namespaces
By default the Firebolt Operator watches every namespace and the chart renders aClusterRole plus ClusterRoleBinding so it can read and
write the resources it manages anywhere in the cluster. If you only
want the Firebolt Operator to act in a fixed set of namespaces, list
them under watchNamespaces:
Role plus RoleBinding in each listed
namespace (carrying the same rule set the ClusterRole would have)
and starts the manager with --namespaces=tenant-a,tenant-b so its
cache only spans those namespaces. The Firebolt Operator’s blast
radius is bounded to that list; CRs created in other namespaces are
silently ignored.
To onboard a new tenant namespace, add it to watchNamespaces and
re-run helm upgrade. The new Role and RoleBinding land in the
new namespace and the manager restart picks up the extended flag.
If you also need the apiserver pod-proxy permission (because you set
FireboltInstance.spec.metricScrapeMode=ApiserverProxy on any
instance), enable the matching opt-in:
ClusterRole (or per-namespace Role when
watchNamespaces is set) that grants only pods/proxy: get. The
default metricScrapeMode=PodIP does not need this permission.
Split CR ownership between installs with a label selector
A cluster-wide install can coexist with namespace-scoped installs by ignoring the CRs those installs own. Give the cluster-wide install a selector that excludes the label the scoped installs stamp on their CRs:--watch-label-selector in the flag table below for the
exact scope). Three rules keep a split-ownership cluster healthy:
- Label whole stacks. CRs that reference each other (an engine and the instance or engine class it points at) must land on the same side of the selector. Never label individual CRs out of a stack.
- One install per namespace. Leader election uses a fixed lease ID, so two operator releases deployed into the same namespace contend for one lease and only one of them ever runs. Give every install its own release namespace.
- The selector is not an isolation boundary. RBAC is governed by
watchNamespacesalone, and the chart registers admission webhooks cluster-wide: every install withwebhook.enabled=truevalidates every Firebolt CR in the cluster, whatever its selector says. This is deliberate. Kubernetes could scope the webhook itself (anobjectSelectoron the webhook configuration, or a label check inside the handler), but the chart does not wire the cache selector into either: selector-scoped installs run webhook-less, so the cluster-wide install’s webhook is the only admission validation their CRs receive, and filtering it by the same selector would silently remove that. Enable webhooks on at most one install, and make it the cluster-wide one (emptywatchNamespaces): the validators read live API state in whatever namespace a CR is admitted in, which needs the chart’sClusterRole. A namespace-scoped install serving webhooks would fail admission for CRs outside its namespaces under the defaultfailurePolicy: Fail.
Firebolt Operator flags
The Firebolt Operator supports these runtime flags. The binary default is what the manager uses when you run it directly. The Helm chart default is what thefirebolt-operator chart passes with its default values.yaml.
Next step
After installation, follow the quickstart to create your firstFireboltEngine.