From: Narinder Gupta Date: Thu, 2 Mar 2017 10:34:13 +0000 (-0600) Subject: fix the LB bundle for K8. X-Git-Tag: danube.1.0~16 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F29627%2F2;p=joid.git fix the LB bundle for K8. Change-Id: I8f6cc277d6b16f7bd19e999122f9b2967c139395 Signed-off-by: Narinder Gupta --- diff --git a/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml b/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml index d79c5962..bd5ce815 100644 --- a/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml +++ b/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml @@ -8,7 +8,7 @@ to: {% if k8.feature.loadbalancer %} {% for unit_id in to_select() %} - - "nodes/{{ unit_id }}" + - "lxd:nodes/0" {% endfor %} {% else %} - "nodes/0" diff --git a/ci/k8.sh b/ci/k8.sh index b312a84e..3058933d 100755 --- a/ci/k8.sh +++ b/ci/k8.sh @@ -1,5 +1,7 @@ #!/bin/bash set -ex +juju run-action kubernetes-worker/0 microbot replicas=3 +sleep 30 mkdir -p ~/.kube || true juju scp kubernetes-master/0:config ~/.kube/config || true juju scp kubernetes-master/0:kubectl ./kubectl || true @@ -10,5 +12,5 @@ juju config kubernetes-master enable-dashboard-addons=true || true ./kubectl get nodes || true #./kubectl create -f example.yaml || true ./kubectl get pods --all-namespaces || true -./kubectl get services --all-namespaces || true +./kubectl get services,endpoints,ingress --all-namespaces || true juju expose kubernetes-worker || true