kuma

Форк
0
/
kuma.io_meshcircuitbreakers.yaml 
684 строки · 42.6 Кб
1
---
2
apiVersion: apiextensions.k8s.io/v1
3
kind: CustomResourceDefinition
4
metadata:
5
  annotations:
6
    controller-gen.kubebuilder.io/version: v0.14.0
7
  name: meshcircuitbreakers.kuma.io
8
spec:
9
  group: kuma.io
10
  names:
11
    categories:
12
    - kuma
13
    kind: MeshCircuitBreaker
14
    listKind: MeshCircuitBreakerList
15
    plural: meshcircuitbreakers
16
    singular: meshcircuitbreaker
17
  scope: Namespaced
18
  versions:
19
  - additionalPrinterColumns:
20
    - jsonPath: .spec.targetRef.kind
21
      name: TargetRef Kind
22
      type: string
23
    - jsonPath: .spec.targetRef.name
24
      name: TargetRef Name
25
      type: string
26
    name: v1alpha1
27
    schema:
28
      openAPIV3Schema:
29
        properties:
30
          apiVersion:
31
            description: |-
32
              APIVersion defines the versioned schema of this representation of an object.
33
              Servers should convert recognized schemas to the latest internal value, and
34
              may reject unrecognized values.
35
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
36
            type: string
37
          kind:
38
            description: |-
39
              Kind is a string value representing the REST resource this object represents.
40
              Servers may infer this from the endpoint the client submits requests to.
41
              Cannot be updated.
42
              In CamelCase.
43
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
44
            type: string
45
          metadata:
46
            type: object
47
          spec:
48
            description: Spec is the specification of the Kuma MeshCircuitBreaker
49
              resource.
50
            properties:
51
              from:
52
                description: From list makes a match between clients and corresponding
53
                  configurations
54
                items:
55
                  properties:
56
                    default:
57
                      description: |-
58
                        Default is a configuration specific to the group of destinations
59
                        referenced in 'targetRef'
60
                      properties:
61
                        connectionLimits:
62
                          description: |-
63
                            ConnectionLimits contains configuration of each circuit breaking limit,
64
                            which when exceeded makes the circuit breaker to become open (no traffic
65
                            is allowed like no current is allowed in the circuits when physical
66
                            circuit breaker ir open)
67
                          properties:
68
                            maxConnectionPools:
69
                              description: |-
70
                                The maximum number of connection pools per cluster that are concurrently
71
                                supported at once. Set this for clusters which create a large number of
72
                                connection pools.
73
                              format: int32
74
                              type: integer
75
                            maxConnections:
76
                              description: |-
77
                                The maximum number of connections allowed to be made to the upstream
78
                                cluster.
79
                              format: int32
80
                              type: integer
81
                            maxPendingRequests:
82
                              description: |-
83
                                The maximum number of pending requests that are allowed to the upstream
84
                                cluster. This limit is applied as a connection limit for non-HTTP
85
                                traffic.
86
                              format: int32
87
                              type: integer
88
                            maxRequests:
89
                              description: |-
90
                                The maximum number of parallel requests that are allowed to be made
91
                                to the upstream cluster. This limit does not apply to non-HTTP traffic.
92
                              format: int32
93
                              type: integer
94
                            maxRetries:
95
                              description: |-
96
                                The maximum number of parallel retries that will be allowed to
97
                                the upstream cluster.
98
                              format: int32
99
                              type: integer
100
                          type: object
101
                        outlierDetection:
102
                          description: |-
103
                            OutlierDetection contains the configuration of the process of dynamically
104
                            determining whether some number of hosts in an upstream cluster are
105
                            performing unlike the others and removing them from the healthy load
106
                            balancing set. Performance might be along different axes such as
107
                            consecutive failures, temporal success rate, temporal latency, etc.
108
                            Outlier detection is a form of passive health checking.
109
                          properties:
110
                            baseEjectionTime:
