orchestration-tests/k8s-test/services/whoami/deployment.yaml

23 lines
368 B
YAML

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