LogoLogo
v0.11-branch
v0.11-branch
  • Introduction
  • Quickstart
  • Getting started
    • Install Feast
    • Create a feature repository
    • Deploy a feature store
    • Build a training dataset
    • Load data into the online store
    • Read features from the online store
  • Community
  • Roadmap
  • Changelog
  • Concepts
    • Overview
    • Feature view
    • Data model
    • Online store
    • Offline store
    • Provider
    • Architecture
  • Reference
    • Data sources
      • BigQuery
      • File
    • Offline stores
      • File
      • BigQuery
    • Online stores
      • SQLite
      • Redis
      • Datastore
    • Providers
      • Local
      • Google Cloud Platform
    • Feature repository
      • feature_store.yaml
      • .feastignore
    • Feast CLI reference
    • Python API reference
    • Usage
  • Feast on Kubernetes
    • Getting started
      • Install Feast
        • Docker Compose
        • Kubernetes (with Helm)
        • Amazon EKS (with Terraform)
        • Azure AKS (with Helm)
        • Azure AKS (with Terraform)
        • Google Cloud GKE (with Terraform)
        • IBM Cloud Kubernetes Service (IKS) and Red Hat OpenShift (with Kustomize)
      • Connect to Feast
        • Python SDK
        • Feast CLI
      • Learn Feast
    • Concepts
      • Overview
      • Architecture
      • Entities
      • Sources
      • Feature Tables
      • Stores
    • Tutorials
      • Minimal Ride Hailing Example
    • User guide
      • Overview
      • Getting online features
      • Getting training features
      • Define and ingest features
      • Extending Feast
    • Reference
      • Configuration Reference
      • Feast and Spark
      • Metrics Reference
      • Limitations
      • API Reference
        • Go SDK
        • Java SDK
        • Core gRPC API
        • Python SDK
        • Serving gRPC API
        • gRPC Types
    • Advanced
      • Troubleshooting
      • Metrics
      • Audit Logging
      • Security
      • Upgrading Feast
  • Contributing
    • Contribution process
    • Development guide
    • Versioning policy
    • Release process
Powered by GitBook
On this page
  • Overview
  • 1. Feast Core and Feast Online Serving
  • Docker Compose Deployment
  • Kubernetes Deployment
  • Direct Configuration
  • 2. Feast CLI and Feast Python SDK
  • 3. Feast Java and Go SDK
  • Go SDK
  • Java SDK

Was this helpful?

Edit on Git
Export as PDF
  1. Feast on Kubernetes
  2. Reference

Configuration Reference

PreviousReferenceNextFeast and Spark

Last updated 3 years ago

Was this helpful?

Overview

This reference describes how to configure Feast components:

1. Feast Core and Feast Online Serving

Available configuration properties for Feast Core and Feast Online Serving can be referenced from the corresponding application.yml of each component:

Component

Configuration Reference

Core

Serving (Online)

Configuration properties for Feast Core and Feast Online Serving are defined depending on Feast is deployed:

  • - Feast is deployed with Docker Compose.

  • - Feast is deployed with Kubernetes.

  • - Feast is built and run from source code.

Docker Compose Deployment

For each Feast component deployed using Docker Compose, configuration properties from application.yml can be set at:

Component

Configuration Path

Core

infra/docker-compose/core/core.yml

Online Serving

infra/docker-compose/serving/online-serving.yml

Kubernetes Deployment

# values.yaml
feast-core:
  enabled: true # whether to deploy the feast-core subchart to deploy Feast Core.
  # feast-core subchart specific config.
  gcpServiceAccount:
    enabled: true 
  # ....

A reference of the sub-chart-specific configuration can found in its values.yml:

Configuration properties can be set via application-override.yaml for each component in values.yaml:

# values.yaml
feast-core:
  # ....
  application-override.yaml: 
     # application.yml config properties for Feast Core.
     # ...

Direct Configuration

If Feast is built and running from source, configuration properties can be set directly in the Feast component's application.yml:

Component

Configuration Path

Core

Serving (Online)

2. Feast CLI and Feast Python SDK

1. Command line arguments or initialized arguments: Passing parameters to the Feast CLI or instantiating the Feast Client object with specific parameters will take precedence above other parameters.

# Set option as command line arguments.
feast config set core_url "localhost:6565"
# Pass options as initialized arguments.
client = Client(
    core_url="localhost:6565",
    project="default"
)

2. Environmental variables: Environmental variables can be set to provide configuration options. They must be prefixed with FEAST_. For example FEAST_CORE_URL.

FEAST_CORE_URL=my_feast:6565 FEAST_PROJECT=default feast projects list

3. Configuration file: Options with the lowest precedence are configured in the Feast configuration file. Feast looks for or creates this configuration file in ~/.feast/config if it does not already exist. All options must be defined in the [general] section of this file.

[general]
project = default
core_url = localhost:6565

3. Feast Java and Go SDK

Go SDK

// configure serving host and port.
cli := feast.NewGrpcClient("localhost", 6566)

Java SDK

// configure serving host and port.
client = FeastClient.create(servingHost, servingPort);

The Kubernetes Feast Deployment is configured using values.yaml in the included with Feast:

Visit the included with Feast to learn more about configuration.

Configuration options for both the and can be defined in the following locations, in order of precedence:

Visit the for Feast Python SDK and Feast CLI to learn more.

The and are configured via arguments passed when instantiating the respective Clients:

Visit the to learn more about available configuration parameters.

Visit the to learn more about available configuration parameters.

Helm chart
feast-core
feast-serving
Helm chart
Feast CLI
Feast Python SDK
available configuration parameters
Feast Java SDK
Feast Go SDK
Feast Go SDK API reference
Feast Java SDK API reference
Feast Core and Feast Online Serving
Feast CLI and Feast Python SDK
Feast Go and Feast Java SDK
Docker Compose deployment
Kubernetes deployment
Direct Configuration
core/src/main/resources/application.yml
serving/src/main/resources/application.yml
core/src/main/resources/application.yml
serving/src/main/resources/application.yml