Skip to content

Commit

Permalink
Adding service annotation to helm chart service.yaml (#404)
Browse files Browse the repository at this point in the history
* Adding service annotation to helm chart service.yaml

* Increasing values for the livenessProbe and readinessProbe. On AWS Fargate the container will enter into a 'boorloop' because it need more time to start compared the default values

Co-authored-by: andormarkus <andormarkus@marc-o-polo.com>
  • Loading branch information
andormarkus and andormarkus committed May 14, 2021
1 parent 5d65967 commit 1b5e9b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/kafka-ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,16 @@ spec:
httpGet:
path: /
port: http
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 10
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
4 changes: 4 additions & 0 deletions charts/kafka-ui/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "kafka-ui.fullname" . }}
labels:
{{- include "kafka-ui.labels" . | nindent 4 }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down

0 comments on commit 1b5e9b4

Please sign in to comment.