-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscalardb-graphql-custom-values.yaml
63 lines (54 loc) · 1.39 KB
/
scalardb-graphql-custom-values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
replicaCount: 3
scalarDbGraphQlConfiguration:
#
# Specify the configuration of a database you use.
# The following is the example configuration of DynamoDB.
#
# contactPoints: <REGION>
# username: <AWS_ACCESS_KEY_ID>
# password: <AWS_ACCESS_SECRET_KEY>
# storage: dynamo
logLevel: INFO
path: /graphql
namespaces: "<comma-separated namespace list>"
graphiql: "true"
ingress:
enabled: true
className: alb
annotations:
# ALB
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/target-group-attributes: stickiness.enabled=true,stickiness.lb_cookie.duration_seconds=60
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/healthcheck-path: /graphql?query=%7B__typename%7D
hosts:
- host: ""
paths:
- path: /graphql
pathType: Exact
serviceMonitor:
enabled: false
prometheusRule:
enabled: false
grafanaDashboard:
enabled: false
resources:
requests:
cpu: 2000m
memory: 4Gi
limits:
cpu: 2000m
memory: 4Gi
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/app
operator: In
values:
- scalardb-graphql
topologyKey: kubernetes.io/hostname
weight: 50
existingSecret: ""