services/srcs/wordpress/deployment.yaml
2023-03-01 04:35:44 +01:00

27 lines
498 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: wordpress
labels:
app: wordpress
spec:
replicas: 1
selector:
matchLabels:
app: wordpress
template:
metadata:
labels:
app: wordpress
spec:
containers:
- name: wordpress
image: wordpress
imagePullPolicy: Never
livenessProbe:
exec:
command:
- /bin/sh
- -c
- 'pgrep telegraf && pgrep php-fpm7 && pgrep nginx'