Feast on Kubernetes
This page covers deploying Feast on Kubernetes, including the Feast Operator and feature servers.
Overview
Kubernetes is a common target environment for running Feast in production. You can use Kubernetes to:
Run Feast feature servers for online feature retrieval.
Run scheduled and ad-hoc jobs (e.g. materialization jobs) as Kubernetes Jobs.
Operate Feast components using Kubernetes-native primitives.
Feast Operator
To deploy Feast components on Kubernetes, use the included feast-operator.
For first-time Operator users, it may be a good exercise to try the Feast Operator Quickstart. The quickstart demonstrates some of the Operator's built-in features, e.g. git repos, feast apply jobs, etc.
Deploy Feast feature servers on Kubernetes
Basic steps
Install kubectl
Install the Operator
Install the latest release:
OR, install a specific version:
Deploy a Feature Store
Verify the status:
The above will install a simple FeatureStore CR like the following. By default, it will run the Online Store feature server:
More advanced FeatureStore CR examples can be found in the feast-operator samples directory.
Schedule FeatureStore pods on specific nodes
Use spec.services.nodeSelector to require labels on the nodes that run a FeatureStore. Use spec.services.tolerations to allow those pods onto nodes with matching taints (node conditions that repel pods). A toleration permits a matching taint; it does not select nodes by itself.
For example, the following places the FeatureStore on Linux nodes dedicated to Feast and permits the matching dedicated=feast:NoSchedule taint:
These settings apply to the FeatureStore Deployment's pod, including its init containers and every enabled Feast service container. A nodeSelector configured under an individual service's server block is merged with the shared selector and overrides services.nodeSelector for duplicate keys. Because enabled services share one pod, use services.nodeSelector for the common placement policy; avoid conflicting per-service selector values.
To confirm the resolved placement after reconciliation:
Upgrading the Operator
OLM-managed installations
If the operator was installed via OLM, upgrades are handled automatically. No manual steps are required — OLM recreates the operator Deployment during the upgrade process.
kubectl-managed installations
For most upgrades, re-running the install command is sufficient:
One-time step: upgrading from versions before 0.61.0
Version 0.61.0 updated the operator Deployment's spec.selector to include the app.kubernetes.io/name: feast-operator label, fixing a bug where the metrics service could accidentally target pods from other operators in shared namespaces.
Because Kubernetes treats spec.selector as an immutable field, upgrading directly from a pre-0.61.0 version with kubectl apply will fail with:
To resolve this, delete the existing operator Deployment before applying the new manifest:
This is only required once. Existing FeatureStore CRs and their managed workloads (feature servers, registry, etc.) are not affected — the new operator pod will reconcile them automatically on startup. Future upgrades from 0.61.0 onward will not require this step.
Sample scaling CRs are available at
v1_featurestore_scaling_static.yamlandv1_featurestore_scaling_hpa.yaml.
Last updated
Was this helpful?