111
                              description: |-
112
                                The base time that a host is ejected for. The real time is equal to
113
                                the base time multiplied by the number of times the host has been
114
                                ejected.
115
                              type: string
116
                            detectors:
117
                              description: Contains configuration for supported outlier
118
                                detectors
119
                              properties:
120
                                failurePercentage:
121
                                  description: |-
122
                                    Failure Percentage based outlier detection functions similarly to success
123
                                    rate detection, in that it relies on success rate data from each host in
124
                                    a cluster. However, rather than compare those values to the mean success
125
                                    rate of the cluster as a whole, they are compared to a flat
126
                                    user-configured threshold. This threshold is configured via the
127
                                    outlierDetection.failurePercentageThreshold field.
128
                                    The other configuration fields for failure percentage based detection are
129
                                    similar to the fields for success rate detection. As with success rate
130
                                    detection, detection will not be performed for a host if its request
131
                                    volume over the aggregation interval is less than the
132
                                    outlierDetection.detectors.failurePercentage.requestVolume value.
133
                                    Detection also will not be performed for a cluster if the number of hosts
134
                                    with the minimum required request volume in an interval is less than the
135
                                    outlierDetection.detectors.failurePercentage.minimumHosts value.
136
                                  properties:
137
                                    minimumHosts:
138
                                      description: |-
139
                                        The minimum number of hosts in a cluster in order to perform failure
140
                                        percentage-based ejection. If the total number of hosts in the cluster is
141
                                        less than this value, failure percentage-based ejection will not be
142
                                        performed.
143
                                      format: int32
144
                                      type: integer
145
                                    requestVolume:
146
                                      description: |-
147
                                        The minimum number of total requests that must be collected in one
148
                                        interval (as defined by the interval duration above) to perform failure
149
                                        percentage-based ejection for this host. If the volume is lower than this
150
                                        setting, failure percentage-based ejection will not be performed for this
151
                                        host.
152
                                      format: int32
153
                                      type: integer
154
                                    threshold:
155
                                      description: |-
156
                                        The failure percentage to use when determining failure percentage-based
157
                                        outlier detection. If the failure percentage of a given host is greater
158
                                        than or equal to this value, it will be ejected.
159
                                      format: int32
160
                                      type: integer
161
                                  type: object
162
                                gatewayFailures:
163
                                  description: |-
164
                                    In the default mode (outlierDetection.splitExternalLocalOriginErrors is
165
                                    false) this detection type takes into account a subset of 5xx errors,
166
                                    called "gateway errors" (502, 503 or 504 status code) and local origin
167
                                    failures, such as timeout, TCP reset etc.
168
                                    In split mode (outlierDetection.splitExternalLocalOriginErrors is true)
169
                                    this detection type takes into account a subset of 5xx errors, called
170
                                    "gateway errors" (502, 503 or 504 status code) and is supported only by
171
                                    the http router.
172
                                  properties:
173
                                    consecutive:
174
                                      description: |-
175
                                        The number of consecutive gateway failures (502, 503, 504 status codes)
176
                                        before a consecutive gateway failure ejection occurs.
177
                                      format: int32
178
                                      type: integer
179
                                  type: object
180
                                localOriginFailures:
181
                                  description: |-
182
                                    This detection type is enabled only when
183
                                    outlierDetection.splitExternalLocalOriginErrors is true and takes into
184
                                    account only locally originated errors (timeout, reset, etc).
185
                                    If Envoy repeatedly cannot connect to an upstream host or communication
186
                                    with the upstream host is repeatedly interrupted, it will be ejected.
187
                                    Various locally originated problems are detected: timeout, TCP reset,
188
                                    ICMP errors, etc. This detection type is supported by http router and
189
                                    tcp proxy.
190
                                  properties:
191
                                    consecutive:
192
                                      description: |-
193
                                        The number of consecutive locally originated failures before ejection
