From: Andreas Geissler Date: Fri, 8 Jul 2022 07:09:00 +0000 (+0200) Subject: [COMMON][MARIABD] Fix MariaDB ServiceMesh compatibility X-Git-Tag: 11.0.0~107 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=23b51ea99e9a6410de0d913b4a3a6140f4e5ef03;hp=-c;p=oom.git [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 Change-Id: I9e839e019c948614fea7d4b3b5930270f7e7a7c6 --- 23b51ea99e9a6410de0d913b4a3a6140f4e5ef03 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