summaryrefslogtreecommitdiffstats
path: root/vagrant/playbooks
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-12-18 22:33:06 -0800
committerVictor Morales <victor.morales@intel.com>2019-01-03 11:16:19 -0800
commit159eb9811ee7de4e99efc8f8a8404a2a9f455d70 (patch)
treed3a6ded9e39f8de76da02688d95802549ef2afb3 /vagrant/playbooks
parent881691b184661e460d3f6973d535a231e5d089de (diff)
Bump kubernetes client to 1.12.3
Bumping up the kubernetes client library used to kubernetes 1.12.3 We will move it to v10.0.0 once our k8s deployment moves to 1.13.0 Bumping kubectl version to 1.12.2 as andrewrothstein/ansible-kubectl does not have 1.12.3 in its main.yml Issue-ID: MULTICLOUD-301 Change-Id: Ifb2eaecb794bfdec19d631fdc9ece051d5ebfc60 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'vagrant/playbooks')
-rw-r--r--vagrant/playbooks/configure-virtlet.yml5
-rw-r--r--vagrant/playbooks/krd-vars.yml2
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