summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-01-16 13:50:18 -0500
committerGitHub <noreply@github.com>2017-01-16 13:50:18 -0500
commitb01d19b5a37330c4b3fea5f1f54efd6ef0e207c0 (patch)
tree52922092a2676b14b77b38a4ecad8200cec79258 /roles/openshift_node
parente68f1946e665c2d0f8af0fdb96c96d966a4353ef (diff)
parentd9fe14e9b53590d7949cbdd53cedb89bbc0ee037 (diff)
downloadopenshift-b01d19b5a37330c4b3fea5f1f54efd6ef0e207c0.tar.gz
openshift-b01d19b5a37330c4b3fea5f1f54efd6ef0e207c0.tar.bz2
openshift-b01d19b5a37330c4b3fea5f1f54efd6ef0e207c0.tar.xz
openshift-b01d19b5a37330c4b3fea5f1f54efd6ef0e207c0.zip
Merge pull request #3096 from abutcher/node_ports
Support openshift_node_port_range for configuring service NodePorts
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/meta/main.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/roles/openshift_node/meta/main.yml b/roles/openshift_node/meta/main.yml
index 56dee2958..91f118191 100644
--- a/roles/openshift_node/meta/main.yml
+++ b/roles/openshift_node/meta/main.yml
@@ -31,6 +31,15 @@ dependencies:
port: 10255/tcp
- service: Openshift kubelet ReadOnlyPort udp
port: 10255/udp
+- role: os_firewall
+ os_firewall_allow:
- service: OpenShift OVS sdn
port: 4789/udp
- when: openshift.node.use_openshift_sdn | bool
+ when: openshift.common.use_openshift_sdn | bool
+- role: os_firewall
+ os_firewall_allow:
+ - service: Kubernetes service NodePort TCP
+ port: "{{ openshift_node_port_range | default('') }}/tcp"
+ - service: Kubernetes service NodePort UDP
+ port: "{{ openshift_node_port_range | default('') }}/udp"
+ when: openshift_node_port_range is defined