194
                                        occurs. Parameter takes effect only when splitExternalAndLocalErrors
195
                                        is set to true.
196
                                      format: int32
197
                                      type: integer
198
                                  type: object
199
                                successRate:
200
                                  description: |-
201
                                    Success Rate based outlier detection aggregates success rate data from
202
                                    every host in a cluster. Then at given intervals ejects hosts based on
203
                                    statistical outlier detection. Success Rate outlier detection will not be
204
                                    calculated for a host if its request volume over the aggregation interval
205
                                    is less than the outlierDetection.detectors.successRate.requestVolume
206
                                    value.
207
                                    Moreover, detection will not be performed for a cluster if the number of
208
                                    hosts with the minimum required request volume in an interval is less
209
                                    than the outlierDetection.detectors.successRate.minimumHosts value.
210
                                    In the default configuration mode
211
                                    (outlierDetection.splitExternalLocalOriginErrors is false) this detection
212
                                    type takes into account all types of errors: locally and externally
213
                                    originated.
214
                                    In split mode (outlierDetection.splitExternalLocalOriginErrors is true),
215
                                    locally originated errors and externally originated (transaction) errors
216
                                    are counted and treated separately.
217
                                  properties:
218
                                    minimumHosts:
219
                                      description: |-
220
                                        The number of hosts in a cluster that must have enough request volume to
221
                                        detect success rate outliers. If the number of hosts is less than this
222
                                        setting, outlier detection via success rate statistics is not performed
223
                                        for any host in the cluster.
224
                                      format: int32
225
                                      type: integer
226
                                    requestVolume:
227
                                      description: |-
228
                                        The minimum number of total requests that must be collected in one
229
                                        interval (as defined by the interval duration configured in
230
                                        outlierDetection section) to include this host in success rate based
231
                                        outlier detection. If the volume is lower than this setting, outlier
232
                                        detection via success rate statistics is not performed for that host.
233
                                      format: int32
234
                                      type: integer
235
                                    standardDeviationFactor:
236
                                      anyOf:
237
                                      - type: integer
238
                                      - type: string
239
                                      description: |-
240
                                        This factor is used to determine the ejection threshold for success rate
241
                                        outlier ejection. The ejection threshold is the difference between
242
                                        the mean success rate, and the product of this factor and the standard
243
                                        deviation of the mean success rate: mean - (standard_deviation *
244
                                        success_rate_standard_deviation_factor).
245
                                        Either int or decimal represented as string.
246
                                      x-kubernetes-int-or-string: true
247
                                  type: object
248
                                totalFailures:
249
                                  description: |-
250
                                    In the default mode (outlierDetection.splitExternalAndLocalErrors is
251
                                    false) this detection type takes into account all generated errors:
252
                                    locally originated and externally originated (transaction) errors.
253
                                    In split mode (outlierDetection.splitExternalLocalOriginErrors is true)
254
                                    this detection type takes into account only externally originated
255
                                    (transaction) errors, ignoring locally originated errors.
256
                                    If an upstream host is an HTTP-server, only 5xx types of error are taken
257
                                    into account (see Consecutive Gateway Failure for exceptions).
258
                                    Properly formatted responses, even when they carry an operational error
259
                                    (like index not found, access denied) are not taken into account.
260
                                  properties:
261
                                    consecutive:
262
                                      description: |-
263
                                        The number of consecutive server-side error responses (for HTTP traffic,
264
                                        5xx responses; for TCP traffic, connection failures; for Redis, failure
265
                                        to respond PONG; etc.) before a consecutive total failure ejection
266
                                        occurs.
267
                                      format: int32
268
                                      type: integer
269
                                  type: object
270
                              type: object
271
                            disabled:
272
                              description: When set to true, outlierDetection configuration
273
                                won't take any effect
274
                              type: boolean
275
                            interval:
276
                              description: |-
277
                                The time interval between ejection analysis sweeps. This can result in
278
                                both new ejections and hosts being returned to service.
