Vadim Rutkovsky 3a7ba6d44c Force creating hard- and softlinks 6 years ago
..
defaults 0bb013f186 Cleanup systemcontainer bits 7 years ago
files b24037e7f7 Fix for issue 3541 8 years ago
handlers add9f534ee Flush ansible handlers before running restart service tasks in contiv 7 years ago
meta 6daf71565f Contiv multi-master and other fixes 7 years ago
tasks 3a7ba6d44c Force creating hard- and softlinks 6 years ago
templates a6860728cf Use Contiv version 1.2.0 7 years ago
README.md 6daf71565f Contiv multi-master and other fixes 7 years ago
contiv-openshift-vlan-network.png 58818a6af1 Combined (squashed) commit for all changes related to adding Contiv support into Openshift Ansible. This is the first (beta) release of Contiv with Openshift and is only supported for Openshift Origin + Bare metal deployments at the time of this commit. Please refer to the Openshift and Contiv official documentation for details of the level of support for different features and modes of operation. 8 years ago

README.md

Contiv

Install Contiv components (netmaster, netplugin, contiv_etcd) on Master and Minion nodes

Requirements

  • Ansible 2.2
  • Centos/ RHEL

Current Contiv restrictions when used with Openshift

  • Openshift Origin only
  • VLAN encap mode only (default for Openshift Ansible)
  • Bare metal deployments only
  • Requires additional network configuration on the external physical routers (ref. Openshift docs Contiv section)

Key Ansible inventory configuration parameters

  • openshift_use_contiv=True
  • openshift_use_openshift_sdn=False
  • os_sdn_network_plugin_name='cni'
  • contiv_netmaster_interface=eth0
  • contiv_netplugin_interface=eth1
  • ref. Openshift docs Contiv section for more details

Example bare metal deployment of Openshift + Contiv

  • Example bare metal deployment

Screenshot

  • contiv241 is a Master + minion node
  • contiv242 and contiv243 are minion nodes
  • VLANs 1001, 1002 used for contiv container networks
  • VLAN 10 used for cluster-internal host network
  • VLANs added to isolated VRF on external physical switch
  • Static routes added on external switch as shown to allow routing between host and container networks
  • External switch also used for public internet access