-
Notifications
You must be signed in to change notification settings - Fork 1
/
scalardb-cluster-custom-values-indirect-mode.yaml
114 lines (96 loc) · 2.93 KB
/
scalardb-cluster-custom-values-indirect-mode.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
envoy:
enabled: true
replicaCount: 3
serviceMonitor:
enabled: false
prometheusRule:
enabled: false
grafanaDashboard:
enabled: false
service:
type: LoadBalancer
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- scalardb-cluster
- key: app.kubernetes.io/app
operator: In
values:
- envoy
topologyKey: kubernetes.io/hostname
weight: 50
scalardbCluster:
replicaCount: 3
logLevel: INFO
graphql:
enabled: false
service:
type: LoadBalancer
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
scalardbClusterNodeProperties: |
# Fixed values
scalar.db.cluster.membership.type=KUBERNETES
scalar.db.cluster.membership.kubernetes.endpoint.namespace_name=${env:SCALAR_DB_CLUSTER_MEMBERSHIP_KUBERNETES_ENDPOINT_NAMESPACE_NAME}
scalar.db.cluster.membership.kubernetes.endpoint.name=${env:SCALAR_DB_CLUSTER_MEMBERSHIP_KUBERNETES_ENDPOINT_NAME}
# # Cosmo DB for NoSQL
# # The Cosmos DB for NoSQL URI
# scalar.db.contact_points=<COSMOS_DB_FOR_NOSQL_URI>
#
# # The Cosmos DB for NoSQL key
# scalar.db.password=<COSMOS_DB_FOR_NOSQL_KEY>
#
# # Cosmos DB for NoSQL storage implementation
# scalar.db.storage=cosmos
# # DynamoDB
# # The AWS region
# scalar.db.contact_points=<REGION>
#
# # The AWS access key ID and secret access key
# scalar.db.username=<ACCESS_KEY_ID>
# scalar.db.password=<SECRET_ACCESS_KEY>
#
# # DynamoDB storage implementation
# scalar.db.storage=dynamo
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/name
operator: In
values:
- scalardb-cluster
- key: app.kubernetes.io/app
operator: In
values:
- scalardb-cluster
topologyKey: kubernetes.io/hostname
weight: 50
secretName: ""