Files
k3s-manifests/gitops-demo/dev/deployment.yaml
2026-07-19 02:33:48 +07:00

24 lines
620 B
YAML

# Plain Deployment — note there is NO `namespace:` here. ArgoCD places it in the
# namespace named by the Application's destination (dev). Leaving it out keeps
# these manifests reusable for prod later (a prod Application would drop the
# same files into the prd namespace).
apiVersion: apps/v1
kind: Deployment
metadata:
name: gitops-demo
spec:
replicas: 1
selector:
matchLabels:
app: gitops-demo
template:
metadata:
labels:
app: gitops-demo
spec:
containers:
- name: whoami
image: traefik/whoami:latest
ports:
- containerPort: 80