diff options
author | Bogdan Dobrelya <bdobreli@redhat.com> | 2017-10-18 12:53:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-18 12:53:31 +0200 |
commit | d2ff422b284f04b8a19ad4c6aa388ba397d915e1 (patch) | |
tree | 18435f866cd081dfad3f0b37117ccd329afef09b /playbooks/provisioning/openstack/galaxy-requirements.yaml | |
parent | 0d2c1802e6e880030c64946691b0d9cad2c24b43 (diff) | |
download | openshift-d2ff422b284f04b8a19ad4c6aa388ba397d915e1.tar.gz openshift-d2ff422b284f04b8a19ad4c6aa388ba397d915e1.tar.bz2 openshift-d2ff422b284f04b8a19ad4c6aa388ba397d915e1.tar.xz openshift-d2ff422b284f04b8a19ad4c6aa388ba397d915e1.zip |
Add Flannel support (#814)
* Add flannel support
* Document Flannel SDN use case for a separate data network.
* Add post install step for flannel SDN
* Configure iptables rules as described for OCP 3.4 refarch
https://access.redhat.com/documentation/en-us/reference_architectures/2017/html/deploying_red_hat_openshift_container_platform_3.4_on_red_hat_openstack_platform_10/emphasis_manual_deployment_emphasis#run_ansible_installer
* Configure flannel interface options
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Use os_firewall from galaxy for required flannel rules
For flannel SDN:
* Add openshift-ansible as a galaxy dependency module.
* Use openshift-ansible/roles/os_firewall to apply DNS rules
for flanel SDN.
* Apply the remaining advanced rules with direct
iptables commands as os_firewall do not support advanced rules.
* Persist only iptables rules w/o dynamic KUBe rules. Those are
added runtime and need restoration after reboot or iptables restart.
* Configure and enable the masked iptables service on the app nodes.
Enable it to allow the in-memory rules to be persisted.
Disable firewalld, which is the expected default behavior of the
os_firewall module.
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Allow access from nodes to masters' port 2379 when using flannel
Flannel requires to gather information from etcd to configure and
assign the subnets in the nodes, therefore, allow access from nodes to port 2379/tcp to the master security group.
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'playbooks/provisioning/openstack/galaxy-requirements.yaml')
-rw-r--r-- | playbooks/provisioning/openstack/galaxy-requirements.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/provisioning/openstack/galaxy-requirements.yaml b/playbooks/provisioning/openstack/galaxy-requirements.yaml index 93dd14ec2..1d745dcc3 100644 --- a/playbooks/provisioning/openstack/galaxy-requirements.yaml +++ b/playbooks/provisioning/openstack/galaxy-requirements.yaml @@ -4,3 +4,7 @@ # From 'infra-ansible' - src: https://github.com/redhat-cop/infra-ansible version: master + +# From 'openshift-ansible' +- src: https://github.com/openshift/openshift-ansible + version: master |