File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
articles/application-gateway/for-containers/examples/websocket-scenario Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Namespace
3
+ metadata :
4
+ name : test-infra
5
+ ---
6
+ apiVersion : apps/v1
7
+ kind : Deployment
8
+ metadata :
9
+ name : websocket-backend
10
+ namespace : test-infra
11
+ spec :
12
+ replicas : 1
13
+ selector :
14
+ matchLabels :
15
+ app : websocket-backend
16
+ template :
17
+ metadata :
18
+ labels :
19
+ app : websocket-backend
20
+ spec :
21
+ containers :
22
+ - name : websocket-backend
23
+ image : trafficcontrollertestimages.azurecr.io/images/websockets-test-backend:latest
24
+ imagePullPolicy : Always
25
+ ports :
26
+ - name : http
27
+ containerPort : 8080
28
+ protocol : TCP
29
+ resources :
30
+ requests :
31
+ cpu : 10m
32
+ ---
33
+ apiVersion : v1
34
+ kind : Service
35
+ metadata :
36
+ name : websocket-backend
37
+ namespace : test-infra
38
+ spec :
39
+ type : ClusterIP
40
+ ports :
41
+ - port : 8080
42
+ targetPort : http
43
+ protocol : TCP
44
+ name : http-back
45
+ selector :
46
+ app : websocket-backend
You can’t perform that action at this time.
0 commit comments