aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-07-08 09:09:00 +0200
committerFiachra Corcoran <fiachra.corcoran@est.tech>2022-07-08 12:02:49 +0000
commit23b51ea99e9a6410de0d913b4a3a6140f4e5ef03 (patch)
tree6636f699fb6d694d1bd62b12bcfc3edb60867cd7 /kubernetes/common/mariadb-galera
parentd32b273cbd16058d4d22448766c06c68e38e90af (diff)
[COMMON][MARIABD] Fix MariaDB ServiceMesh compatibility
Update the pod annotations to exclude the cluster communication ports from the SM sidecars. Fix mysql protocol setup fodddr istio and update mariadb-init job to support istio sidecar communication. This is separated from a patch for CDS SM compatibility Issue-ID: OOM-2820 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I9e839e019c948614fea7d4b3b5930270f7e7a7c6
Diffstat (limited to 'kubernetes/common/mariadb-galera')
-rw-r--r--kubernetes/common/mariadb-galera/values.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml
index d719fb30bd..e9fe577233 100644
--- a/kubernetes/common/mariadb-galera/values.yaml
+++ b/kubernetes/common/mariadb-galera/values.yaml
@@ -384,8 +384,9 @@ updateStrategy:
##
podAnnotations:
# sidecar.istio.io/inject: "false"
- traffic.sidecar.istio.io/excludeInboundPorts: "4568"
+ 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