@leverege/build-tools 2.21.13 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/server/build-tools.js +9 -0
- package/lib/server/firebaseDeploy.js +1 -1
- package/lib/server/overwhelm.js +10 -0
- package/lib/web/build-tools.js +9 -0
- package/lib/web/firebaseDeploy.js +1 -1
- package/lib/web/overwhelm.js +10 -0
- package/package.json +4 -4
- package/src/build-tools.js +10 -0
- package/src/firebaseDeploy.mjs +1 -1
- package/src/helmup +228 -135
- package/src/overwhelm.js +3 -0
- package/src/system-charts/elasticsearch-local.yaml +14 -0
- package/src/system-charts/elasticsearch.hup +18 -0
- package/src/system-charts/grafana.hup +15 -0
- package/src/system-charts/postgres-local.yaml +39 -0
- package/src/system-charts/postgres.hup +11 -0
- package/src/system-charts/prometheus-local.yaml +786 -0
- package/src/system-charts/prometheus.hup +15 -0
- package/src/system-charts/redis-local.yaml +62 -0
- package/src/system-charts/redis.hup +12 -0
- package/src/system-charts/timescale-db-local.yaml +44 -0
- package/src/system-charts/timescale-db.hup +10 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
#
|
|
3
|
+
showInstalling "Grafana"
|
|
4
|
+
|
|
5
|
+
createNamespaceIfNeeded monitoring
|
|
6
|
+
|
|
7
|
+
addHelmRepo grafana https://grafana.github.io/helm-charts
|
|
8
|
+
|
|
9
|
+
[ -z "$GRAFANA_HELM_CHART" ] && GRAFANA_HELM_CHART="6"
|
|
10
|
+
helm upgrade --install grafana grafana/grafana \
|
|
11
|
+
--namespace monitoring \
|
|
12
|
+
--values grafana/values-grafana.yaml \
|
|
13
|
+
--version $GRAFANA_HELM_CHART
|
|
14
|
+
|
|
15
|
+
removeHelmRepo grafana
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
postgresqlExtendedConf:
|
|
2
|
+
maxWorkerProcesses: 4
|
|
3
|
+
maxParallelWorkers: 4
|
|
4
|
+
maxConnections: 500
|
|
5
|
+
shared_buffers: 1GB
|
|
6
|
+
effectiveCacheSize: 4GB
|
|
7
|
+
maintenanceWorkMem: 1GB
|
|
8
|
+
workMem: 10MB
|
|
9
|
+
|
|
10
|
+
persistence:
|
|
11
|
+
storageClass: "ssd"
|
|
12
|
+
|
|
13
|
+
resources:
|
|
14
|
+
requests:
|
|
15
|
+
memory: 1Gi
|
|
16
|
+
cpu: 750m
|
|
17
|
+
|
|
18
|
+
postgresqlDatabase: authz
|
|
19
|
+
existingSecret: authz-postgres
|
|
20
|
+
|
|
21
|
+
metrics:
|
|
22
|
+
enabled: true
|
|
23
|
+
|
|
24
|
+
master:
|
|
25
|
+
tolerations:
|
|
26
|
+
- key: "database"
|
|
27
|
+
operator: "Equal"
|
|
28
|
+
value: "true"
|
|
29
|
+
effect: "NoSchedule"
|
|
30
|
+
|
|
31
|
+
affinity:
|
|
32
|
+
nodeAffinity:
|
|
33
|
+
requiredDuringSchedulingIgnoredDuringExecution:
|
|
34
|
+
nodeSelectorTerms:
|
|
35
|
+
- matchExpressions:
|
|
36
|
+
- key: target-env
|
|
37
|
+
operator: In
|
|
38
|
+
values:
|
|
39
|
+
- database
|