Merge pull request #708 from vwfs/cloud_network

Add support for cloud-provider based networking
This commit is contained in:
Smaine Kahlouch
2016-12-14 16:23:20 +01:00
committed by GitHub
6 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
---
- name: Cloud | Copy cni plugins from hyperkube
command: "/usr/bin/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /bin/cp -r /opt/cni/bin/. /cnibindir/"
register: cni_task_result
until: cni_task_result.rc == 0
retries: 4
delay: "{{ retry_stagger | random + 3 }}"
changed_when: false

View File

@@ -12,3 +12,5 @@ dependencies:
- role: network_plugin/canal
when: kube_network_plugin == 'canal'
tags: canal
- role: network_plugin/cloud
when: kube_network_plugin == 'cloud'