Skip to content

Commit 4aa1936

Browse files
authored
Create nginx-with-request.yaml
1 parent 7a85ca8 commit 4aa1936

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: nginx-deployment
5+
spec:
6+
selector:
7+
matchLabels:
8+
app: nginx
9+
replicas: 2
10+
template:
11+
metadata:
12+
labels:
13+
app: nginx
14+
spec:
15+
containers:
16+
- name: nginx
17+
image: nginx
18+
resources:
19+
limits:
20+
memory: "128Mi"
21+
cpu: "500m"
22+
ports:
23+
- containerPort: 80

0 commit comments

Comments
 (0)