summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml2
-rwxr-xr-xci/k8.sh4
2 files changed, 4 insertions, 2 deletions
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