-
Notifications
You must be signed in to change notification settings - Fork 134
/
expected.txt
64 lines (64 loc) · 1.36 KB
/
expected.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: apps/v1
kind: Deployment
metadata:
name: two-containers
spec:
template:
spec:
volumes:
- name: shared-data
emptyDir: {}
containers:
- name: nginx-container
image: nginx
volumeMounts:
- name: shared-data
mountPath: /usr/share/nginx/html
resources:
limits:
cpu: 100m
requests:
cpu: 100m
- name: debian-container
image: debian
volumeMounts:
- name: shared-data
mountPath: /pod-data
command:
- /bin/sh
args:
- -c
- echo Hello > /pod-data/index.html
resources:
limits:
cpu: 100m
requests:
cpu: 100m
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: another-two-containers
spec:
template:
spec:
containers:
- name: nginx-container
image: nginx
resources:
limits:
cpu: 100m
requests:
cpu: 100m
- name: debian-container
image: debian
command:
- /bin/sh
args:
- -c
- echo Hello
resources:
limits:
cpu: 100m
requests:
cpu: 100m