c12s-kubespray/roles/kubernetes/preinstall/tasks
unclejack e5d353d0a7 contiv network support (#1914)
* Add Contiv support

Contiv is a network plugin for Kubernetes and Docker. It supports
vlan/vxlan/BGP/Cisco ACI technologies. It support firewall policies,
multiple networks and bridging pods onto physical networks.

* Update contiv version to 1.1.4

Update contiv version to 1.1.4 and added SVC_SUBNET in contiv-config.

* Load openvswitch module to workaround on CentOS7.4

* Set contiv cni version to 0.1.0

Correct contiv CNI version to 0.1.0.

* Use kube_apiserver_endpoint for K8S_API_SERVER

Use kube_apiserver_endpoint as K8S_API_SERVER to make contiv talks
to a available endpoint no matter if there's a loadbalancer or not.

* Make contiv use its own etcd

Before this commit, contiv is using a etcd proxy mode to k8s etcd,
this work fine when the etcd hosts are co-located with contiv etcd
proxy, however the k8s peering certs are only in etcd group, as a
result the etcd-proxy is not able to peering with the k8s etcd on
etcd group, plus the netplugin is always trying to find the etcd
endpoint on localhost, this will cause problem for all netplugins
not runnign on etcd group nodes.
This commit make contiv uses its own etcd, separate from k8s one.
on kube-master nodes (where net-master runs), it will run as leader
mode and on all rest nodes it will run as proxy mode.

* Use cp instead of rsync to copy cni binaries

Since rsync has been removed from hyperkube, this commit changes it
to use cp instead.

* Make contiv-etcd able to run on master nodes

* Add rbac_enabled flag for contiv pods

* Add contiv into CNI network plugin lists

* migrate contiv test to tests/files

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>

* Add required rules for contiv netplugin

* Better handling json return of fwdMode

* Make contiv etcd port configurable

* Use default var instead of templating

* roles/download/defaults/main.yml: use contiv 1.1.7

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-11-29 14:24:16 +00:00
..
azure-credential-check.yml Adding yamllinter to ci steps (#1556) 2017-08-24 12:09:52 +03:00
dhclient-hooks-undo.yml rename almost all mentions of kargo 2017-06-16 13:25:46 -04:00
dhclient-hooks.yml This continues the DHCP hook checks. Also protect the create side 2017-01-31 09:56:27 -06:00
etchosts.yml Defaults for apiserver_loadbalancer_domain_name (#1993) 2017-11-23 16:15:48 +00:00
growpart-azure-centos-7.yml Cleanup legacy syntax, spacing, files all to yml 2017-02-17 16:22:34 -05:00
main.yml contiv network support (#1914) 2017-11-29 14:24:16 +00:00
openstack-credential-check.yml Fix openstack tenant id variable name (#1932) 2017-11-05 08:40:41 +00:00
resolvconf.yml Condense resolvconf sources before starting loop 2017-03-17 13:06:56 +03:00
set_facts.yml Normalize tags in all places to prepare for tag fixing in future (#1739) 2017-10-05 08:43:04 +01:00
set_resolv_facts.yml Rename dns_server, add var for selinux. (#1572) 2017-10-11 20:40:21 +01:00
verify-settings.yml Revert "Support for disabling apiserver insecure port" (#1974) 2017-11-14 13:41:28 +00:00
vsphere-credential-check.yml Adding yamllinter to ci steps (#1556) 2017-08-24 12:09:52 +03:00