You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### 4.2. Deploy Feast feature servers on Kubernetes (Deprecated replaced by [feast-operator](../../infra/feast-operator/README.md))
206
+
### 4.2. Deploy Feast feature servers on Kubernetes
207
207
208
-
To deploy a Feast feature server on Kubernetes, you can use the included [helm chart + tutorial](https://github.com/feast-dev/feast/tree/master/infra/charts/feast-feature-server) (which also has detailed instructions and an example tutorial).
208
+
To deploy a Feast feature server on Kubernetes, you should use the included [feast-operator](../../infra/feast-operator).
209
209
210
210
**Basic steps**
211
-
1. Install [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) and [helm 3](https://helm.sh/)
212
-
2.Add the Feast Helm repository and download the latest charts:
The above will install a simple [FeatureStore CR](../../infra/feast-operator/docs/api/markdown/ref.md) like the following. By default, it will run the [Online Store feature server](../reference/feature-servers/python-feature-server.md) -
233
+
```yaml
234
+
apiVersion: feast.dev/v1alpha1
235
+
kind: FeatureStore
236
+
metadata:
237
+
name: sample
238
+
spec:
239
+
feastProject: my_project
224
240
```
241
+
{% hint style="success" %} More advanced FeatureStore CR examples can be found in the feast-operator [samples directory](../../infra/feast-operator/config/samples). {% endhint %}
242
+
243
+
For first-time Operator users, it may be a good exercise to try the [Feast Operator Quickstart](../../examples/operator-quickstart). The quickstart will demonstrate some of the Operator's built-in features, e.g. git repos, `feast apply` jobs, etc.
244
+
245
+
{% hint style="success" %} Important note: [Scaling a Feature Store Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#scaling-a-deployment) should only be done if the configured data store(s) will support it.
225
246
226
-
This will deploy a single service. The service must have read access to the registry file on cloud storage and to the online store (e.g. via [podAnnotations](https://kubernetes-on-aws.readthedocs.io/en/latest/user-guide/iam-roles.html)). It will keep a copy of the registry in their memory and periodically refresh it, so expect some delays in update propagation in exchange for better performance.
247
+
Please check the how-to guide for some specific recommendations on [how to scale Feast](./scaling-feast.md). {% endhint %}
227
248
228
249
## 5. Using environment variables in your yaml configuration
Copy file name to clipboardExpand all lines: docs/reference/feature-servers/offline-feature-server.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,21 @@ There is a CLI command that starts the Offline feature server: `feast serve_offl
13
13
14
14
## Deploying as a service on Kubernetes
15
15
16
-
The Offline feature server can be deployed using helm chart see this [helm chart](https://github.com/feast-dev/feast/blob/master/infra/charts/feast-feature-server).
17
-
18
-
User need to set `feast_mode=offline`, when installing Offline feature server as shown in the helm command below:
See [this](../../how-to-guides/running-feast-in-production.md#42-deploy-feast-feature-servers-on-kubernetes) for an example on how to run Feast on Kubernetes using the Operator.
17
+
18
+
The Offline feature server can be deployed with a slight modification of the FeatureStore CR -
19
+
```yaml
20
+
apiVersion: feast.dev/v1alpha1
21
+
kind: FeatureStore
22
+
metadata:
23
+
name: sample-offline-server
24
+
spec:
25
+
feastProject: my_project
26
+
services:
27
+
offlineStore:
28
+
server: {}
22
29
```
30
+
{% hint style="success" %} More advanced FeatureStore CR examples can be found in the feast-operator [samples directory](../../../infra/feast-operator/config/samples). {% endhint %}
Copy file name to clipboardExpand all lines: docs/reference/feature-servers/python-feature-server.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ There is a CLI command that starts the server: `feast serve`. By default, Feast
10
10
11
11
## Deploying as a service
12
12
13
-
One can deploy a feature server by building a docker image that bundles in the project's `feature_store.yaml`. See this [helm chart](https://github.com/feast-dev/feast/blob/master/infra/charts/feast-feature-server) for an example on how to run Feast on Kubernetes.
13
+
See [this](../../how-to-guides/running-feast-in-production.md#42-deploy-feast-feature-servers-on-kubernetes) for an example on how to run Feast on Kubernetes using the Operator.
0 commit comments