24 lines
620 B
YAML
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: 3
|
|
selector:
|
|
matchLabels:
|
|
app: gitops-demo
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: gitops-demo
|
|
spec:
|
|
containers:
|
|
- name: whoami
|
|
image: traefik/whoami:latest
|
|
ports:
|
|
- containerPort: 80
|