Skip to content

Commit

Permalink
allow specification of liveness & readiness probes schemes (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorcoding authored Dec 18, 2023
1 parent 380acba commit 7558064
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/centrifugo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: centrifugo
description: Centrifugo is a scalable real-time messaging server in language-agnostic way
version: 11.2.0
version: 11.2.1
appVersion: 5.1.2
home: https://centrifugal.dev
icon: https://centrifugal.dev/img/favicon.png
Expand Down
2 changes: 2 additions & 0 deletions charts/centrifugo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,14 @@ spec:
httpGet:
path: /health
port: {{ .Values.internalService.port }}
scheme: {{ .Values.internalService.probeScheme }}
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /health
port: {{ .Values.internalService.port }}
scheme: {{ .Values.internalService.probeScheme }}
initialDelaySeconds: 3
periodSeconds: 10
resources:
Expand Down
1 change: 1 addition & 0 deletions charts/centrifugo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ service:
internalService:
port: 9000
type: ClusterIP
probeScheme: HTTP
nodePort: ""
# Static NodePort, if set.
# nodePort: 30101
Expand Down

0 comments on commit 7558064

Please sign in to comment.