|
39 | 39 | # --from-file=/home/user/key.json |
40 | 40 | # |
41 | 41 |
|
| 42 | +# ============================================================ |
| 43 | +# Feast Core |
| 44 | +# ============================================================ |
| 45 | + |
42 | 46 | feast-core: |
| 47 | + # enabled specifies whether to install Feast Core component. |
| 48 | + # |
| 49 | + # Normally, this is set to "false" when Feast users need access to low latency |
| 50 | + # Feast Serving, by deploying multiple instances of Feast Serving closest |
| 51 | + # to the client. These instances of Feast Serving however can still use |
| 52 | + # the same shared Feast Core. |
43 | 53 | enabled: true |
| 54 | + # jvmOptions are options that will be passed to the Java Virtual Machine (JVM) |
| 55 | + # running Feast Core. |
| 56 | + # |
| 57 | + # For example, it is good practice to set min and max heap size in JVM. |
| 58 | + # https://stackoverflow.com/questions/6902135/side-effect-for-increasing-maxpermsize-and-max-heap-size |
44 | 59 | jvmOptions: |
45 | 60 | - -Xms1024m |
46 | 61 | - -Xmx1024m |
| 62 | + # resources that should be allocated to Feast Core. |
47 | 63 | resources: |
48 | 64 | requests: |
49 | 65 | cpu: 1000m |
50 | 66 | memory: 1024Mi |
| 67 | + limits: |
| 68 | + memory: 2048Mi |
| 69 | + # gcpServiceAccount is the Google service account that Feast Core will use. |
51 | 70 | gcpServiceAccount: |
| 71 | + # useExistingSecret specifies Feast to use an existing secret containing |
| 72 | + # Google Cloud service account JSON key file. |
| 73 | + # |
| 74 | + # This is the only supported option for now to use a service account JSON. |
| 75 | + # Feast admin is expected to create this secret before deploying Feast. |
52 | 76 | useExistingSecret: true |
| 77 | + existingSecret: |
| 78 | + # name is the secret name of the existing secret for the service account. |
| 79 | + name: feast-gcp-service-account |
| 80 | + # key is the secret key of the existing secret for the service account. |
| 81 | + # key is normally derived from the file name of the JSON key file. |
| 82 | + key: key.json |
| 83 | + |
| 84 | +# ============================================================ |
| 85 | +# Feast Serving Online |
| 86 | +# ============================================================ |
53 | 87 |
|
54 | 88 | feast-serving-online: |
| 89 | + # enabled specifies whether to install Feast Serving Online component. |
55 | 90 | enabled: true |
| 91 | + # redis.enabled specifies whether Redis should be installed as part of Feast Serving. |
| 92 | + # |
| 93 | + # If enabled is set to "false", Feast admin has to ensure there is an |
| 94 | + # existing Redis running outside Feast, that Feast Serving can connect to. |
56 | 95 | redis: |
57 | 96 | enabled: true |
| 97 | + # jvmOptions are options that will be passed to the Feast Serving JVM. |
58 | 98 | jvmOptions: |
59 | 99 | - -Xms1024m |
60 | 100 | - -Xmx1024m |
| 101 | + # resources that should be allocated to Feast Serving. |
61 | 102 | resources: |
62 | 103 | requests: |
63 | 104 | cpu: 500m |
64 | 105 | memory: 1024Mi |
| 106 | + limits: |
| 107 | + memory: 2048Mi |
| 108 | + # store.yaml is the configuration for Feast Store. |
| 109 | + # |
| 110 | + # Refer to this link for more description: |
| 111 | + # https://github.com/gojek/feast/blob/79eb4ab5fa3d37102c1dca9968162a98690526ba/protos/feast/core/Store.proto |
65 | 112 | store.yaml: |
66 | 113 | name: redis |
67 | 114 | type: REDIS |
68 | 115 | redis_config: |
| 116 | + # If redis.enabled is set to false, Feast admin should uncomment and |
| 117 | + # set the host value to an "existing" Redis instance Feast will use as |
| 118 | + # online Store. |
| 119 | + # |
| 120 | + # Else, if redis.enabled is set to true, no additional configuration is |
| 121 | + # required. |
| 122 | + # |
| 123 | + # host: redis-host |
69 | 124 | port: 6379 |
70 | 125 | subscriptions: |
71 | 126 | - name: "*" |
72 | 127 | version: ">0" |
73 | 128 |
|
| 129 | +# ============================================================ |
| 130 | +# Feast Serving Batch |
| 131 | +# ============================================================ |
| 132 | + |
74 | 133 | feast-serving-batch: |
| 134 | + # enabled specifies whether to install Feast Serving Batch component. |
75 | 135 | enabled: true |
| 136 | + # redis.enabled specifies whether Redis should be installed as part of Feast Serving. |
| 137 | + # |
| 138 | + # This is usually set to "false" for Feast Serving Batch because the default |
| 139 | + # store is BigQuery. |
76 | 140 | redis: |
77 | 141 | enabled: false |
| 142 | + # jvmOptions are options that will be passed to the Feast Serving JVM. |
78 | 143 | jvmOptions: |
79 | 144 | - -Xms1024m |
80 | 145 | - -Xmx1024m |
| 146 | + # resources that should be allocated to Feast Serving. |
81 | 147 | resources: |
82 | 148 | requests: |
83 | 149 | cpu: 500m |
84 | 150 | memory: 1024Mi |
| 151 | + limits: |
| 152 | + memory: 2048Mi |
| 153 | + # gcpServiceAccount is the service account that Feast Serving will use. |
85 | 154 | gcpServiceAccount: |
| 155 | + # useExistingSecret specifies Feast to use an existing secret containing |
| 156 | + # Google Cloud service account JSON key file. |
| 157 | + # |
| 158 | + # This is the only supported option for now to use a service account JSON. |
| 159 | + # Feast admin is expected to create this secret before deploying Feast. |
86 | 160 | useExistingSecret: true |
| 161 | + existingSecret: |
| 162 | + # name is the secret name of the existing secret for the service account. |
| 163 | + name: feast-gcp-service-account |
| 164 | + # key is the secret key of the existing secret for the service account. |
| 165 | + # key is normally derived from the file name of the JSON key file. |
| 166 | + key: key.json |
| 167 | + # application.yaml is the main configuration for Feast Serving application. |
| 168 | + # |
| 169 | + # Feast Core is a Spring Boot app which uses this yaml configuration file. |
| 170 | + # Refer to https://github.com/gojek/feast/blob/79eb4ab5fa3d37102c1dca9968162a98690526ba/serving/src/main/resources/application.yml |
| 171 | + # for a complete list and description of the configuration. |
87 | 172 | application.yaml: |
88 | 173 | feast: |
89 | 174 | jobs: |
| 175 | + # staging-location specifies the URI to store intermediate files for |
| 176 | + # batch serving (required if using BigQuery as Store). |
| 177 | + # |
| 178 | + # Please set the value to an "existing" Google Cloud Storage URI that |
| 179 | + # Feast serving has write access to. |
90 | 180 | staging-location: gs://bucket/path |
| 181 | + # Type of store to store job metadata. |
| 182 | + # |
| 183 | + # This default configuration assumes that Feast Serving Online is |
| 184 | + # enabled as well. So Feast Serving Batch will share the same |
| 185 | + # Redis instance to store job statuses. |
91 | 186 | store-type: REDIS |
| 187 | + # store.yaml is the configuration for Feast Store. |
| 188 | + # |
| 189 | + # Refer to this link for more description: |
| 190 | + # https://github.com/gojek/feast/blob/79eb4ab5fa3d37102c1dca9968162a98690526ba/protos/feast/core/Store.proto |
92 | 191 | store.yaml: |
93 | 192 | name: bigquery |
94 | 193 | type: BIGQUERY |
95 | 194 | bigquery_config: |
| 195 | + # project_id specifies the Google Cloud Project. Please set this to the |
| 196 | + # project id you are using BigQuery in. |
96 | 197 | project_id: PROJECT_ID |
| 198 | + # dataset_id specifies an "existing" BigQuery dataset Feast Serving Batch |
| 199 | + # will use. Please ensure this dataset is created beforehand. |
97 | 200 | dataset_id: DATASET_ID |
98 | 201 | subscriptions: |
99 | 202 | - name: "*" |
|
0 commit comments