feat: Add nodeSelector to service config#5675
Merged
franciscojavierarceo merged 7 commits intofeast-dev:masterfrom Oct 21, 2025
Merged
feat: Add nodeSelector to service config#5675franciscojavierarceo merged 7 commits intofeast-dev:masterfrom
franciscojavierarceo merged 7 commits intofeast-dev:masterfrom
Conversation
Signed-off-by: Blake <[email protected]>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for configuring nodeSelector on Feast service deployments within the Kubernetes operator, enabling users to control pod placement on specific nodes.
Key Changes:
- Added
nodeSelectorfield toOptionalCtrConfigsstruct in the API - Implemented logic to apply node selectors to pod specifications
- Added comprehensive test coverage for node selector behavior
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
api/v1alpha1/featurestore_types.go |
Added NodeSelector field to OptionalCtrConfigs struct |
api/v1alpha1/zz_generated.deepcopy.go |
Generated deep copy logic for the new NodeSelector field |
config/crd/bases/feast.dev_featurestores.yaml |
Updated CRD schema to include nodeSelector field definitions |
docs/api/markdown/ref.md |
Updated API documentation to reflect new nodeSelector field |
internal/controller/services/services.go |
Implemented node selector retrieval and application logic |
internal/controller/services/services_test.go |
Added comprehensive test cases for node selector functionality |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Signed-off-by: Blake <[email protected]>
Signed-off-by: Blake <[email protected]>
Signed-off-by: Blake <[email protected]>
Signed-off-by: Blake <[email protected]>
franciscojavierarceo
pushed a commit
that referenced
this pull request
Oct 27, 2025
# [0.56.0](v0.55.0...v0.56.0) (2025-10-27) ### Bug Fixes * Add mode field to Transformation proto for proper serialization ([2390d2e](2390d2e)) * Date wise remote offline store historical data retrieval ([#5686](#5686)) ([949ba3d](949ba3d)) * Fix STRING type handling in on-demand feature views ([#5669](#5669)) ([dfbb743](dfbb743)) * Fixed torch install issue in CI ([366e5a8](366e5a8)) * ODFV not getting counted in resource count ([1d640b6](1d640b6)) * Skip tag updates if user do not have permissions ([#5673](#5673)) ([0a951ce](0a951ce)) ### Features * Add document of Go feature server. ([#5697](#5697)) ([cbd1dde](cbd1dde)) * Add flexible commandArgs support for complete Feast CLI control ([#5678](#5678)) ([6414924](6414924)) * Add HDFS as a feature registry ([#5655](#5655)) ([4c65872](4c65872)) * Add nodeSelector to service config ([#5675](#5675)) ([9728cde](9728cde)) * Add OTEL based observability to the Go Feature Server ([#5685](#5685)) ([f4afdad](f4afdad)) * Added health endpoint for the UI ([#5665](#5665)) ([3aec5d5](3aec5d5)) * Added kuberay support ([e0b698d](e0b698d)) * Added support for filtering multi-projects ([#5688](#5688)) ([eb0a86e](eb0a86e)) * Batch Embedding at scale for RAG with Ray ([cc2a46d](cc2a46d)) * Optimize SQL entity handling without creating temporary tables ([#5695](#5695)) ([aa2c838](aa2c838)) * Support aggregation in odfv ([#5666](#5666)) ([564e965](564e965)) * Support cache_mode for registries ([021e9ea](021e9ea))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this PR does / why we need it:
This allows us to set
nodeSelectorson the services in the operator, allowing greater deployment control.Which issue(s) this PR fixes:
None
Misc
None