diff options
author | Scott Dodson <sdodson@redhat.com> | 2015-09-01 16:34:01 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2015-09-02 12:44:34 -0400 |
commit | c28aea2f19b6aea729f27b636e5318ac775addb6 (patch) | |
tree | 127d941412bdb2d201f5cb954b3b1f5411f92212 /roles/openshift_node/templates | |
parent | 32578c30f370d05dd472d07d07d7b934fd9c1510 (diff) | |
download | openshift-c28aea2f19b6aea729f27b636e5318ac775addb6.tar.gz openshift-c28aea2f19b6aea729f27b636e5318ac775addb6.tar.bz2 openshift-c28aea2f19b6aea729f27b636e5318ac775addb6.tar.xz openshift-c28aea2f19b6aea729f27b636e5318ac775addb6.zip |
Add openshift_node_sdn_mtu configuration
Sync's with Origin 1.0.6 and OSE 3.0.2 node-config.yaml networkConfig changes
Fixes #534
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r-- | roles/openshift_node/templates/node.yaml.v1.j2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/roles/openshift_node/templates/node.yaml.v1.j2 b/roles/openshift_node/templates/node.yaml.v1.j2 index e176e7511..0f708fb55 100644 --- a/roles/openshift_node/templates/node.yaml.v1.j2 +++ b/roles/openshift_node/templates/node.yaml.v1.j2 @@ -13,6 +13,11 @@ kubeletArguments: {{ openshift.node.kubelet_args | to_json }} {% endif %} masterKubeConfig: system:node:{{ openshift.common.hostname }}.kubeconfig networkPluginName: {{ openshift.common.sdn_network_plugin_name }} +# networkConfig struct introduced in origin 1.0.6 and OSE 3.0.2 which +# deprecates networkPluginName above. The two should match. +networkConfig: + mtu: {{ openshift.node.sdn_mtu }} + networkPluginName: {{ openshift.common.sdn_network_plugin_name }} nodeName: {{ openshift.common.hostname }} podManifestConfig: servingInfo: @@ -21,4 +26,4 @@ servingInfo: clientCA: ca.crt keyFile: server.key volumeDirectory: {{ openshift_data_dir }}/openshift.local.volumes -{% include 'partials/kubeletArguments.j2' %}
\ No newline at end of file +{% include 'partials/kubeletArguments.j2' %} |