k8sConfigs/whoami/whoami_deployment.yaml
2025-01-23 01:35:27 +08:00

21 lines
330 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami-deployment
spec:
replicas: 3
selector:
matchLabels:
app: whoami
template:
metadata:
labels:
app: whoami
spec:
containers:
- name: whoami
image: traefik/whoami:latest
ports:
- containerPort: 80