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

27 lines
492 B
YAML

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