kuma

Форк
0
/
kuma.io_meshtimeouts.yaml 
308 строк · 15.2 Кб
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: meshtimeouts.kuma.io
8
spec:
9
  group: kuma.io
10
  names:
11
    categories:
12
    - kuma
13
    kind: MeshTimeout
14
    listKind: MeshTimeoutList
15
    plural: meshtimeouts
16
    singular: meshtimeout
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 MeshTimeout resource.
49
            properties:
50
              from:
51
                description: From list makes a match between clients and corresponding
52
                  configurations
53
                items:
54
                  properties:
55
                    default:
56
                      description: |-
57
                        Default is a configuration specific to the group of clients referenced in
58
                        'targetRef'
59
                      properties:
60
                        connectionTimeout:
61
                          description: |-
62
                            ConnectionTimeout specifies the amount of time proxy will wait for an TCP connection to be established.
63
                            Default value is 5 seconds. Cannot be set to 0.
64
                          type: string
65
                        http:
66
                          description: Http provides configuration for HTTP specific
67
                            timeouts
68
                          properties:
69
                            maxConnectionDuration:
70
                              description: |-
71
                                MaxConnectionDuration is the time after which a connection will be drained and/or closed,
72
                                starting from when it was first established. Setting this timeout to 0 will disable it.
73
                                Disabled by default.
74
                              type: string
75
                            maxStreamDuration:
76
                              description: |-
77
                                MaxStreamDuration is the maximum time that a stream’s lifetime will span.
78
                                Setting this timeout to 0 will disable it. Disabled by default.
79
                              type: string
80
                            requestHeadersTimeout:
81
                              description: |-
82
                                RequestHeadersTimeout The amount of time that proxy will wait for the request headers to be received. The timer is
83
                                activated when the first byte of the headers is received, and is disarmed when the last byte of
84
                                the headers has been received. If not specified or set to 0, this timeout is disabled.
85
                                Disabled by default.
86
                              type: string
87
                            requestTimeout:
88
                              description: |-
89
                                RequestTimeout The amount of time that proxy will wait for the entire request to be received.
90
                                The timer is activated when the request is initiated, and is disarmed when the last byte of the request is sent,
91
                                OR when the response is initiated. Setting this timeout to 0 will disable it.
92
                                Default is 15s.
93
                              type: string
94
                            streamIdleTimeout:
95
                              description: |-
96
                                StreamIdleTimeout is the amount of time that proxy will allow a stream to exist with no activity.
97
                                Setting this timeout to 0 will disable it. Default is 30m
98
                              type: string
99
                          type: object
100
                        idleTimeout:
101
                          description: |-
102
                            IdleTimeout is defined as the period in which there are no bytes sent or received on connection
103
                            Setting this timeout to 0 will disable it. Be cautious when disabling it because
104
                            it can lead to connection leaking. Default value is 1h.
105
                          type: string
106
                      type: object
107
                    targetRef:
108
                      description: |-
109
                        TargetRef is a reference to the resource that represents a group of
110
                        clients.
111
                      properties:
112
                        kind:
113
                          description: Kind of the referenced resource
114
                          enum:
115
                          - Mesh
116
                          - MeshSubset
117
                          - MeshGateway
118
                          - MeshService
119
                          - MeshServiceSubset
120
                          - MeshHTTPRoute
121
                          type: string
122
                        mesh:
123
                          description: Mesh is reserved for future use to identify
124
                            cross mesh resources.
125
                          type: string
126
                        name:
127
                          description: |-
128
                            Name of the referenced resource. Can only be used with kinds: `MeshService`,
129
                            `MeshServiceSubset` and `MeshGatewayRoute`
130
                          type: string
131
                        proxyTypes:
132
                          description: |-
133
                            ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
134
                            all data plane types are targeted by the policy.
135
                          items:
136
                            enum:
137
                            - Sidecar
138
                            - Gateway
139
                            type: string
140
                          minItems: 1
141
                          type: array
142
                        tags:
143
                          additionalProperties:
144
                            type: string
145
                          description: |-
146
                            Tags used to select a subset of proxies by tags. Can only be used with kinds
147
                            `MeshSubset` and `MeshServiceSubset`
148
                          type: object
149
                      type: object
150
                  required:
151
                  - targetRef
152
                  type: object
153
                type: array
154
              targetRef:
155
                description: |-
156
                  TargetRef is a reference to the resource the policy takes an effect on.
157
                  The resource could be either a real store object or virtual resource
158
                  defined inplace.
159
                properties:
160
                  kind:
161
                    description: Kind of the referenced resource
162
                    enum:
163
                    - Mesh
164
                    - MeshSubset
165
                    - MeshGateway
166
                    - MeshService
167
                    - MeshServiceSubset
168
                    - MeshHTTPRoute
169
                    type: string
170
                  mesh:
171
                    description: Mesh is reserved for future use to identify cross
