File tree 1 file changed +46
-0
lines changed
controllers/nginx/examples
1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : extensions/v1beta1
2
+ kind : Deployment
3
+ metadata :
4
+ name : echoheaders
5
+ spec :
6
+ replicas : 1
7
+ template :
8
+ metadata :
9
+ labels :
10
+ app : echoheaders
11
+ spec :
12
+ containers :
13
+ - name : echoheaders
14
+ image : gcr.io/google_containers/echoserver:1.8
15
+ ports :
16
+ - containerPort : 8080
17
+ ---
18
+ apiVersion : v1
19
+ kind : Service
20
+ metadata :
21
+ name : echoheaders-x
22
+ labels :
23
+ app : echoheaders-x
24
+ spec :
25
+ ports :
26
+ - port : 80
27
+ targetPort : 8080
28
+ protocol : TCP
29
+ name : http
30
+ selector :
31
+ app : echoheaders
32
+ ---
33
+ apiVersion : v1
34
+ kind : Service
35
+ metadata :
36
+ name : echoheaders-y
37
+ labels :
38
+ app : echoheaders-y
39
+ spec :
40
+ ports :
41
+ - port : 80
42
+ targetPort : 8080
43
+ protocol : TCP
44
+ name : http
45
+ selector :
46
+ app : echoheaders
You can’t perform that action at this time.
0 commit comments