279
                              type: string
280
                            maxEjectionPercent:
281
                              description: |-
282
                                The maximum % of an upstream cluster that can be ejected due to outlier
283
                                detection. Defaults to 10% but will eject at least one host regardless of
284
                                the value.
285
                              format: int32
286
                              type: integer
287
                            splitExternalAndLocalErrors:
288
                              description: |-
289
                                Determines whether to distinguish local origin failures from external
290
                                errors. If set to true the following configuration parameters are taken
291
                                into account: detectors.localOriginFailures.consecutive
292
                              type: boolean
293
                          type: object
294
                      type: object
295
                    targetRef:
296
                      description: |-
297
                        TargetRef is a reference to the resource that represents a group of
298
                        destinations.
299
                      properties:
300
                        kind:
301
                          description: Kind of the referenced resource
302
                          enum:
303
                          - Mesh
304
                          - MeshSubset
305
                          - MeshGateway
306
                          - MeshService
307
                          - MeshServiceSubset
308
                          - MeshHTTPRoute
309
                          type: string
310
                        mesh:
311
                          description: Mesh is reserved for future use to identify
312
                            cross mesh resources.
313
                          type: string
314
                        name:
315
                          description: |-
316
                            Name of the referenced resource. Can only be used with kinds: `MeshService`,
317
                            `MeshServiceSubset` and `MeshGatewayRoute`
318
                          type: string
319
                        proxyTypes:
320
                          description: |-
321
                            ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
322
                            all data plane types are targeted by the policy.
323
                          items:
324
                            enum:
325
                            - Sidecar
326
                            - Gateway
327
                            type: string
328
                          minItems: 1
329
                          type: array
330
                        tags:
331
                          additionalProperties:
332
                            type: string
333
                          description: |-
334
                            Tags used to select a subset of proxies by tags. Can only be used with kinds
335
                            `MeshSubset` and `MeshServiceSubset`
336
                          type: object
337
                      type: object
338
                  required:
339
                  - targetRef
340
                  type: object
341
                type: array
342
              targetRef:
343
                description: |-
344
                  TargetRef is a reference to the resource the policy takes an effect on.
345
                  The resource could be either a real store object or virtual resource
346
                  defined in place.
347
                properties:
348
                  kind:
349
                    description: Kind of the referenced resource
350
                    enum:
351
                    - Mesh
352
                    - MeshSubset
353
                    - MeshGateway
354
                    - MeshService
355
                    - MeshServiceSubset
356
                    - MeshHTTPRoute
357
                    type: string
358
                  mesh:
359
                    description: Mesh is reserved for future use to identify cross
360
                      mesh resources.
361
                    type: string
362
                  name:
363
                    description: |-
364
                      Name of the referenced resource. Can only be used with kinds: `MeshService`,
365
                      `MeshServiceSubset` and `MeshGatewayRoute`
366
                    type: string
367
                  proxyTypes:
368
                    description: |-
369
                      ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
370
                      all data plane types are targeted by the policy.
371
                    items:
372
                      enum:
373
                      - Sidecar
374
                      - Gateway
375
                      type: string
376
                    minItems: 1
377
                    type: array
378
                  tags:
379
                    additionalProperties:
380
                      type: string
381
                    description: |-
382
                      Tags used to select a subset of proxies by tags. Can only be used with kinds
383
                      `MeshSubset` and `MeshServiceSubset`
384
                    type: object
385
                type: object
386
              to:
387
                description: |-
388
                  To list makes a match between the consumed services and corresponding
389
                  configurations
390
                items:
391
                  properties:
392
                    default:
393
                      description: |-
394
                        Default is a configuration specific to the group of destinations
395
                        referenced in 'targetRef'
396
                      properties:
397
                        connectionLimits:
398
                          description: |-
399
                            ConnectionLimits contains configuration of each circuit breaking limit,
