Skip to content

Commit

Permalink
feat: improve the maxscale liveness check
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Carter <[email protected]>
  • Loading branch information
cloudnull committed Mar 24, 2024
1 parent da4d22f commit c825f69
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions kustomize/mariadb-cluster/base/mariadb-maxscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,24 @@ spec:
disable_master_role_setting: "false"
suspend: false

livenessProbe:
failureThreshold: 3
tcpSocket:
port: 8989
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5

readinessProbe:
failureThreshold: 3
tcpSocket:
port: 8989
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5

admin:
port: 8989
guiEnabled: false
Expand Down

0 comments on commit c825f69

Please sign in to comment.