2
apiVersion: apiextensions.k8s.io/v1
3
kind: CustomResourceDefinition
6
controller-gen.kubebuilder.io/version: v0.14.0
7
name: meshaccesslogs.kuma.io
14
listKind: MeshAccessLogList
15
plural: meshaccesslogs
16
singular: meshaccesslog
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 MeshAccessLog 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
64
description: FileBackend defines configuration for
65
file based access logs
69
Format of access logs. Placeholders available on
70
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators
77
value: '%BYTES_RECEIVED%'
90
example: '[%START_TIME%] %KUMA_MESH% %UPSTREAM_HOST%'
101
description: Path to a file that logs will be
103
example: /tmp/access.log
110
description: Defines an OpenTelemetry logging backend.
114
Attributes can contain placeholders available on
115
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators
129
Body is a raw string or an OTLP any value as described at
130
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#field-body
131
It can contain placeholders available on
132
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators
138
stringValue: '%KUMA_MESH%'
139
x-kubernetes-preserve-unknown-fields: true
141
description: Endpoint of OpenTelemetry collector.
142
An empty port defaults to 4317.
143
example: otel-collector:4317
150
description: TCPBackend defines a TCP logging backend.
153
description: Address of the TCP logging backend
154
example: 127.0.0.1:5000
159
Format of access logs. Placeholders available on
160
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators
165
value: '%START_TIME%'
166
- key: bytes_received
167
value: '%BYTES_RECEIVED%'
180
example: '[%START_TIME%] %KUMA_MESH% %UPSTREAM_HOST%'
206
TargetRef is a reference to the resource that represents a group of
210
description: Kind of the referenced resource
220
description: Mesh is reserved for future use to identify
221
cross mesh resources.
225
Name of the referenced resource. Can only be used with kinds: `MeshService`,
226
`MeshServiceSubset` and `MeshGatewayRoute`
230
ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
231
all data plane types are targeted by the policy.
240
additionalProperties:
243
Tags used to select a subset of proxies by tags. Can only be used with kinds
244
`MeshSubset` and `MeshServiceSubset`
253
TargetRef is a reference to the resource the policy takes an effect on.
254
The resource could be either a real store object or virtual resource
258
description: Kind of the referenced resource
268
description: Mesh is reserved for future use to identify cross
273
Name of the referenced resource. Can only be used with kinds: `MeshService`,
274
`MeshServiceSubset` and `MeshGatewayRoute`
278
ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
279
all data plane types are targeted by the policy.
288
additionalProperties:
291
Tags used to select a subset of proxies by tags. Can only be used with kinds
292
`MeshSubset` and `MeshServiceSubset`
296
description: To list makes a match between the consumed services and
297
corresponding configurations
302
Default is a configuration specific to the group of destinations referenced in
309
description: FileBackend defines configuration for
310
file based access logs
314
Format of access logs. Placeholders available on
315
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators
320
value: '%START_TIME%'
321
- key: bytes_received
322
value: '%BYTES_RECEIVED%'
335
example: '[%START_TIME%] %KUMA_MESH% %UPSTREAM_HOST%'
346
description: Path to a file that logs will be
348
example: /tmp/access.log
355
description: Defines an OpenTelemetry logging backend.
359
Attributes can contain placeholders available on
360
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators
374
Body is a raw string or an OTLP any value as described at
375
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#field-body
376
It can contain placeholders available on
377
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators
383
stringValue: '%KUMA_MESH%'
384
x-kubernetes-preserve-unknown-fields: true
386
description: Endpoint of OpenTelemetry collector.
387
An empty port defaults to 4317.
388
example: otel-collector:4317
395
description: TCPBackend defines a TCP logging backend.
398
description: Address of the TCP logging backend
399
example: 127.0.0.1:5000
404
Format of access logs. Placeholders available on
405
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators
410
value: '%START_TIME%'
411
- key: bytes_received
412
value: '%BYTES_RECEIVED%'
425
example: '[%START_TIME%] %KUMA_MESH% %UPSTREAM_HOST%'
451
TargetRef is a reference to the resource that represents a group of
455
description: Kind of the referenced resource
465
description: Mesh is reserved for future use to identify
466
cross mesh resources.
470
Name of the referenced resource. Can only be used with kinds: `MeshService`,
471
`MeshServiceSubset` and `MeshGatewayRoute`
475
ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
476
all data plane types are targeted by the policy.
485
additionalProperties:
488
Tags used to select a subset of proxies by tags. Can only be used with kinds
489
`MeshSubset` and `MeshServiceSubset`