feat: add sample-webapp manifests for Argo CD

This commit is contained in:
Argo CD Setup
2026-02-01 19:18:50 +00:00
parent a4fd50c451
commit ad75d157a7
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sample-webapp
namespace: sample
labels:
app: sample-webapp
managed-by: argocd
spec:
replicas: 2
selector:
matchLabels:
app: sample-webapp
template:
metadata:
labels:
app: sample-webapp
spec:
containers:
- name: nginx
image: nginx:alpine
ports:
- containerPort: 80
resources:
requests:
memory: "32Mi"
cpu: "10m"
limits:
memory: "64Mi"
cpu: "100m"
volumeMounts:
- name: html
mountPath: /usr/share/nginx/html
volumes:
- name: html
configMap:
name: sample-webapp-html