400
                            which when exceeded makes the circuit breaker to become open (no traffic
401
                            is allowed like no current is allowed in the circuits when physical
402
                            circuit breaker ir open)
403
                          properties:
404
                            maxConnectionPools:
405
                              description: |-
406
                                The maximum number of connection pools per cluster that are concurrently
407
                                supported at once. Set this for clusters which create a large number of
408
                                connection pools.
409
                              format: int32
410
                              type: integer
411
                            maxConnections:
412
                              description: |-
413
                                The maximum number of connections allowed to be made to the upstream
414
                                cluster.
415
                              format: int32
416
                              type: integer
417
                            maxPendingRequests:
418
                              description: |-
419
                                The maximum number of pending requests that are allowed to the upstream
420
                                cluster. This limit is applied as a connection limit for non-HTTP
421
                                traffic.
422
                              format: int32
423
                              type: integer
424
                            maxRequests:
425
                              description: |-
426
                                The maximum number of parallel requests that are allowed to be made
427
                                to the upstream cluster. This limit does not apply to non-HTTP traffic.
428
                              format: int32
429
                              type: integer
430
                            maxRetries:
431
                              description: |-
432
                                The maximum number of parallel retries that will be allowed to
433
                                the upstream cluster.
434
                              format: int32
435
                              type: integer
436
                          type: object
437
                        outlierDetection:
438
                          description: |-
439
                            OutlierDetection contains the configuration of the process of dynamically
440
                            determining whether some number of hosts in an upstream cluster are
441
                            performing unlike the others and removing them from the healthy load
442
                            balancing set. Performance might be along different axes such as
443
                            consecutive failures, temporal success rate, temporal latency, etc.
444
                            Outlier detection is a form of passive health checking.
445
                          properties:
446
                            baseEjectionTime:
447
                              description: |-
448
                                The base time that a host is ejected for. The real time is equal to
449
                                the base time multiplied by the number of times the host has been
450
                                ejected.
451
                              type: string
452
                            detectors:
453
                              description: Contains configuration for supported outlier
454
                                detectors
455
                              properties:
456
                                failurePercentage:
457
                                  description: |-
458
                                    Failure Percentage based outlier detection functions similarly to success
459
                                    rate detection, in that it relies on success rate data from each host in
460
                                    a cluster. However, rather than compare those values to the mean success
461
                                    rate of the cluster as a whole, they are compared to a flat
462
                                    user-configured threshold. This threshold is configured via the
463
                                    outlierDetection.failurePercentageThreshold field.
464
                                    The other configuration fields for failure percentage based detection are
465
                                    similar to the fields for success rate detection. As with success rate
466
                                    detection, detection will not be performed for a host if its request
467
                                    volume over the aggregation interval is less than the
468
                                    outlierDetection.detectors.failurePercentage.requestVolume value.
469
                                    Detection also will not be performed for a cluster if the number of hosts
470
                                    with the minimum required request volume in an interval is less than the
471
                                    outlierDetection.detectors.failurePercentage.minimumHosts value.
472
                                  properties:
473
                                    minimumHosts:
474
                                      description: |-
475
                                        The minimum number of hosts in a cluster in order to perform failure
476
                                        percentage-based ejection. If the total number of hosts in the cluster is
477
                                        less than this value, failure percentage-based ejection will not be
478
                                        performed.
479
                                      format: int32
480
                                      type: integer
481
                                    requestVolume:
482
                                      description: |-
483
                                        The minimum number of total requests that must be collected in one
484
                                        interval (as defined by the interval duration above) to perform failure
485
                                        percentage-based ejection for this host. If the volume is lower than this
486
                                        setting, failure percentage-based ejection will not be performed for this
487
                                        host.
488
                                      format: int32
489
                                      type: integer
490
                                    threshold:
491
                                      description: |-
492
                                        The failure percentage to use when determining failure percentage-based
493
                                        outlier detection. If the failure percentage of a given host is greater
494
                                        than or equal to this value, it will be ejected.
