Repository navigation
Expand file tree
/
Copy pathvalues.yaml
More file actions
262 lines (252 loc) · 9.55 KB
/
Copy pathvalues.yaml
File metadata and controls
262 lines (252 loc) · 9.55 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
# Feast deployment installs the following components:
# - Feast Core
# - Feast Serving Online
# - Feast Serving Batch
# - Prometheus StatsD Exporter
#
# The configuration for different components can be referenced from:
# - charts/feast-core/values.yaml
# - charts/feast-serving/values.yaml
# - charts/prometheus-statsd-exporter/values.yaml
#
# Note that "feast-serving-online" and "feast-serving-batch" are
# aliases to "feast-serving" chart since in typical scenario two instances
# of Feast Serving: online and batch will be deployed. Both described
# using the same chart "feast-serving".
#
# Note that the import job by default uses DirectRunner
# https://beam.apache.org/documentation/runners/direct/
# in this configuration since it allows Feast to run in more environments
# (unlike DataflowRunner which requires Google Cloud services).
#
# A secret containing Google Cloud service account JSON key is required
# in this configuration.
# https://cloud.google.com/iam/docs/creating-managing-service-accounts
#
# The Google Cloud service account must have the following roles:
# - bigquery.dataEditor
# - bigquery.jobUser
#
# Assuming a service account JSON key file has been downloaded to
# (please name the file key.json):
# /home/user/key.json
#
# Run the following command to create the secret in your Kubernetes cluster:
#
# kubectl create secret generic feast-gcp-service-account \
# --from-file=/home/user/key.json
#
# Replace every instance of EXTERNAL_IP with the external IP of your GKE cluster
# ============================================================
# Feast Core
# ============================================================
feast-core:
# If enabled specifies whether to install Feast Core component.
#
# Normally, this is set to "false" when Feast users need access to low latency
# Feast Serving, by deploying multiple instances of Feast Serving closest
# to the client. These instances of Feast Serving however can still use
# the same shared Feast Core.
enabled: true
# Specify which image tag to use. Keep this consistent for all components
image:
tag: "0.4.4"
# jvmOptions are options that will be passed to the Java Virtual Machine (JVM)
# running Feast Core.
#
# For example, it is good practice to set min and max heap size in JVM.
# https://stackoverflow.com/questions/6902135/side-effect-for-increasing-maxpermsize-and-max-heap-size
jvmOptions:
- -Xms1024m
- -Xmx1024m
# resources that should be allocated to Feast Core.
resources:
requests:
cpu: 1000m
memory: 1024Mi
limits:
memory: 2048Mi
# gcpServiceAccount is the Google service account that Feast Core will use.
gcpServiceAccount:
# useExistingSecret specifies Feast to use an existing secret containing
# Google Cloud service account JSON key file.
#
# This is the only supported option for now to use a service account JSON.
# Feast admin is expected to create this secret before deploying Feast.
useExistingSecret: true
existingSecret:
# name is the secret name of the existing secret for the service account.
name: feast-gcp-service-account
# key is the secret key of the existing secret for the service account.
# key is normally derived from the file name of the JSON key file.
key: key.json
# Setting service.type to NodePort exposes feast-core service at a static port
service:
type: NodePort
grpc:
# this is the port that is exposed outside of the cluster
nodePort: 32090
# Make kafka externally accessible using NodePort
# Please set EXTERNAL_IP to your cluster's external IP
kafka:
external:
enabled: true
type: NodePort
domain: EXTERNAL_IP
configurationOverrides:
"advertised.listeners": |-
EXTERNAL://EXTERNAL_IP:$((31090 + ${KAFKA_BROKER_ID}))
"listener.security.protocol.map": |-
PLAINTEXT:PLAINTEXT,EXTERNAL:PLAINTEXT
application.yaml:
feast:
stream:
options:
# Point to one of your Kafka brokers
# Please set EXTERNAL_IP to your cluster's external IP
bootstrapServers: EXTERNAL_IP:31090
# ============================================================
# Feast Serving Online
# ============================================================
feast-serving-online:
# enabled specifies whether to install Feast Serving Online component.
enabled: true
# Specify what image tag to use. Keep this consistent for all components
image:
tag: "0.4.4"
# redis.enabled specifies whether Redis should be installed as part of Feast Serving.
#
# If enabled is set to "false", Feast admin has to ensure there is an
# existing Redis running outside Feast, that Feast Serving can connect to.
# master.service.type set to NodePort exposes Redis to outside of the cluster
redis:
enabled: true
master:
service:
nodePort: 32101
type: NodePort
# jvmOptions are options that will be passed to the Feast Serving JVM.
jvmOptions:
- -Xms1024m
- -Xmx1024m
# resources that should be allocated to Feast Serving.
resources:
requests:
cpu: 500m
memory: 1024Mi
limits:
memory: 2048Mi
# Make service accessible to outside of cluster using NodePort
service:
type: NodePort
grpc:
nodePort: 32091
# store.yaml is the configuration for Feast Store.
#
# Refer to this link for more description:
# https://github.com/gojek/feast/blob/79eb4ab5fa3d37102c1dca9968162a98690526ba/protos/feast/core/Store.proto
store.yaml:
name: redis
type: REDIS
redis_config:
# If redis.enabled is set to false, Feast admin should uncomment and
# set the host value to an "existing" Redis instance Feast will use as
# online Store. Also use the correct port for that existing instance.
#
# Else, if redis.enabled is set to true, replace EXTERNAL_IP with your
# cluster's external IP.
# host: redis-host
host: EXTERNAL_IP
port: 32101
subscriptions:
- name: "*"
project: "*"
version: "*"
# ============================================================
# Feast Serving Batch
# ============================================================
feast-serving-batch:
# enabled specifies whether to install Feast Serving Batch component.
enabled: true
# Specify what image tag to use. Keep this consistent for all components
image:
tag: "0.4.4"
# redis.enabled specifies whether Redis should be installed as part of Feast Serving.
#
# This is usually set to "false" for Feast Serving Batch because the default
# store is BigQuery.
redis:
enabled: false
# jvmOptions are options that will be passed to the Feast Serving JVM.
jvmOptions:
- -Xms1024m
- -Xmx1024m
# resources that should be allocated to Feast Serving.
resources:
requests:
cpu: 500m
memory: 1024Mi
limits:
memory: 2048Mi
# Make service accessible to outside of cluster using NodePort
service:
type: NodePort
grpc:
nodePort: 32092
# gcpServiceAccount is the service account that Feast Serving will use.
gcpServiceAccount:
# useExistingSecret specifies Feast to use an existing secret containing
# Google Cloud service account JSON key file.
#
# This is the only supported option for now to use a service account JSON.
# Feast admin is expected to create this secret before deploying Feast.
useExistingSecret: true
existingSecret:
# name is the secret name of the existing secret for the service account.
name: feast-gcp-service-account
# key is the secret key of the existing secret for the service account.
# key is normally derived from the file name of the JSON key file.
key: key.json
# application.yaml is the main configuration for Feast Serving application.
#
# Feast Core is a Spring Boot app which uses this yaml configuration file.
# Refer to https://github.com/gojek/feast/blob/79eb4ab5fa3d37102c1dca9968162a98690526ba/serving/src/main/resources/application.yml
# for a complete list and description of the configuration.
application.yaml:
feast:
jobs:
# staging-location specifies the URI to store intermediate files for
# batch serving (required if using BigQuery as Store).
#
# Please set the value to an "existing" Google Cloud Storage URI that
# Feast serving has write access to.
staging-location: gs://YOUR_BUCKET_NAME/serving/batch
# Type of store to store job metadata.
#
# This default configuration assumes that Feast Serving Online is
# enabled as well. So Feast Serving Batch will share the same
# Redis instance to store job statuses.
store-type: REDIS
# Default to use the internal hostname of the redis instance deployed by Online service,
# otherwise use externally exposed by setting EXTERNAL_IP to your cluster's external IP
# store-options:
# host: EXTERNAL_IP
# port: 32101
# store.yaml is the configuration for Feast Store.
#
# Refer to this link for more description:
# https://github.com/gojek/feast/blob/79eb4ab5fa3d37102c1dca9968162a98690526ba/protos/feast/core/Store.proto
store.yaml:
name: bigquery
type: BIGQUERY
bigquery_config:
# project_id specifies the Google Cloud Project. Please set this to the
# project id you are using BigQuery in.
project_id: PROJECT_ID
# dataset_id specifies an "existing" BigQuery dataset Feast Serving Batch
# will use. Please ensure this dataset is created beforehand.
dataset_id: DATASET_ID
subscriptions:
- name: "*"
project: "*"
version: "*"