-
Notifications
You must be signed in to change notification settings - Fork 948
/
README.md.gotmpl
52 lines (38 loc) · 1.58 KB
/
README.md.gotmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Feast Python / Go Feature Server Helm Charts
Current chart version is `{{ template "chart.version" . }}`
## Installation
### Python feature server
Docker repository and tag are required. Helm install example:
```
helm install feast-feature-server . --set image.repository=REPO --set image.tag=TAG
```
Deployment assumes that `feature_store.yaml` exists on docker image. Example docker image:
```
FROM python:3.8
RUN apt update && \
apt install -y jq
RUN pip install pip --upgrade
RUN pip install feast
COPY feature_store.yaml /feature_store.yaml
```
### Go feature server
> Warning: this is experimental, and only supports a local file registry + Redis
Furthermore, if you wish to use the Go feature server, then you must install the Apache Arrow C++ libraries, and your `feature_store.yaml` should include `go_feature_server: True`.
For more details, see the [docs](https://docs.feast.dev/reference/feature-servers/go-feature-server).
The docker image might look like:
```
FROM python:3.8
RUN apt update && \
apt install -y jq
RUN pip install pip --upgrade
RUN pip install feast
RUN apt update
RUN apt install -y -V ca-certificates lsb-release wget
RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
RUN apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
RUN apt update
RUN apt -y install libarrow-dev
COPY feature_store.yaml /feature_store.yaml
```
{{ template "chart.requirementsSection" . }}
{{ template "chart.valuesSection" . }}