Last active
July 17, 2020 18:21
-
-
Save pulumipus/7e86db630aabd7e451ffced10c0277d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
containers: [ | |
// skip container configuration | |
livenessProbe: { | |
exec: { | |
command: ["sh", "-c", "exec mysqladmin status -uroot -p$MARIADB_ROOT_PASSWORD"], | |
}, | |
initialDelaySeconds: 120, | |
periodSeconds: 10, | |
timeoutSeconds: 1, | |
successThreshold: 1, | |
failureThreshold: 3 | |
}, | |
readinessProbe: { | |
exec: { | |
command: ["sh", "-c", "exec mysqladmin status -uroot -p$MARIADB_ROOT_PASSWORD"] | |
}, | |
initialDelaySeconds: 30, | |
periodSeconds: 10, | |
timeoutSeconds: 1, | |
successThreshold: 1, | |
failureThreshold: 3 | |
}, | |
volumeMounts: [ | |
{ | |
name: "data", | |
mountPath: "/bitnami/mariadb" | |
}, | |
{ | |
name: "config", | |
mountPath: "/opt/bitnami/mariadb/conf/my.cnf", | |
subPath: "my.cnf" | |
} | |
] | |
} | |
], | |
volumes: [ | |
{ | |
name: "config", | |
configMap: { | |
name: mariadbCM.metadata.name | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment