summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates/node.yaml.v1.j2
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-11-04 22:34:39 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-11-04 22:34:39 -0500
commitf8618fc13af95613de5f022dd1855af7309c7d7c (patch)
tree750b52e73d0a038ca4230b957181736bd0465b11 /roles/openshift_node/templates/node.yaml.v1.j2
parent9dff4e68bf1e40fac6b8e957f06a06b420a0e887 (diff)
downloadopenshift-f8618fc13af95613de5f022dd1855af7309c7d7c.tar.gz
openshift-f8618fc13af95613de5f022dd1855af7309c7d7c.tar.bz2
openshift-f8618fc13af95613de5f022dd1855af7309c7d7c.tar.xz
openshift-f8618fc13af95613de5f022dd1855af7309c7d7c.zip
Bug 1277592 - SDN MTU has hardcoded default
- Attempt to detect the MTU of the interface associated with the node IP and set the default for sdn_mtu accordingly. The value can still be overriden by users and if detection fails the previous default of 1450 is still used.
Diffstat (limited to 'roles/openshift_node/templates/node.yaml.v1.j2')
-rw-r--r--roles/openshift_node/templates/node.yaml.v1.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/node.yaml.v1.j2 b/roles/openshift_node/templates/node.yaml.v1.j2
index 4931d127e..509cce2e0 100644
--- a/roles/openshift_node/templates/node.yaml.v1.j2
+++ b/roles/openshift_node/templates/node.yaml.v1.j2
@@ -22,6 +22,7 @@ networkConfig:
{% if openshift.common.use_openshift_sdn %}
networkPluginName: {{ openshift.common.sdn_network_plugin_name }}
{% endif %}
+nodeIP: {{ openshift.common.ip }}
nodeName: {{ openshift.common.hostname | lower }}
podManifestConfig:
servingInfo: