Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[DCAE] Version updates for Kohn"
[oom.git]
/
kubernetes
/
common
/
mariadb-galera
/
values.yaml
diff --git
a/kubernetes/common/mariadb-galera/values.yaml
b/kubernetes/common/mariadb-galera/values.yaml
index
bc9273f
..
e9fe577
100644
(file)
--- a/
kubernetes/common/mariadb-galera/values.yaml
+++ b/
kubernetes/common/mariadb-galera/values.yaml
@@
-89,14
+89,14
@@
service:
headless: {}
internalPort: &dbPort 3306
ports:
headless: {}
internalPort: &dbPort 3306
ports:
- - name: mysql
+ - name:
tcp-
mysql
port: *dbPort
headlessPorts:
port: *dbPort
headlessPorts:
- - name: galera
+ - name:
tcp-
galera
port: 4567
port: 4567
- - name: ist
+ - name:
tcp-
ist
port: 4568
port: 4568
- - name: sst
+ - name:
tcp-
sst
port: 4444
port: 4444
@@
-174,6
+174,8
@@
galera:
# password:
# externalSecret:
# password:
# externalSecret:
+## The backup job will mount the mariadb data pvc in order to run mariabackup.
+## For this reason the db data pvc needs to have accessMode: ReadWriteMany.
backup:
enabled: false
cron: "00 00 * * *"
backup:
enabled: false
cron: "00 00 * * *"
@@
-378,8
+380,13
@@
updateStrategy:
## Additional pod annotations for MariaDB Galera pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
## Additional pod annotations for MariaDB Galera pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
+## -> here required to enable mariadb-galera in istio
##
##
-podAnnotations: {}
+podAnnotations:
+ # sidecar.istio.io/inject: "false"
+ traffic.sidecar.istio.io/excludeInboundPorts: "4444,4567,4568"
+ traffic.sidecar.istio.io/includeInboundPorts: '*'
+ traffic.sidecar.istio.io/excludeOutboundPorts: "4444,4567,4568"
## Pod affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Pod affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
@@
-458,11
+465,12
@@
persistence:
##
annotations:
## Persistent Volume Access Mode
##
annotations:
## Persistent Volume Access Mode
+ ## Use ReadWriteMany if backup is enabled, see backup section.
##
accessMode: ReadWriteOnce
## Persistent Volume size
##
##
accessMode: ReadWriteOnce
## Persistent Volume size
##
- size:
2
Gi
+ size:
3
Gi
## Additional pod labels
##
## Additional pod labels
##
@@
-501,14
+509,14
@@
livenessProbe:
enabled: true
initialDelaySeconds: 1
periodSeconds: 10
enabled: true
initialDelaySeconds: 1
periodSeconds: 10
- timeoutSeconds: 1
+ timeoutSeconds: 1
80
successThreshold: 1
failureThreshold: 3
readinessProbe:
enabled: true
initialDelaySeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
readinessProbe:
enabled: true
initialDelaySeconds: 1
periodSeconds: 10
- timeoutSeconds: 1
+ timeoutSeconds: 1
80
successThreshold: 1
failureThreshold: 3
startupProbe:
successThreshold: 1
failureThreshold: 3
startupProbe:
@@
-517,7
+525,7
@@
startupProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
- timeoutSeconds: 1
+ timeoutSeconds: 1
80
successThreshold: 1
# will wait up for initialDelaySeconds + failureThreshold*periodSeconds before
# stating startup wasn't good (910s per default)
successThreshold: 1
# will wait up for initialDelaySeconds + failureThreshold*periodSeconds before
# stating startup wasn't good (910s per default)
@@
-608,8
+616,8
@@
metrics:
## ServiceMonitor selector labels
## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration
##
## ServiceMonitor selector labels
## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration
##
- selector:
- prometheus: kube-prometheus
+
#
selector:
+
#
prometheus: kube-prometheus
## RelabelConfigs to apply to samples before scraping
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
## RelabelConfigs to apply to samples before scraping
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
@@
-641,7
+649,7
@@
metrics:
release: prometheus
## Rules as a map.
release: prometheus
## Rules as a map.
- rules:
{}
+ rules:
[]
# - alert: MariaDB-Down
# annotations:
# message: 'MariaDB instance {{ $labels.instance }} is down'
# - alert: MariaDB-Down
# annotations:
# message: 'MariaDB instance {{ $labels.instance }} is down'