commit fa30fec49e37eb463d019863b03f6ca2b9df49a6 Author: Vasyl Saienko Date: Fri Sep 18 15:19:59 2020 +0300 [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 diff --git a/mariadb/Dockerfile.ubuntu_xenial b/mariadb/Dockerfile.ubuntu_xenial index 3a79726..18f1e6e 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/* \