Skip to content

Commit db649ba

Browse files
authored
Create deployment-patch.yaml
1 parent be07c45 commit db649ba

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: patch-demo
5+
spec:
6+
replicas: 2
7+
selector:
8+
matchLabels:
9+
app: nginx
10+
template:
11+
metadata:
12+
labels:
13+
app: nginx
14+
spec:
15+
containers:
16+
- name: patch-demo-ctr
17+
image: nginx
18+
tolerations:
19+
- effect: NoSchedule
20+
key: dedicated
21+
value: test-team

0 commit comments

Comments
 (0)