feat: update ingress health check (#7888)
This commit is contained in:
@@ -4,6 +4,10 @@ metadata:
|
|||||||
name: {{ include "graphql.fullname" . }}
|
name: {{ include "graphql.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "graphql.labels" . | nindent 4 }}
|
{{- include "graphql.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
4
.github/helm/affine/values.yaml
vendored
4
.github/helm/affine/values.yaml
vendored
@@ -36,14 +36,14 @@ graphql:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 3000
|
port: 3000
|
||||||
annotations:
|
annotations:
|
||||||
cloud.google.com/backend-config: '{"default": "affine-backendconfig"}'
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 3010
|
port: 3010
|
||||||
annotations:
|
annotations:
|
||||||
cloud.google.com/backend-config: '{"default": "affine-backendconfig"}'
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
||||||
|
|
||||||
web:
|
web:
|
||||||
service:
|
service:
|
||||||
|
|||||||
10
.github/helm/separate-config/backend-config.yaml
vendored
Normal file
10
.github/helm/separate-config/backend-config.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: cloud.google.com/v1
|
||||||
|
kind: BackendConfig
|
||||||
|
metadata:
|
||||||
|
name: "affine-api-backendconfig"
|
||||||
|
spec:
|
||||||
|
healthCheck:
|
||||||
|
timeoutSec: 1
|
||||||
|
type: HTTP
|
||||||
|
requestPath: /info
|
||||||
|
|
||||||
Reference in New Issue
Block a user