@@ -174,7 +174,8 @@ data:
174
174
# ALLOW_NAMESPACE_STRICT inherits the behaviors of ALLOW_NAMESPACE, and
175
175
# also restricts service talk to resources outside the cluster. By default,
176
176
# no baseline rule will be created and the cluster will assume the default
177
- # behavior as specified by the backend.
177
+ # behavior as specified by the backend. The option is only supported on
178
+ # Policy API.
178
179
# Choices: <None> allow_cluster allow_namespace allow_namespace_strict
179
180
#baseline_policy_type = <None>
180
181
@@ -184,19 +185,6 @@ data:
184
185
# using k8s event
185
186
#enable_ncp_event = False
186
187
187
- # Set this to True to enable multus to create multiple interfaces for one
188
- # pod. Requires policy_nsxapi set to True to take effect. If passthrough
189
- # interface is used as additional interface, user should deploy the network
190
- # device plugin to provide device allocation information for NCP. Pod
191
- # annotations with prefix "k8s.v1.cni.cncf.io" cannot be modified once pod
192
- # is realized. User defined IP will not be allocated from the Segment
193
- # IPPool. The "gateway" in NetworkAttachmentDefinition is not used to
194
- # configure secondary interfaces, as the default gateway of Pod is
195
- # configured by the primary CNI on the main network interface. User must
196
- # define IP and/or MAC if no "ipam" is configured. Only available if node
197
- # type is HOSTVM and not to be leveraged in conjunction with 3rd party CNI
198
- # plugin
199
- #enable_multus = False
200
188
201
189
# Set this to True to enable NSX restore support (only effective in NSX
202
190
# Policy API mode).
@@ -341,11 +329,12 @@ data:
341
329
#thumbprint = []
342
330
343
331
344
- # The time in seconds before aborting a HTTP connection to a NSX manager.
332
+ # The time in seconds before aborting a HTTP connection to NSX manager.
333
+ # Defaults to 10 seconds, minimum 5seconds.
345
334
#http_timeout = 10
346
335
347
- # The time in seconds before aborting a HTTP read response from a NSX
348
- # manager.
336
+ # The time in seconds (minimum 10 seconds) before aborting a HTTP read
337
+ # operation from NSX manager.
349
338
#http_read_timeout = 180
350
339
351
340
# Maximum number of times to retry a HTTP connection.
@@ -372,6 +361,7 @@ data:
372
361
#v6_subnet_prefix = 64
373
362
374
363
364
+
375
365
# Indicates whether distributed firewall DENY rules are logged.
376
366
#log_dropped_traffic = False
377
367
@@ -434,24 +424,35 @@ data:
434
424
435
425
436
426
427
+ # Option to use ip blocks in order when creating subnets. Default is set to
428
+ # false. If set to false, a random ip block will be selected from container
429
+ # ip blocks list. If set to true, first IP Block in the container_ip_blocks
430
+ # list that has the capacity to allow the creation of subnet will be
431
+ # selected. Note that if ip blocks were shared by multiple clusters then
432
+ # the selection in order is not guranteed.
433
+ #use_ip_blocks_in_order = False
434
+
437
435
# Name or ID of the container ip blocks that will be used for creating
438
436
# subnets. If name, it must be unique. If policy_nsxapi is enabled, it also
439
437
# support automatically creating the IP blocks. The definition is a comma
440
438
# separated list: CIDR,CIDR,... Mixing different formats (e.g. UUID,CIDR)
441
- # is not supported.
439
+ # is also supported.
442
440
#container_ip_blocks = []
443
441
444
442
# Resource ID of the container ip blocks that will be used for creating
445
443
# subnets for no-SNAT projects. If specified, no-SNAT projects will use
446
- # these ip blocks ONLY. Otherwise they will use container_ip_blocks
444
+ # these ip blocks ONLY. Otherwise they will use container_ip_blocks.If
445
+ # policy_nsxapi is enabled, it also support automatically creating the IP
446
+ # blocks. The definition is a comma separated list: CIDR,CIDR,... Mixing
447
+ # different formats (e.g. UUID,CIDR) is also supported.
447
448
#no_snat_ip_blocks = []
448
449
449
450
# Name or ID of the external ip pools that will be used for allocating IP
450
451
# addresses which will be used for translating container IPs via SNAT
451
452
# rules. If policy_nsxapi is enabled, it also support automatically
452
453
# creating the ip pools. The definition is a comma separated list:
453
454
# CIDR,IP_1-IP_2,... Mixing different formats (e.g. UUID, CIDR&IP_Range) is
454
- # not supported.
455
+ # also supported.
455
456
#external_ip_pools = []
456
457
457
458
@@ -472,7 +473,7 @@ data:
472
473
# allocating IP addresses for Ingress controller and LB service. If
473
474
# policy_nsxapi is enabled, it also supports automatically creating the ip
474
475
# pools. The definition is a comma separated list: CIDR,IP_1-IP_2,...
475
- # Mixing different formats (e.g. UUID, CIDR&IP_Range) is not supported.
476
+ # Mixing different formats (e.g. UUID, CIDR&IP_Range) is also supported.
476
477
#external_ip_pools_lb = []
477
478
478
479
# Name or ID of the NSX overlay transport zone that will be used for
@@ -563,24 +564,25 @@ data:
563
564
#failover_mode = NON_PREEMPTIVE
564
565
565
566
# Set this to ACTIVATE to enable NCP enforced pool member limit for all
566
- # load balancer servers in cluster. Set this to CRD_LB_ONLY will only
567
- # enforce the limit for load balancer servers created using lb CRD. Set
568
- # this to DEACTIVATE to turn off all limit checks. This option requires
569
- # relax_scale_validation set to True, l4_lb_auto_scaling set to False, and
567
+ # load balancer servers in cluster. Set this to DEACTIVATE to turn off all
568
+ # limit checks. This option requires l4_lb_auto_scaling set to False, and
570
569
# works on Policy API only. When activated, NCP will enforce a pool member
571
570
# limit on LBS to prevent one LBS from using up all resources on edge
572
- # nodes.
573
- # Choices: DEACTIVATE ACTIVATE CRD_LB_ONLY
571
+ # nodes. Also note that when relax_scale_validation is set to False and
572
+ # members_per_small_lbs or members_per_medium_lbs set to values higher than
573
+ # NSX scale limit, NSX scale check kicks in before NCP, making this config
574
+ # unnecessary.
575
+ # Choices: DEACTIVATE ACTIVATE
574
576
#ncp_enforced_pool_member_limit = DEACTIVATE
575
577
576
578
# Maximum number of pool member allowed for each small load balancer
577
- # service. Requires ncp_enforced_pool_member_limit set to ACTIVATE or
578
- # CRD_LB_ONLY to take effect .
579
+ # service. Requires ncp_enforced_pool_member_limit set to ACTIVATE to take
580
+ # effect. The value should be in range [1, 7500] .
579
581
#members_per_small_lbs = 2000
580
582
581
583
# Maximum number of pool member allowed for each medium load balancer
582
- # service. Requires ncp_enforced_pool_member_limit set to ACTIVATE or
583
- # CRD_LB_ONLY to take effect .
584
+ # service. Requires ncp_enforced_pool_member_limit set to ACTIVATE to take
585
+ # effect. The value should be in range [1, 7500] .
584
586
#members_per_medium_lbs = 2000
585
587
586
588
0 commit comments