495
                                      format: int32
496
                                      type: integer
497
                                  type: object
498
                                gatewayFailures:
499
                                  description: |-
500
                                    In the default mode (outlierDetection.splitExternalLocalOriginErrors is
501
                                    false) this detection type takes into account a subset of 5xx errors,
502
                                    called "gateway errors" (502, 503 or 504 status code) and local origin
503
                                    failures, such as timeout, TCP reset etc.
504
                                    In split mode (outlierDetection.splitExternalLocalOriginErrors is true)
505
                                    this detection type takes into account a subset of 5xx errors, called
506
                                    "gateway errors" (502, 503 or 504 status code) and is supported only by
507
                                    the http router.
508
                                  properties:
509
                                    consecutive:
510
                                      description: |-
511
                                        The number of consecutive gateway failures (502, 503, 504 status codes)
512
                                        before a consecutive gateway failure ejection occurs.
513
                                      format: int32
514
                                      type: integer
515
                                  type: object
516
                                localOriginFailures:
517
                                  description: |-
518
                                    This detection type is enabled only when
519
                                    outlierDetection.splitExternalLocalOriginErrors is true and takes into
520
                                    account only locally originated errors (timeout, reset, etc).
521
                                    If Envoy repeatedly cannot connect to an upstream host or communication
522
                                    with the upstream host is repeatedly interrupted, it will be ejected.
523
                                    Various locally originated problems are detected: timeout, TCP reset,
524
                                    ICMP errors, etc. This detection type is supported by http router and
525
                                    tcp proxy.
526
                                  properties:
527
                                    consecutive:
528
                                      description: |-
529
                                        The number of consecutive locally originated failures before ejection
530
                                        occurs. Parameter takes effect only when splitExternalAndLocalErrors
531
                                        is set to true.
532
                                      format: int32
533
                                      type: integer
534
                                  type: object
535
                                successRate:
536
                                  description: |-
537
                                    Success Rate based outlier detection aggregates success rate data from
538
                                    every host in a cluster. Then at given intervals ejects hosts based on
539
                                    statistical outlier detection. Success Rate outlier detection will not be
540
                                    calculated for a host if its request volume over the aggregation interval
541
                                    is less than the outlierDetection.detectors.successRate.requestVolume
542
                                    value.
543
                                    Moreover, detection will not be performed for a cluster if the number of
544
                                    hosts with the minimum required request volume in an interval is less
545
                                    than the outlierDetection.detectors.successRate.minimumHosts value.
546
                                    In the default configuration mode
547
                                    (outlierDetection.splitExternalLocalOriginErrors is false) this detection
548
                                    type takes into account all types of errors: locally and externally
549
                                    originated.
550
                                    In split mode (outlierDetection.splitExternalLocalOriginErrors is true),
551
                                    locally originated errors and externally originated (transaction) errors
552
                                    are counted and treated separately.
553
                                  properties:
554
                                    minimumHosts:
555
                                      description: |-
556
                                        The number of hosts in a cluster that must have enough request volume to
557
                                        detect success rate outliers. If the number of hosts is less than this
558
                                        setting, outlier detection via success rate statistics is not performed
559
                                        for any host in the cluster.
560
                                      format: int32
561
                                      type: integer
562
                                    requestVolume:
563
                                      description: |-
564
                                        The minimum number of total requests that must be collected in one
565
                                        interval (as defined by the interval duration configured in
566
                                        outlierDetection section) to include this host in success rate based
567
                                        outlier detection. If the volume is lower than this setting, outlier
568
                                        detection via success rate statistics is not performed for that host.
569
                                      format: int32
570
                                      type: integer
571
                                    standardDeviationFactor:
572
                                      anyOf:
573
                                      - type: integer
574
                                      - type: string
575
                                      description: |-
576
                                        This factor is used to determine the ejection threshold for success rate
577
                                        outlier ejection. The ejection threshold is the difference between
