Skip to content

Commit 0ec71c0

Browse files
authored
Create Deployment.yaml
1 parent e24aa0e commit 0ec71c0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Deployment.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
app: react-webapp
7+
name: react-webapp
8+
spec:
9+
replicas: 2
10+
selector:
11+
matchLabels:
12+
app: react-webapp
13+
strategy: {}
14+
template:
15+
metadata:
16+
creationTimestamp: null
17+
labels:
18+
app: react-webapp
19+
spec:
20+
tolerations:
21+
- key: node-role.kubernetes.io/control-plane
22+
operator: Exists
23+
effect: NoSchedule
24+
containers:
25+
- image: 10449/angular:latest
26+
name: webapp
27+
imagePullPolicy: Always
28+
resources: {}
29+
ports:
30+
- containerPort: 5200
31+
status: {}

0 commit comments

Comments
 (0)