From fa30fec49e37eb463d019863b03f6ca2b9df49a6 Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Fri, 18 Sep 2020 15:19:59 +0300 Subject: [PATCH] [Mariadb] Add pykube-ng to maria Right now we are using nginx ingress as LB on top of mariadb, this adds aditional ovehead between client and server. Additionally there is no way to control master node with ingress, which creates backup procedure more complex. To avoid that alternative approach is proposed https://review.opendev.org/#/c/752679/, which allows to drop ingress. pykube-ng is needed to allow connecting to kubernetes from mariadb-controller pod that selects master node. Change-Id: I4e227c8c20e7409d1fc77d71ee0159aff5e07979 --- mariadb/Dockerfile.ubuntu_xenial | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mariadb/Dockerfile.ubuntu_xenial b/mariadb/Dockerfile.ubuntu_xenial index 3a79726b..18f1e6e2 100644 --- a/mariadb/Dockerfile.ubuntu_xenial +++ b/mariadb/Dockerfile.ubuntu_xenial @@ -13,7 +13,8 @@ RUN set -ex ;\ pip3 --no-cache-dir install --upgrade \ configparser \ iso8601 \ - kubernetes ;\ + kubernetes \ + pykube-ng ;\ apt-get clean -y ;\ rm -rf \ /var/cache/debconf/* \