From 68970a6465d56f36eeab31b10abd5c880b79beb7 Mon Sep 17 00:00:00 2001 From: Julien Leduc <julien.leduc@cern.ch> Date: Wed, 16 Jan 2019 01:28:05 +0100 Subject: [PATCH] Adding systemd-resolved to frontend as well --- .../docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh index 8be51f016c..162897b890 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh @@ -51,6 +51,10 @@ if [ "-${CI_CONTEXT}-" == '-nosystemd-' ]; then /opt/run/bin/ctafrontend_bt.sh sleep infinity else + # Add a DNS cache on the client as kubernetes DNS complains about `Nameserver limits were exceeded` + yum install -y systemd-resolved + systemctl start systemd-resolved + # systemd is available echo "Launching frontend with systemd:" systemctl start cta-frontend -- GitLab