22 lines
353 B
YAML
22 lines
353 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: whoami
|
|
labels:
|
|
app: whoami
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: whoami
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: whoami
|
|
spec:
|
|
containers:
|
|
- image: ghcr.io/traefik/whoami:v1.10.3
|
|
name: whoami
|
|
ports:
|
|
- containerPort: 80
|