mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 06:46:36 +01:00
upi/gcp: increase the NAT ports for control plane to 7168
This change increases the minimum ports per control-plane instance to allow much higher resiliency. It is based on #2376, which did the same for GCP IPI.
This commit is contained in:
@@ -45,6 +45,7 @@ def GenerateConfig(context):
|
||||
'name': context.properties['infra_id'] + '-nat-master',
|
||||
'natIpAllocateOption': 'MANUAL_ONLY',
|
||||
'natIps': ['$(ref.' + context.properties['infra_id'] + '-master-nat-ip.selfLink)'],
|
||||
'minPortsPerVm': 7168,
|
||||
'sourceSubnetworkIpRangesToNat': 'LIST_OF_SUBNETWORKS',
|
||||
'subnetworks': [{
|
||||
'name': '$(ref.' + context.properties['infra_id'] + '-master-subnet.selfLink)',
|
||||
@@ -54,6 +55,7 @@ def GenerateConfig(context):
|
||||
'name': context.properties['infra_id'] + '-nat-worker',
|
||||
'natIpAllocateOption': 'MANUAL_ONLY',
|
||||
'natIps': ['$(ref.' + context.properties['infra_id'] + '-worker-nat-ip.selfLink)'],
|
||||
'minPortsPerVm': 128,
|
||||
'sourceSubnetworkIpRangesToNat': 'LIST_OF_SUBNETWORKS',
|
||||
'subnetworks': [{
|
||||
'name': '$(ref.' + context.properties['infra_id'] + '-worker-subnet.selfLink)',
|
||||
|
||||
Reference in New Issue
Block a user