Browse Source

Bug 1584609 - Update iptablesSyncPeriod in node-config.yaml

https://bugzilla.redhat.com/show_bug.cgi?id=1584609
Russell Teague 6 năm trước cách đây
mục cha
commit
906cc017e5

+ 2 - 0
roles/openshift_node_group/defaults/main.yml

@@ -14,3 +14,5 @@ openshift_node_group_use_persistentlocalvolumes: "{{ openshift_persistentlocalst
 openshift_node_group_name: 'node-config-compute'
 
 l_openshift_node_group_labels: []
+
+openshift_node_iptables_sync_period: '30s'

+ 1 - 1
roles/openshift_node_group/templates/node-config.yaml.j2

@@ -18,7 +18,7 @@ enableUnidling: true
 imageConfig:
   format: "{{ openshift_imageconfig_format }}"
   latest: false
-iptablesSyncPeriod: 30s
+iptablesSyncPeriod: "{{ openshift_node_iptables_sync_period }}"
 kubeletArguments:
 {% if openshift_use_crio | bool %}
   container-runtime: