Use k8s 1.13 in devstack

Change-Id: I718a7f009f1b21bdc0092f97767db275ca7b1614
(cherry picked from commit de1d83bf59)
This commit is contained in:
Lingxian Kong 2019-05-17 09:33:45 +12:00
parent 63ae75a02e
commit 468379a10f
3 changed files with 7 additions and 10 deletions

View File

@ -1,3 +1,3 @@
---
k8s_version: "1.11.0"
k8s_version: "1.13.6"
kube_prompt_version: "v1.0.5"

View File

@ -1,2 +1,2 @@
---
k8s_version: "1.11.0"
k8s_version: "1.13.6"

View File

@ -36,11 +36,8 @@
- name: Allow pod on master
shell: kubectl taint nodes --all node-role.kubernetes.io/master-
- name: Download calico yaml
get_url:
url: https://docs.projectcalico.org/v2.6/getting-started/kubernetes/installation/hosted/kubeadm/1.6/calico.yaml
dest: "{{ ansible_env.HOME }}/calico.yaml"
force: no
- name: Install network plugin
shell: kubectl apply -f {{ ansible_env.HOME }}/calico.yaml
- name: Install Calico
shell: kubectl apply -f {{ item }}
loop:
- https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml
- https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/hosted/kubernetes-datastore/calico-networking/1.7/calico.yaml