infrastructure/k8s/whoami/deployment.yml
2022-03-07 21:58:17 +00:00

24 lines
447 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
spec:
selector:
matchLabels:
app: whoami
replicas: 2
template:
metadata:
labels:
app: whoami
spec:
containers:
- name: whoami
image: traefik/whoami
readinessProbe:
httpGet:
path: /
port: 80
ports:
- containerPort: 80
imagePullPolicy: Always