172
                      mesh resources.
173
                    type: string
174
                  name:
175
                    description: |-
176
                      Name of the referenced resource. Can only be used with kinds: `MeshService`,
177
                      `MeshServiceSubset` and `MeshGatewayRoute`
178
                    type: string
179
                  proxyTypes:
180
                    description: |-
181
                      ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
182
                      all data plane types are targeted by the policy.
183
                    items:
184
                      enum:
185
                      - Sidecar
186
                      - Gateway
187
                      type: string
188
                    minItems: 1
189
                    type: array
190
                  tags:
191
                    additionalProperties:
192
                      type: string
193
                    description: |-
194
                      Tags used to select a subset of proxies by tags. Can only be used with kinds
195
                      `MeshSubset` and `MeshServiceSubset`
196
                    type: object
197
                type: object
198
              to:
199
                description: To list makes a match between the consumed services and
200
                  corresponding configurations
201
                items:
202
                  properties:
203
                    default:
204
                      description: |-
205
                        Default is a configuration specific to the group of destinations referenced in
206
                        'targetRef'
207
                      properties:
208
                        connectionTimeout:
209
                          description: |-
210
                            ConnectionTimeout specifies the amount of time proxy will wait for an TCP connection to be established.
211
                            Default value is 5 seconds. Cannot be set to 0.
212
                          type: string
213
                        http:
214
                          description: Http provides configuration for HTTP specific
215
                            timeouts
216
                          properties:
217
                            maxConnectionDuration:
218
                              description: |-
219
                                MaxConnectionDuration is the time after which a connection will be drained and/or closed,
220
                                starting from when it was first established. Setting this timeout to 0 will disable it.
221
                                Disabled by default.
222
                              type: string
223
                            maxStreamDuration:
224
                              description: |-
225
                                MaxStreamDuration is the maximum time that a stream’s lifetime will span.
226
                                Setting this timeout to 0 will disable it. Disabled by default.
227
                              type: string
228
                            requestHeadersTimeout:
229
                              description: |-
230
                                RequestHeadersTimeout The amount of time that proxy will wait for the request headers to be received. The timer is
231
                                activated when the first byte of the headers is received, and is disarmed when the last byte of
232
                                the headers has been received. If not specified or set to 0, this timeout is disabled.
233
                                Disabled by default.
234
                              type: string
235
                            requestTimeout:
236
                              description: |-
237
                                RequestTimeout The amount of time that proxy will wait for the entire request to be received.
238
                                The timer is activated when the request is initiated, and is disarmed when the last byte of the request is sent,
239
                                OR when the response is initiated. Setting this timeout to 0 will disable it.
240
                                Default is 15s.
241
                              type: string
242
                            streamIdleTimeout:
243
                              description: |-
244
                                StreamIdleTimeout is the amount of time that proxy will allow a stream to exist with no activity.
245
                                Setting this timeout to 0 will disable it. Default is 30m
246
                              type: string
247
                          type: object
248
                        idleTimeout:
249
                          description: |-
250
                            IdleTimeout is defined as the period in which there are no bytes sent or received on connection
251
                            Setting this timeout to 0 will disable it. Be cautious when disabling it because
252
                            it can lead to connection leaking. Default value is 1h.
253
                          type: string
254
                      type: object
255
                    targetRef:
256
                      description: |-
257
                        TargetRef is a reference to the resource that represents a group of
258
                        destinations.
259
                      properties:
260
                        kind:
261
                          description: Kind of the referenced resource
262
                          enum:
263
                          - Mesh
264
                          - MeshSubset
265
                          - MeshGateway
266
                          - MeshService
267
                          - MeshServiceSubset
268
                          - MeshHTTPRoute
269
                          type: string
270
                        mesh:
271
                          description: Mesh is reserved for future use to identify
272
                            cross mesh resources.
273
                          type: string
274
                        name:
275
                          description: |-
276
                            Name of the referenced resource. Can only be used with kinds: `MeshService`,
277
                            `MeshServiceSubset` and `MeshGatewayRoute`
278
                          type: string
279
                        proxyTypes:
280
                          description: |-
281
                            ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
282
                            all data plane types are targeted by the policy.
283
                          items:
284
                            enum:
285
                            - Sidecar
286
                            - Gateway
287
                            type: string
288
                          minItems: 1
289
                          type: array
290
                        tags:
291
                          additionalProperties:
292
                            type: string
293
                          description: |-
294
                            Tags used to select a subset of proxies by tags. Can only be used with kinds
295
                            `MeshSubset` and `MeshServiceSubset`
296
                          type: object
297
                      type: object
298
                  required:
299
                  - targetRef
300
                  type: object
301
                type: array
302
            required:
303
            - targetRef
304
            type: object
305
        type: object
306
    served: true
307
    storage: true
308
    subresources: {}
309

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

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

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

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