Skip to content

Commit c7d8328

Browse files
author
100daysofdevops
committed
adding yamls files for argocd
1 parent 0180b2d commit c7d8328

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

argocd_demo/yamls/deployment.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
app: my-nginx
7+
name: my-nginx
8+
spec:
9+
replicas: 3
10+
selector:
11+
matchLabels:
12+
app: my-nginx
13+
strategy: {}
14+
template:
15+
metadata:
16+
creationTimestamp: null
17+
labels:
18+
app: my-nginx
19+
spec:
20+
containers:
21+
- image: nginx
22+
name: nginx
23+
resources: {}
24+
status: {}

argocd_demo/yamls/service.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: my-nginx-service
5+
spec:
6+
type: NodePort
7+
selector:
8+
app: nginx
9+
ports:
10+
- port: 80
11+
targetPort: 80
12+
nodePort: 30007

0 commit comments

Comments
 (0)