File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : coffee
5
+ spec :
6
+ replicas : 1
7
+ selector :
8
+ matchLabels :
9
+ app : coffee
10
+ template :
11
+ metadata :
12
+ labels :
13
+ app : coffee
14
+ spec :
15
+ containers :
16
+ - name : coffee
17
+ image : nginxdemos/nginx-hello:plain-text
18
+ ports :
19
+ - containerPort : 8080
20
+ ---
21
+ apiVersion : v1
22
+ kind : Service
23
+ metadata :
24
+ name : coffee
25
+ spec :
26
+ ports :
27
+ - port : 80
28
+ targetPort : 8080
29
+ protocol : TCP
30
+ name : http
31
+ selector :
32
+ app : coffee
33
+ ---
34
+ apiVersion : apps/v1
35
+ kind : Deployment
36
+ metadata :
37
+ name : tea
38
+ spec :
39
+ replicas : 1
40
+ selector :
41
+ matchLabels :
42
+ app : tea
43
+ template :
44
+ metadata :
45
+ labels :
46
+ app : tea
47
+ spec :
48
+ containers :
49
+ - name : tea
50
+ image : nginxdemos/nginx-hello:plain-text
51
+ ports :
52
+ - containerPort : 8080
53
+ ---
54
+ apiVersion : v1
55
+ kind : Service
56
+ metadata :
57
+ name : tea
58
+ spec :
59
+ ports :
60
+ - port : 80
61
+ targetPort : 8080
62
+ protocol : TCP
63
+ name : http
64
+ selector :
65
+ app : tea
You can’t perform that action at this time.
0 commit comments