Skip to content

Commit

Permalink
add lifecycle to zeppelin
Browse files Browse the repository at this point in the history
  • Loading branch information
slamdev committed Jun 24, 2020
1 parent 03a7e71 commit 7d7991d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/zeppelin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: zeppelin
description: |-
Helm chart to deploy [zeppelin](http://zeppelin.apache.org/).
type: application
version: 0.0.4
version: 0.0.5
appVersion: "0.9.0"
home: https://github.com/slamdev/helm-charts/tree/master/charts/zeppelin
icon: https://zeppelin.apache.org/docs/latest/assets/themes/zeppelin/img/zeppelin_logo.png
Expand Down
3 changes: 2 additions & 1 deletion charts/zeppelin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ zeppelin
========
Helm chart to deploy [zeppelin](http://zeppelin.apache.org/).

Current chart version is `0.0.4`
Current chart version is `0.0.5`

Source code can be found [here](https://github.com/slamdev/helm-charts/tree/master/charts/zeppelin)

Expand All @@ -23,6 +23,7 @@ Source code can be found [here](https://github.com/slamdev/helm-charts/tree/mast
| ingress.enabled | bool | `false` | enables Ingress for zeppelin |
| ingress.hosts | list | `[]` | ingress accepted hostnames |
| ingress.tls | list | `[]` | ingress TLS configuration |
| lifecycle | object | `{}` | container lifecycle hooks |
| livenessProbe.httpGet.path | string | `"/api/version"` | path for liveness probe |
| livenessProbe.httpGet.port | string | `"http"` | port for liveness probe |
| nameOverride | string | `""` | override name of the chart |
Expand Down
4 changes: 4 additions & 0 deletions charts/zeppelin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.lifecycle }}
lifecycle:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
- name: ZEPPELIN_PORT
value: "8080"
Expand Down
3 changes: 3 additions & 0 deletions charts/zeppelin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ resources: {}
# cpu: 100m
# memory: 128Mi

# lifecycle -- container lifecycle hooks
lifecycle: {}

# nodeSelector -- node for scheduler pod assignment
nodeSelector: {}

Expand Down

0 comments on commit 7d7991d

Please sign in to comment.