hello app, managed by argocd
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user