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