aboutsummaryrefslogtreecommitdiff
path: root/srcs/wordpress/wordpress.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/wordpress/wordpress.yaml')
-rw-r--r--srcs/wordpress/wordpress.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/srcs/wordpress/wordpress.yaml b/srcs/wordpress/wordpress.yaml
index 5cd9323..17e260c 100644
--- a/srcs/wordpress/wordpress.yaml
+++ b/srcs/wordpress/wordpress.yaml
@@ -21,6 +21,14 @@ spec:
- image: wordpress-service
imagePullPolicy: Never
name: cacharle-wordpress-container
+ livenessProbe:
+ exec:
+ command:
+ - /bin/sh
+ - -c
+ - ps aux | grep -v grep | grep php-fpm
+ initialDelaySeconds: 5
+ periodSeconds: 5
---