diff options
Diffstat (limited to 'vagrant/playbooks')
-rw-r--r-- | vagrant/playbooks/configure-virtlet.yml | 5 | ||||
-rw-r--r-- | vagrant/playbooks/krd-vars.yml | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/vagrant/playbooks/configure-virtlet.yml b/vagrant/playbooks/configure-virtlet.yml index 66deb5cb..44c87a48 100644 --- a/vagrant/playbooks/configure-virtlet.yml +++ b/vagrant/playbooks/configure-virtlet.yml @@ -128,9 +128,10 @@ path: "{{ virtlet_dest }}/virtletctl" mode: "+x" - name: install virtletctl as kubectl plugin - command: "{{ virtlet_dest }}/virtletctl install" + become: yes + command: "mv {{ virtlet_dest }}/virtletctl /usr/local/bin/kubectl-virt" - name: create Virtlet k8s objects - shell: "/usr/local/bin/kubectl plugin virt gen | /usr/local/bin/kubectl apply -f -" + shell: "/usr/local/bin/kubectl virt gen | /usr/local/bin/kubectl apply -f -" ignore_errors: True - name: wait for Virtlet daemonset shell: "/usr/local/bin/kubectl get ds virtlet -n=kube-system -o=jsonpath --template={.status.numberReady}" diff --git a/vagrant/playbooks/krd-vars.yml b/vagrant/playbooks/krd-vars.yml index 15b7a1a4..0107f267 100644 --- a/vagrant/playbooks/krd-vars.yml +++ b/vagrant/playbooks/krd-vars.yml @@ -59,5 +59,5 @@ ovn4nfv_url: "https://git.opnfv.org/ovn4nfv-k8s-plugin/" go_version: '1.11' kubespray_version: 2.8.0 -kubectl_version: 1.11.2 +kubectl_version: 1.12.2 helm_client_version: 2.9.1 |