Skip to content

Commit e590477

Browse files
authored
Feature gap: Add maxInFlightRequests* and trafficDuration to BackendService and RegionBackendService (#15179)
Signed-off-by: Cezary Sobczak <[email protected]>
1 parent 8655bb0 commit e590477

File tree

4 files changed

+904
-0
lines changed

4 files changed

+904
-0
lines changed

mmv1/products/compute/BackendService.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,39 @@ properties:
311311
Used when balancingMode is UTILIZATION. This ratio defines the
312312
CPU utilization target for the group. Valid range is [0.0, 1.0].
313313
default_from_api: true
314+
- name: 'maxInFlightRequests'
315+
type: Integer
316+
description: |
317+
Defines a maximum number of in-flight requests for the whole NEG
318+
or instance group. Not available if backend's balancingMode is RATE
319+
or CONNECTION.
320+
default_from_api: true
321+
min_version: 'beta'
322+
- name: 'maxInFlightRequestsPerInstance'
323+
type: Integer
324+
description: |
325+
Defines a maximum number of in-flight requests for a single VM.
326+
Not available if backend's balancingMode is RATE or CONNECTION.
327+
default_from_api: true
328+
min_version: 'beta'
329+
- name: 'maxInFlightRequestsPerEndpoint'
330+
type: Integer
331+
description: |
332+
Defines a maximum number of in-flight requests for a single endpoint.
333+
Not available if backend's balancingMode is RATE or CONNECTION.
334+
default_from_api: true
335+
min_version: 'beta'
336+
- name: 'trafficDuration'
337+
type: Enum
338+
description: |
339+
This field specifies how long a connection should be kept alive for:
340+
- LONG: Most of the requests are expected to take more than multiple
341+
seconds to finish.
342+
- SHORT: Most requests are expected to finish with a sub-second latency.
343+
enum_values:
344+
- 'LONG'
345+
- 'SHORT'
346+
min_version: 'beta'
314347
- name: 'customMetrics'
315348
type: Array
316349
description: |

mmv1/products/compute/RegionBackendService.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,39 @@ properties:
317317
Used when balancingMode is UTILIZATION. This ratio defines the
318318
CPU utilization target for the group. Valid range is [0.0, 1.0].
319319
Cannot be set for INTERNAL backend services.
320+
- name: 'maxInFlightRequests'
321+
type: Integer
322+
description: |
323+
Defines a maximum number of in-flight requests for the whole NEG
324+
or instance group. Not available if backend's balancingMode is RATE
325+
or CONNECTION.
326+
default_from_api: true
327+
min_version: 'beta'
328+
- name: 'maxInFlightRequestsPerInstance'
329+
type: Integer
330+
description: |
331+
Defines a maximum number of in-flight requests for a single VM.
332+
Not available if backend's balancingMode is RATE or CONNECTION.
333+
default_from_api: true
334+
min_version: 'beta'
335+
- name: 'maxInFlightRequestsPerEndpoint'
336+
type: Integer
337+
description: |
338+
Defines a maximum number of in-flight requests for a single endpoint.
339+
Not available if backend's balancingMode is RATE or CONNECTION.
340+
default_from_api: true
341+
min_version: 'beta'
342+
- name: 'trafficDuration'
343+
type: Enum
344+
description: |
345+
This field specifies how long a connection should be kept alive for:
346+
- LONG: Most of the requests are expected to take more than multiple
347+
seconds to finish.
348+
- SHORT: Most requests are expected to finish with a sub-second latency.
349+
enum_values:
350+
- 'LONG'
351+
- 'SHORT'
352+
min_version: 'beta'
320353
- name: 'customMetrics'
321354
type: Array
322355
description: |

0 commit comments

Comments
 (0)