Skip to content

Latest commit

 

History

History

feast-helm-operator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Feast Feature Server Helm-based Operator

This Operator was built with the operator-sdk and leverages the feast-feature-server helm chart.

Installation

  1. Install kubectl
  2. Install the Operator on a Kubernetes cluster
make deploy
  1. Install a Feast Feature Server on Kubernetes

A base64 encoded version of the feature_store.yaml file is required. FeastFeatureServer CR install example:

cat <<EOF | kubectl create -f -
apiVersion: charts.feast.dev/v1alpha1
kind: FeastFeatureServer
metadata:
  name: example
spec:
  feature_store_yaml_base64: $(cat feature_store.yaml | base64 | tr -d '\n\r')
EOF

Ensure it was successfully created on the cluster and that the feature_store_yaml_base64 field was properly set. The following command should return output which is identical to your feature_store.yaml:

kubectl get feastfeatureserver example -o jsonpath={.spec.feature_store_yaml_base64} | base64 -d

Watch as the operator creates a running feast feature server:

kubectl get all
kubectl logs deploy/example-feast-feature-server

The FeastFeatureServer.spec allows one to configure the same parameters as the feast-feature-server helm chart. An example of this can be seen with the included sample FeastFeatureServer.

To install the aforementioned sample FeastFeatureServer, run this command - kubectl create -f config/samples/charts_v1alpha1_feastfeatureserver.yaml