Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix helm docs and accidental issues
Signed-off-by: Danny Chiao <danny@tecton.ai>
  • Loading branch information
adchia committed Aug 18, 2022
commit 47a7a966567ae6e7b1578c34613290af4f3a3189
14 changes: 7 additions & 7 deletions examples/java-demo/feature_repo/application-override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ feature-server:
config:
host: my-redis-master
port: 6379
password: YTVWvjrQcK
password: [YOUR PASSWORD]
entityKeySerializationVersion: 2
# Uncomment below for dev
image:
tag: dev
# image:
# tag: dev

# Uncomment below for dev
transformation-service:
image:
tag: dev
#transformation-service:
# image:
# tag: dev

Comment thread
adchia marked this conversation as resolved.
global:
registry:
path: gs://danny-test-feast-bucket/demo-repo/registry.db
path: gs://[YOUR GCS BUCKET]/demo-repo/registry.db
cache_ttl_seconds: 60
project: feast_java_demo
4 changes: 2 additions & 2 deletions examples/java-demo/feature_repo/feature_store.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
registry: gs://danny-test-feast-bucket/demo-repo/registry.db
registry: gs://[YOUR GCS BUCKET]/demo-repo/registry.db
project: feast_java_demo
provider: gcp
online_store:
type: redis
connection_string: localhost:6379,password=YTVWvjrQcK
connection_string: localhost:6379,password=[YOUR PASSWORD]
offline_store:
type: file
entity_key_serialization_version: 2
53 changes: 41 additions & 12 deletions infra/charts/feast-feature-server/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,46 @@
# feast-feature-server
# Feast Python / Go Feature Server Helm Charts

![Version: 0.23.0](https://img.shields.io/badge/Version-0.23.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
## Chart: Feast Feature Server in Go or Python

Feast Feature Server in Go or Python
Feast Feature Server in Go or Python Current chart version is `0.23.0`

**Homepage:** <https://feast.dev/>
## Installation
Docker repository and tag are required. Helm install example:
```
helm install feast-python-server . --set image.repository=REPO --set image.tag=TAG
```

## Source Code
Deployment assumes that `feature_store.yaml` exists on docker image. Example docker image:
```
FROM python:3.8

* <https://github.com/feast-dev/feast>
RUN apt update && \
apt install -y jq

RUN pip install pip --upgrade

RUN pip install feast

COPY feature_store.yaml /feature_store.yaml
```

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
```

## Values

Expand All @@ -17,8 +49,8 @@ Feast Feature Server in Go or Python
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `""` | |
| image.tag | string | `""` | |
| image.repository | string | `""` | [required] The repository for the Docker image |
| image.tag | string | `""` | [required] The Docker image tag |
| imagePullSecrets | list | `[]` | |
| livenessProbe.initialDelaySeconds | int | `30` | |
| livenessProbe.periodSeconds | int | `30` | |
Expand All @@ -33,7 +65,4 @@ Feast Feature Server in Go or Python
| securityContext | object | `{}` | |
| service.port | int | `80` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
| tolerations | list | `[]` | |
47 changes: 47 additions & 0 deletions infra/charts/feast-feature-server/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Feast Python / Go Feature Server Helm Charts

## Chart: Feast Feature Server in Go or Python

{{ template "chart.description" . }} Current chart version is `{{ template "chart.version" . }}`

## Installation
Docker repository and tag are required. Helm install example:
```
helm install feast-python-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
```

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" . }}
2 changes: 2 additions & 0 deletions infra/charts/feast-feature-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
replicaCount: 1

image:
# image.repository -- [required] The repository for the Docker image
repository: ""
pullPolicy: IfNotPresent
# image.tag -- [required] The Docker image tag
tag: ""

imagePullSecrets: []
Expand Down
35 changes: 23 additions & 12 deletions infra/charts/feast-python-server/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
# feast-python-server
# Feast Python Feature Server Helm Charts

## Chart: Feast

![Version: 0.23.0](https://img.shields.io/badge/Version-0.23.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
Feast Feature Server in Python Current chart version is `0.23.0`

Feast Feature Server in Python
## Installation
Docker repository and tag are required. Helm install example:
```
helm install feast-python-server . --set image.repository=REPO --set image.tag=TAG
```

**Homepage:** <https://feast.dev/>
Deployment assumes that `feature_store.yaml` exists on docker image. Example docker image:
```
FROM python:3.8

## Source Code
RUN apt update && \
apt install -y jq

* <https://github.com/feast-dev/feast>
RUN pip install pip --upgrade

RUN pip install feast

COPY feature_store.yaml /feature_store.yaml
```

## Values

Expand All @@ -17,8 +31,8 @@ Feast Feature Server in Python
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `""` | |
| image.tag | string | `""` | |
| image.repository | string | `""` | [required] The repository for the Docker image |
| image.tag | string | `""` | [required] The Docker image tag |
| imagePullSecrets | list | `[]` | |
| livenessProbe.initialDelaySeconds | int | `30` | |
| livenessProbe.periodSeconds | int | `30` | |
Expand All @@ -33,7 +47,4 @@ Feast Feature Server in Python
| securityContext | object | `{}` | |
| service.port | int | `80` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
| tolerations | list | `[]` | |
29 changes: 29 additions & 0 deletions infra/charts/feast-python-server/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Feast Python Feature Server Helm Charts

## Chart: Feast

{{ template "chart.description" . }} Current chart version is `{{ template "chart.version" . }}`

## Installation
Docker repository and tag are required. Helm install example:
```
helm install feast-python-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
```

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}
2 changes: 2 additions & 0 deletions infra/charts/feast-python-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
replicaCount: 1

image:
# image.repository -- [required] The repository for the Docker image
repository: ""
pullPolicy: IfNotPresent
# image.tag -- [required] The Docker image tag
tag: ""

imagePullSecrets: []
Expand Down