File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ apiVersion : cloud.google.com/v1
2+ kind : BackendConfig
3+ metadata :
4+ name : client-backendconfig
5+ spec :
6+ healthCheck :
7+ requestPath : /chat
8+ port : 3000
9+ type : HTTP
10+ checkIntervalSec : 15
11+ timeoutSec : 5
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ spec:
2525 name : prism-config
2626 livenessProbe :
2727 httpGet :
28- path : /
28+ path : /chat
2929 port : 3000
3030 initialDelaySeconds : 30
3131 periodSeconds : 10
3232 readinessProbe :
3333 httpGet :
34- path : /
34+ path : /chat
3535 port : 3000
3636 initialDelaySeconds : 5
3737 periodSeconds : 5
@@ -40,6 +40,9 @@ apiVersion: v1
4040kind : Service
4141metadata :
4242 name : client
43+ annotations :
44+ cloud.google.com/backend-config : ' {"default": "client-backendconfig"}'
45+ cloud.google.com/neg : ' {"ingress": true}'
4346spec :
4447 type : NodePort
4548 ports :
Original file line number Diff line number Diff line change 1+ apiVersion : cloud.google.com/v1
2+ kind : BackendConfig
3+ metadata :
4+ name : websocket-backendconfig
5+ spec :
6+ healthCheck :
7+ requestPath : /health
8+ port : 8080
9+ type : HTTP
10+ checkIntervalSec : 15
11+ timeoutSec : 5
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ apiVersion: v1
4141kind : Service
4242metadata :
4343 name : websocket
44+ annotations :
45+ cloud.google.com/backend-config : ' {"default": "websocket-backendconfig"}'
4446spec :
4547 type : NodePort
4648 ports :
You can’t perform that action at this time.
0 commit comments