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

23 lines
368 B
YAML
Raw Normal View History

2022-02-16 17:56:18 +00:00
---
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