-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathfeast-helm-values.yaml.template
More file actions
146 lines (139 loc) · 3.72 KB
/
Copy pathfeast-helm-values.yaml.template
File metadata and controls
146 lines (139 loc) · 3.72 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
# Required environment variables to supply for this template:
# ============================================================
# - BUILD_ID
# - FEAST_IMAGE_TAG
# - FEAST_WAREHOUSE_DATASET
#
# Required only if using the Ambassador annotations:
# - FEAST_CORE_URL
# - FEAST_SERVING_URL
core:
projectId: "kf-feast"
image:
registry: us.gcr.io/kf-feast
repository: feast-core
tag: ${FEAST_IMAGE_TAG}
replicaCount: 1
resources:
requests:
cpu: 1
memory: 2G
readinessProbe:
initialDelaySeconds: 15
service:
annotations:
getambassador.io/config: |
---
apiVersion: ambassador/v1
kind: Mapping
name: feast_core_grpc_core_service_mapping_build_${BUILD_ID}
grpc: True
headers:
:authority: ${FEAST_CORE_URL}
prefix: /feast.core.CoreService
rewrite: /feast.core.CoreService
service: feast-${BUILD_ID}-core:6565
timeout_ms: 60000
---
apiVersion: ambassador/v1
kind: Mapping
name: feast_core_grpc_job_service_mapping_build_${BUILD_ID}
grpc: True
headers:
:authority: ${FEAST_CORE_URL}
prefix: /feast.core.JobService
rewrite: /feast.core.JobService
service: feast-${BUILD_ID}-core:6565
timeout_ms: 120000
---
apiVersion: ambassador/v1
kind: Mapping
name: feast_core_grpc_ui_service_mapping_build_${BUILD_ID}
grpc: True
headers:
:authority: ${FEAST_CORE_URL}
prefix: /feast.core.UIService
rewrite: /feast.core.UIService
service: feast-${BUILD_ID}-core:6565
---
apiVersion: ambassador/v1
kind: Mapping
name: feast_core_grpc_dataset_service_mapping_build_${BUILD_ID}
grpc: True
headers:
:authority: ${FEAST_CORE_URL}
prefix: /feast.core.DatasetService
rewrite: /feast.core.DatasetService
service: feast-${BUILD_ID}-core:6565
grpc:
port: 6565
targetPort: 6565
http:
port: 80
targetPort: 8080
jobs:
workspace: "/tmp"
runner: DirectRunner
options: "{}"
errorStoreType: "stdout"
errorStoreOptions: "{}"
trainingDatasetPrefix: "fs"
logType: JSON
store:
errors:
type: "stdout"
warehouse:
type: "bigquery"
options: '{"project": "kf-feast", "dataset": "${FEAST_WAREHOUSE_DATASET}", "tempLocation": "gs://feast-templocation-kf-feast/warehouse_build_${BUILD_ID}"}'
serving:
type: "redis"
options: '{"host": "feast-${BUILD_ID}-redis-master", "port": "6379"}'
global:
postgresql:
# Hardcoded password here because this Feast is only for testing
postgresqlPassword: HaeYeeMa7eD1
postgresql:
provision: true
persistence:
enabled: false
redis:
provision: true
usePassword: false
cluster:
enabled: false
master:
persistence:
enabled: false
serving:
image:
registry: us.gcr.io/kf-feast
repository: feast-serving
tag: ${FEAST_IMAGE_TAG}
replicaCount: 1
readinessProbe:
initialDelaySeconds: 15
service:
annotations:
getambassador.io/config: |
---
apiVersion: ambassador/v1
kind: Mapping
name: feast_serving_grpc_serving_api_mapping_build_${BUILD_ID}
grpc: True
headers:
:authority: ${FEAST_SERVING_URL}
prefix: /feast.serving.ServingAPI
rewrite: /feast.serving.ServingAPI
service: feast-${BUILD_ID}-serving:6565
timeout_ms: 30000
grpc:
port: 6565
targetPort: 6565
http:
port: 80
targetPort: 8080
# Enable only if you have an existing service account you
# want to mount the secret of.
serviceAccount:
name: feast-service-account
key: service-account.json