578
                                        the mean success rate, and the product of this factor and the standard
579
                                        deviation of the mean success rate: mean - (standard_deviation *
580
                                        success_rate_standard_deviation_factor).
581
                                        Either int or decimal represented as string.
582
                                      x-kubernetes-int-or-string: true
583
                                  type: object
584
                                totalFailures:
585
                                  description: |-
586
                                    In the default mode (outlierDetection.splitExternalAndLocalErrors is
587
                                    false) this detection type takes into account all generated errors:
588
                                    locally originated and externally originated (transaction) errors.
589
                                    In split mode (outlierDetection.splitExternalLocalOriginErrors is true)
590
                                    this detection type takes into account only externally originated
591
                                    (transaction) errors, ignoring locally originated errors.
592
                                    If an upstream host is an HTTP-server, only 5xx types of error are taken
593
                                    into account (see Consecutive Gateway Failure for exceptions).
594
                                    Properly formatted responses, even when they carry an operational error
595
                                    (like index not found, access denied) are not taken into account.
596
                                  properties:
597
                                    consecutive:
598
                                      description: |-
599
                                        The number of consecutive server-side error responses (for HTTP traffic,
600
                                        5xx responses; for TCP traffic, connection failures; for Redis, failure
601
                                        to respond PONG; etc.) before a consecutive total failure ejection
602
                                        occurs.
603
                                      format: int32
604
                                      type: integer
605
                                  type: object
606
                              type: object
607
                            disabled:
608
                              description: When set to true, outlierDetection configuration
609
                                won't take any effect
610
                              type: boolean
611
                            interval:
612
                              description: |-
613
                                The time interval between ejection analysis sweeps. This can result in
614
                                both new ejections and hosts being returned to service.
615
                              type: string
616
                            maxEjectionPercent:
617
                              description: |-
618
                                The maximum % of an upstream cluster that can be ejected due to outlier
619
                                detection. Defaults to 10% but will eject at least one host regardless of
620
                                the value.
621
                              format: int32
622
                              type: integer
623
                            splitExternalAndLocalErrors:
624
                              description: |-
625
                                Determines whether to distinguish local origin failures from external
626
                                errors. If set to true the following configuration parameters are taken
627
                                into account: detectors.localOriginFailures.consecutive
628
                              type: boolean
629
                          type: object
630
                      type: object
631
                    targetRef:
632
                      description: |-
633
                        TargetRef is a reference to the resource that represents a group of
634
                        destinations.
635
                      properties:
636
                        kind:
637
                          description: Kind of the referenced resource
638
                          enum:
639
                          - Mesh
640
                          - MeshSubset
641
                          - MeshGateway
642
                          - MeshService
643
                          - MeshServiceSubset
644
                          - MeshHTTPRoute
645
                          type: string
646
                        mesh:
647
                          description: Mesh is reserved for future use to identify
648
                            cross mesh resources.
649
                          type: string
650
                        name:
651
                          description: |-
652
                            Name of the referenced resource. Can only be used with kinds: `MeshService`,
653
                            `MeshServiceSubset` and `MeshGatewayRoute`
654
                          type: string
655
                        proxyTypes:
656
                          description: |-
657
                            ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
658
                            all data plane types are targeted by the policy.
659
                          items:
660
                            enum:
661
                            - Sidecar
662
                            - Gateway
663
                            type: string
664
                          minItems: 1
665
                          type: array
666
                        tags:
667
                          additionalProperties:
668
                            type: string
669
                          description: |-
670
                            Tags used to select a subset of proxies by tags. Can only be used with kinds
671
                            `MeshSubset` and `MeshServiceSubset`
672
                          type: object
673
                      type: object
674
                  required:
675
                  - targetRef
676
                  type: object
677
                type: array
678
            required:
679
            - targetRef
680
            type: object
681
        type: object
682
    served: true
683
    storage: true
684
    subresources: {}
685

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.