feat: add sample-webapp manifests for Argo CD
This commit is contained in:
37
apps/sample-webapp/deployment.yaml
Normal file
37
apps/sample-webapp/deployment.yaml
Normal 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
|
||||
Reference in New Issue
Block a user