Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update charts #71

Merged
merged 6 commits into from
Jan 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
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
Binary file added charts/dist/feast-0.3.0.tgz
Binary file not shown.
13 changes: 13 additions & 0 deletions charts/dist/index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
entries:
feast:
- apiVersion: v1
appVersion: 0.3.0
created: 2019-01-12T19:12:26.9585+08:00
description: A Helm chart to install Feast on kubernetes
digest: cba907c528b94d8b478a1c21ad75a82576505731a579877b797cdf04b2d1aa2d
name: feast
urls:
- feast-0.3.0.tgz
version: 0.3.0
generated: 2019-01-12T19:12:26.95618+08:00
22 changes: 19 additions & 3 deletions charts/feast/templates/core-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ spec:
limits:
cpu: {{ .Values.core.resources.limits.cpu }}
memory: {{ .Values.core.resources.limits.memory }}
{{- if .Values.serviceAccount }}
volumeMounts:
- mountPath: "/etc/gcloud/service-accounts"
name: "{{ .Values.serviceAccount.name }}"
readOnly: false
{{- end }}
env:
zhilingc marked this conversation as resolved.
Show resolved Hide resolved
- name: GRPC_PORT
value: "{{ .Values.core.service.grpc.targetPort }}"
Expand All @@ -74,13 +80,15 @@ spec:
- name: JOB_RUNNER
value: {{ .Values.core.jobs.runner }}
- name: JOB_OPTIONS
value: {{ .Values.core.jobs.options }}
- name: JOB_ERRORS_STORE_ID
value: {{ .Values.core.jobs.errorsStoreId }}
value: {{ .Values.core.jobs.options | toJson}}
- name: JOB_MONITOR_PERIOD_MS
value: "{{ .Values.core.jobs.monitoring.period }}"
- name: JOB_MONITOR_INITIAL_DELAY_MS
value: "{{ .Values.core.jobs.monitoring.initialDelay }}"
- name: JOB_ERRORS_STORE_TYPE
value: {{ .Values.core.jobs.errorsStoreType }}
- name: JOB_ERRORS_STORE_OPTIONS
value: {{ .Values.core.jobs.errorStoreOptions | toJson}}
- name: STATSD_HOST
value: {{ .Values.statsd.host }}
- name: STATSD_PORT
Expand All @@ -91,3 +99,11 @@ spec:
- name: DATAFLOW_LOCATION
value: {{ .Values.dataflow.location }}
{{- end }}
{{- if .Values.serviceAccount }}
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/gcloud/service-accounts/key.json
volumes:
- name: "{{ .Values.serviceAccount.name }}"
secret:
secretName: "{{ .Values.serviceAccount.key }}"
{{- end }}
11 changes: 10 additions & 1 deletion charts/feast/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ core:
jobs:
runner: DirectRunner
options: "{}"
errorsStoreId: "STDOUT"
errorsStoreType: "STDOUT"
errorStoreOptions: "{}"
monitoring:
period: 5000
initialDelay: 60000
Expand Down Expand Up @@ -71,3 +72,11 @@ serving:
targetPort: 8080
jaeger:
enabled: false

serviceAccount:
name: feast-service-account
key: feast-service-account-key

statsd:
host: "localhost"
port: 8125