From: David Garcia Date: Mon, 25 May 2020 11:55:14 +0000 (+0200) Subject: Add service type load balancer in external kubernetes X-Git-Tag: v7.1.0rc2^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=3f9fa7fe60488c239f819bc256445971b86c35b7;p=osm%2Fdevops.git Add service type load balancer in external kubernetes Change-Id: Iab47337fdd14541aa979218e061799f11fc33d29 Signed-off-by: David Garcia --- 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"