Skip to content

Commit 4bb1ca9

Browse files
Create deployment.yaml
1 parent d3dfe00 commit 4bb1ca9

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

deploy/deployment.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: ais-ifm
5+
labels:
6+
product: actimize
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
app: ais
12+
tier: web
13+
template:
14+
metadata:
15+
labels:
16+
app: ais
17+
tier: web
18+
spec:
19+
containers:
20+
- name: bootcamp-container
21+
image: jocatalin/kubernetes-bootcamp:v1
22+
ports:
23+
- containerPort: 8080
24+
resources:
25+
limits:
26+
cpu: 1000m
27+
memory: 600Mi
28+
requests:
29+
cpu: 500m
30+
memory: 300Mi
31+
- name: nginx-container
32+
image: nginx
33+
ports:
34+
- containerPort: 80
35+
resources:
36+
limits:
37+
cpu: 400m
38+
memory: 200Mi
39+
requests:
40+
cpu: 200m
41+
memory: 100Mi

0 commit comments

Comments
 (0)