Skip to content

Commit

Permalink
bugfix: update apollo chart. fix the livenessProbe from tcpPort to ht…
Browse files Browse the repository at this point in the history
…tpGet.
  • Loading branch information
dellnoantechnp committed Jul 31, 2024
1 parent 599dc81 commit b64a4ac
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/apollo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maintainers:
name: apollo
type: application
kubeVersion: ">=1.18.0"
version: 0.8.7
version: 0.8.8
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ spec:
mountPath: /apollo-adminservice/config/application-github.properties
subPath: application-github.properties
livenessProbe:
tcpSocket:
httpGet:
path: {{ .Values.adminService.config.contextPath }}/health
port: {{ .Values.adminService.containerPort }}
initialDelaySeconds: {{ .Values.adminService.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.adminService.liveness.periodSeconds }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ spec:
mountPath: /apollo-configservice/config/application-github.properties
subPath: application-github.properties
livenessProbe:
tcpSocket:
httpGet:
path: {{ .Values.configService.config.contextPath }}/health
port: {{ .Values.configService.containerPort }}
initialDelaySeconds: {{ .Values.configService.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.configService.liveness.periodSeconds }}
Expand Down
3 changes: 2 additions & 1 deletion charts/apollo/templates/portal/deployment-portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ spec:
subPath: {{ $fileName }}
{{- end }}
livenessProbe:
tcpSocket:
httpGet:
path: {{ .Values.portal.config.contextPath }}/health
port: {{ .Values.portal.containerPort }}
initialDelaySeconds: {{ .Values.portal.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.portal.liveness.periodSeconds }}
Expand Down

0 comments on commit b64a4ac

Please sign in to comment.