From 3f9fa7fe60488c239f819bc256445971b86c35b7 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Mon, 25 May 2020 13:55:14 +0200 Subject: [PATCH] Add service type load balancer in external kubernetes Change-Id: Iab47337fdd14541aa979218e061799f11fc33d29 Signed-off-by: David Garcia --- installers/charmed_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/charmed_install.sh b/installers/charmed_install.sh index dad9f481..eb809d1d 100755 --- a/installers/charmed_install.sh +++ b/installers/charmed_install.sh @@ -44,7 +44,7 @@ function bootstrap_k8s_lxd(){ if [ -v KUBECFG ]; then cat $KUBECFG | juju add-k8s $K8S_CLOUD_NAME $ADD_K8S_OPTS - [ -v BOOTSTRAP_NEEDED ] && juju bootstrap $K8S_CLOUD_NAME $CONTROLLER_NAME + [ -v BOOTSTRAP_NEEDED ] && juju bootstrap $K8S_CLOUD_NAME $CONTROLLER_NAME --config controller-service-type=loadbalancer else sg microk8s -c "echo ${DEFAULT_IP}-${DEFAULT_IP} | microk8s.enable metallb" sg microk8s -c "microk8s.enable storage dns" -- 2.25.1