hello app, managed by argocd

This commit is contained in:
2026-08-26 13:37:34 +00:00
parent 2049b6d11e
commit b12f838b06
5 changed files with 53 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello
namespace: hello
spec:
replicas: 2
selector:
matchLabels: { app: hello }
template:
metadata:
labels: { app: hello }
spec:
containers:
- name: web
image: nginx:alpine
ports: [{ containerPort: 80 }]
volumeMounts:
- { name: page, mountPath: /usr/share/nginx/html }
resources:
requests: { cpu: 10m, memory: 16Mi }
limits: { cpu: 200m, memory: 128Mi }
volumes:
- name: page
configMap: { name: hello-page }