Use K8s 1.14 and add kubeadm experimental control plane mode (#4317)

* Use Kubernetes 1.14 and experimental control plane support

* bump to v1.14.0
This commit is contained in:
Matthew Mosesohn
2019-04-11 15:30:13 +03:00
committed by Kubernetes Prow Robot
parent 46ba6a4154
commit 316508626d
37 changed files with 297 additions and 401 deletions

View File

@@ -13,8 +13,7 @@
shell: "{{ bin_dir }}/calicoctl version | grep 'Cluster Version:' | awk '{ print $3}'"
register: calico_version_on_server
run_once: yes
delegate_to: "{{ groups['kube-master'][0] }}"
async: 10
async: 20
poll: 3
changed_when: false

View File

@@ -4,6 +4,8 @@
src: "cni-calico.conflist.j2"
dest: "/etc/cni/net.d/{% if calico_version is version('v3.3.0', '>=') %}calico.conflist.template{% else %}10-calico.conflist{% endif %}"
owner: kube
register: calico_conflist
notify: reset_calico_cni
- name: Calico | Create calico certs directory
file:
@@ -20,9 +22,9 @@
state: hard
force: yes
with_items:
- {s: "ca.pem", d: "ca_cert.crt"}
- {s: "node-{{ inventory_hostname }}.pem", d: "cert.crt"}
- {s: "node-{{ inventory_hostname }}-key.pem", d: "key.pem"}
- {s: "{{ kube_etcd_cacert_file }}", d: "ca_cert.crt"}
- {s: "{{ kube_etcd_cert_file }}", d: "cert.crt"}
- {s: "{{ kube_etcd_key_file }}", d: "key.pem"}
- name: Calico | Install calicoctl container script
template:

View File

@@ -13,4 +13,4 @@
register: calico_kubelet_name
delegate_to: "{{ groups['kube-master'][0] }}"
when:
- "cloud_provider is defined"
- "cloud_provider is defined"