healthcheck
This commit is contained in:
parent
f173f4b84e
commit
0fb9e93a14
2 changed files with 17 additions and 1 deletions
16
infrastructure/gatewayapi/healthcheck.yaml
Normal file
16
infrastructure/gatewayapi/healthcheck.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: networking.gke.io/v1
|
||||
kind: HealthCheckPolicy
|
||||
metadata:
|
||||
name: hermes-health-check
|
||||
namespace: customer1
|
||||
spec:
|
||||
default:
|
||||
config:
|
||||
type: HTTP
|
||||
httpHealthCheck:
|
||||
port: 9118
|
||||
requestPath: /telegram/webhook/default # Or any path that returns 200
|
||||
targetRef:
|
||||
group: ""
|
||||
kind: Service
|
||||
name: http-tele-webhook
|
||||
|
|
@ -3,4 +3,4 @@ kind: Kustomization
|
|||
resources:
|
||||
- apigateway.yaml
|
||||
- gateway-routes/
|
||||
|
||||
- healthcheck.yaml
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue