Skip to content

Commit

Permalink
add rpc port
Browse files Browse the repository at this point in the history
  • Loading branch information
slamdev committed Jun 20, 2020
1 parent 4bdb3f5 commit 03a7e71
Show file tree
Hide file tree
Showing 4 changed files with 11 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.3
version: 0.0.4
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
2 changes: 1 addition & 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.3`
Current chart version is `0.0.4`

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

Expand Down
5 changes: 5 additions & 0 deletions charts/zeppelin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ metadata:
{{- include "zeppelin.labels" . | nindent 4 }}
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
{{- include "zeppelin.selectorLabels" . | nindent 6 }}
Expand All @@ -32,6 +34,9 @@ spec:
- name: http
containerPort: 8080
protocol: TCP
- name: rpc
containerPort: 12320
protocol: TCP
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
Expand Down
4 changes: 4 additions & 0 deletions charts/zeppelin/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ spec:
targetPort: http
protocol: TCP
name: http
- port: 12320
targetPort: rpc
protocol: TCP
name: rpc
selector:
{{- include "zeppelin.selectorLabels" . | nindent 4 }}

0 comments on commit 03a7e71

Please sign in to comment.