Sanjeev Rampal b71f278202 Fixes for auth_proxy, vxlan mode 7 年之前
..
defaults b71f278202 Fixes for auth_proxy, vxlan mode 7 年之前
files b24037e7f7 Fix for issue 3541 8 年之前
handlers 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 年之前
meta b71f278202 Fixes for auth_proxy, vxlan mode 7 年之前
tasks b71f278202 Fixes for auth_proxy, vxlan mode 7 年之前
templates b71f278202 Fixes for auth_proxy, vxlan mode 7 年之前
README.md 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 年之前
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 年之前

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'
  • netmaster_interface=eth0
  • 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