This guide installs Feast on GKE using our reference Terraform configuration.
The Terraform configuration used here is a greenfield installation that neither assumes anything about, nor integrates with, existing resources in your GCP account. The Terraform configuration presents an easy way to get started, but you may want to customize this set up before using Feast in production.
This Terraform configuration creates the following resources:
GKE cluster
Feast services running on GKE
Google Memorystore (Redis) as online store
Dataproc cluster
Kafka running on GKE, exposed to the dataproc cluster via internal load balancer
Install Terraform > = 0.12 (tested with 0.13.3)
Install Helm (tested with v3.3.4)
GCP authentication and sufficient privilege to create the resources listed above.
Create a .tfvars
file underfeast/infra/terraform/gcp
. Name the file. In our example, we use my_feast.tfvars
. You can see the full list of configuration variables in variables.tf
. Sample configurations are provided below:
After completing the configuration, initialize Terraform and apply: