2
apiVersion: apiextensions.k8s.io/v1
3
kind: CustomResourceDefinition
6
controller-gen.kubebuilder.io/version: v0.14.0
7
name: meshratelimits.kuma.io
14
listKind: MeshRateLimitList
15
plural: meshratelimits
16
singular: meshratelimit
19
- additionalPrinterColumns:
20
- jsonPath: .spec.targetRef.kind
23
- jsonPath: .spec.targetRef.name
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
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.
43
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
48
description: Spec is the specification of the Kuma MeshRateLimit resource.
51
description: From list makes a match between clients and corresponding
57
Default is a configuration specific to the group of clients referenced in
61
description: LocalConf defines local http or/and tcp rate
66
LocalHTTP defines confguration of local HTTP rate limiting
67
https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/local_rate_limit_filter
70
description: Define if rate limiting should be disabled.
73
description: Describes the actions to take on a
77
description: The Headers to be added to the
78
HTTP response on a rate limit event
86
pattern: ^[a-z0-9!#$%&'*+\-.^_\x60|~]+$
96
x-kubernetes-list-map-keys:
98
x-kubernetes-list-type: map
105
pattern: ^[a-z0-9!#$%&'*+\-.^_\x60|~]+$
115
x-kubernetes-list-map-keys:
117
x-kubernetes-list-type: map
120
description: The HTTP status code to be set
121
on a rate limit event
126
description: Defines how many requests are allowed
130
description: The interval the number of units
135
Number of units per interval (depending on usage it can be a number of requests,
136
or a number of connections).
146
LocalTCP defines confguration of local TCP rate limiting
147
https://www.envoyproxy.io/docs/envoy/latest/configuration/listeners/network_filters/local_rate_limit_filter
150
description: Defines how many connections are allowed
154
description: The interval the number of units
159
Number of units per interval (depending on usage it can be a number of requests,
160
or a number of connections).
169
Define if rate limiting should be disabled.
177
TargetRef is a reference to the resource that represents a group of
181
description: Kind of the referenced resource
191
description: Mesh is reserved for future use to identify
192
cross mesh resources.
196
Name of the referenced resource. Can only be used with kinds: `MeshService`,
197
`MeshServiceSubset` and `MeshGatewayRoute`
201
ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
202
all data plane types are targeted by the policy.
211
additionalProperties:
214
Tags used to select a subset of proxies by tags. Can only be used with kinds
215
`MeshSubset` and `MeshServiceSubset`
224
TargetRef is a reference to the resource the policy takes an effect on.
225
The resource could be either a real store object or virtual resource
229
description: Kind of the referenced resource
239
description: Mesh is reserved for future use to identify cross
244
Name of the referenced resource. Can only be used with kinds: `MeshService`,
245
`MeshServiceSubset` and `MeshGatewayRoute`
249
ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
250
all data plane types are targeted by the policy.
259
additionalProperties:
262
Tags used to select a subset of proxies by tags. Can only be used with kinds
263
`MeshSubset` and `MeshServiceSubset`
267
description: To list makes a match between clients and corresponding
273
Default is a configuration specific to the group of clients referenced in
277
description: LocalConf defines local http or/and tcp rate
282
LocalHTTP defines confguration of local HTTP rate limiting
283
https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/local_rate_limit_filter
286
description: Define if rate limiting should be disabled.
289
description: Describes the actions to take on a
293
description: The Headers to be added to the
294
HTTP response on a rate limit event
302
pattern: ^[a-z0-9!#$%&'*+\-.^_\x60|~]+$
312
x-kubernetes-list-map-keys:
314
x-kubernetes-list-type: map
321
pattern: ^[a-z0-9!#$%&'*+\-.^_\x60|~]+$
331
x-kubernetes-list-map-keys:
333
x-kubernetes-list-type: map
336
description: The HTTP status code to be set
337
on a rate limit event
342
description: Defines how many requests are allowed
346
description: The interval the number of units
351
Number of units per interval (depending on usage it can be a number of requests,
352
or a number of connections).
362
LocalTCP defines confguration of local TCP rate limiting
363
https://www.envoyproxy.io/docs/envoy/latest/configuration/listeners/network_filters/local_rate_limit_filter
366
description: Defines how many connections are allowed
370
description: The interval the number of units
375
Number of units per interval (depending on usage it can be a number of requests,
376
or a number of connections).
385
Define if rate limiting should be disabled.
393
TargetRef is a reference to the resource that represents a group of
397
description: Kind of the referenced resource
407
description: Mesh is reserved for future use to identify
408
cross mesh resources.
412
Name of the referenced resource. Can only be used with kinds: `MeshService`,
413
`MeshServiceSubset` and `MeshGatewayRoute`
417
ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
418
all data plane types are targeted by the policy.
427
additionalProperties:
430
Tags used to select a subset of proxies by tags. Can only be used with kinds
431
`MeshSubset` and `MeshServiceSubset`