-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Expected Behavior
Feast UI’s cURL Generator should use the actual Feature Server endpoint configured by the user (e.g. from feature_store.yaml, CLI flags, or an environment variable), instead of always defaulting to:
http://localhost:6566
Users running Feast in Kubernetes, Docker, or remote environments should get a correct, usable curl command from the UI.
Current Behavior
The cURL Generator in Feast UI always hard-codes the Feature Server URL to:
http://localhost:6566
This happens even when:
- The feature server is running remotely
- The UI is accessed from a browser not running on the same host
- A custom serving URL is configured elsewhere
There is currently no flag, config, or environment variable to override this value when running:
feast uiThis makes the generated cURL snippet incorrect and misleading in non-local setups.
Steps to reproduce
-
Deploy Feast Feature Server remotely (e.g. Kubernetes or Docker).
-
Run the UI:
feast ui
-
Open the UI in a browser.
-
Go to Feature Views → Curl Generator.
-
Observe the generated command:
curl http://localhost:6566/get-online-features
-
Run this from your local machine → it fails because the server is not local.
Specifications
- Version:
0.57.0 - Platform: Kubernetes
- Subsystem: Feast UI (CurlGeneratorTab.tsx)
Possible Solution
-
Allow the Feature Server base URL to be configurable via:
- Environment variable (e.g.
FEAST_FEATURE_SERVER_URL) feature_store.yaml
- Environment variable (e.g.
Example approach:
const FEAST_FEATURE_SERVER_URL =
process.env.REACT_APP_FEAST_FEATURE_SERVER_URL ??
"http://localhost:6566";This would make the cURL generator usable in real production deployments.