GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(operator): Add tolerations and nodeSelector to the FeatureStore CR by ShumzZzZz · Pull Request #6741 · feast-dev/feast

feat(operator): Add tolerations and nodeSelector to the FeatureStore CR #6741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
ntkathole merged 2 commits into feast-dev:master from ShumzZzZz:feat_operator_add_toleration_nodeselector_to_featurestore_cr
Aug 21, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

feat(operator): Add tolerations and nodeSelector to the FeatureStore CR #6741

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2 commits
Select commit Hold shift + click to select a range
6d92d3f
feat(operator): Add tolerations and nodeSelector to the FeatureStore CR
ShumzZzZz Aug 14, 2026
847e11b
Merge branch 'feast-dev:master' into feat_operator_add_toleration_nod…
ShumzZzZz Aug 21, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

18 changes: 9 additions & 9 deletions 18 .secrets.baseline
Show comments
View file
Open in desktop

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

42 changes: 42 additions & 0 deletions 42 docs/how-to-guides/feast-on-kubernetes.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,48 @@ batch jobs, and more via the operator, see the
[Operator Configuration Guides](feast-operator/README.md).
{% endhint %}

## 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:

```yaml
apiVersion: feast.dev/v1
kind: FeatureStore
metadata:
name: sample
spec:
feastProject: my_project
services:
nodeSelector:
kubernetes.io/os: linux
workload: feast
tolerations:
- key: dedicated
operator: Equal
value: feast
effect: NoSchedule
```

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:

```sh
kubectl get deployment feast-sample -o jsonpath='{.spec.template.spec.nodeSelector}'
kubectl get deployment feast-sample -o jsonpath='{.spec.template.spec.tolerations}'
```

## Upgrading the Operator

### OLM-managed installations
Expand Down
9 changes: 9 additions & 0 deletions 9 infra/feast-operator/api/v1/featurestore_types.go
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,15 @@ type FeatureStoreServices struct {
// pod anti-affinity rule to prefer spreading pods across nodes.
// +optional
Affinity *corev1.Affinity `json:"affinity,omitempty"`
// Tolerations are applied to the FeatureStore deployment pods, allowing them to
// be scheduled onto nodes with matching taints.
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// NodeSelector is a selector which must be true for the FeatureStore deployment
// pods to fit on a node. This selector must match a node's labels for the pod to
// be scheduled on that node.
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// ResourceClaims defines which ResourceClaims must be allocated
// and reserved before the Pod is allowed to start. The resources
// will be made available to those containers which consume them
Expand Down
14 changes: 14 additions & 0 deletions 14 infra/feast-operator/api/v1/zz_generated.deepcopy.go
Show comments
View file
Open in desktop

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

9 changes: 9 additions & 0 deletions 9 infra/feast-operator/api/v1alpha1/featurestore_types.go
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,15 @@ type FeatureStoreServices struct {
RunFeastApplyOnInit *bool `json:"runFeastApplyOnInit,omitempty"`
// Volumes specifies the volumes to mount in the FeatureStore deployment. A corresponding `VolumeMount` should be added to whichever feast service(s) require access to said volume(s).
Volumes []corev1.Volume `json:"volumes,omitempty"`
// Tolerations are applied to the FeatureStore deployment pods, allowing them to
// be scheduled onto nodes with matching taints.
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// NodeSelector is a selector which must be true for the FeatureStore deployment
// pods to fit on a node. This selector must match a node's labels for the pod to
// be scheduled on that node.
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
}

// OfflineStore configures the offline store service
Expand Down
14 changes: 14 additions & 0 deletions 14 infra/feast-operator/api/v1alpha1/zz_generated.deepcopy.go
Show comments
View file
Open in desktop

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.