kuma

Форк
0
/
kuma.io_meshgatewayconfigs.yaml 
223 строки · 9.9 Кб
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: meshgatewayconfigs.kuma.io
8
spec:
9
  group: kuma.io
10
  names:
11
    categories:
12
    - kuma
13
    kind: MeshGatewayConfig
14
    listKind: MeshGatewayConfigList
15
    plural: meshgatewayconfigs
16
    singular: meshgatewayconfig
17
  scope: Cluster
18
  versions:
19
  - name: v1alpha1
20
    schema:
21
      openAPIV3Schema:
22
        description: |-
23
          MeshGatewayConfig holds the configuration of a MeshGateway. A
24
          GatewayClass can refer to a MeshGatewayConfig via parametersRef.
25
        properties:
26
          apiVersion:
27
            description: |-
28
              APIVersion defines the versioned schema of this representation of an object.
29
              Servers should convert recognized schemas to the latest internal value, and
30
              may reject unrecognized values.
31
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
32
            type: string
33
          kind:
34
            description: |-
35
              Kind is a string value representing the REST resource this object represents.
36
              Servers may infer this from the endpoint the client submits requests to.
37
              Cannot be updated.
38
              In CamelCase.
39
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
40
            type: string
41
          metadata:
42
            type: object
43
          spec:
44
            description: MeshGatewayConfigSpec specifies the options available for
45
              a Kuma MeshGateway.
46
            properties:
47
              crossMesh:
48
                description: |-
49
                  CrossMesh specifies whether listeners configured by this gateway are
50
                  cross mesh listeners.
51
                type: boolean
52
              podTemplate:
53
                description: PodTemplate configures the Pod owned by this config.
54
                properties:
55
                  metadata:
56
                    description: Metadata holds metadata configuration for a Service.
57
                    properties:
58
                      annotations:
59
                        additionalProperties:
60
                          type: string
61
                        description: Annotations holds annotations to be set on an
62
                          object.
63
                        type: object
64
                      labels:
65
                        additionalProperties:
66
                          type: string
67
                        description: Labels holds labels to be set on an objects.
68
                        type: object
69
                    type: object
70
                  spec:
71
                    description: Spec holds some customizable fields of a Pod.
72
                    properties:
73
                      container:
74
                        description: Container corresponds to PodSpec.Container
75
                        properties:
76
                          securityContext:
77
                            description: ContainerSecurityContext corresponds to PodSpec.Container.SecurityContext
78
                            properties:
79
                              readOnlyRootFilesystem:
80
                                description: ReadOnlyRootFilesystem corresponds to
81
                                  PodSpec.Container.SecurityContext.ReadOnlyRootFilesystem
82
                                type: boolean
83
                            type: object
84
                        type: object
85
                      securityContext:
86
                        description: PodSecurityContext corresponds to PodSpec.SecurityContext
87
                        properties:
88
                          fsGroup:
89
                            description: FSGroup corresponds to PodSpec.SecurityContext.FSGroup
90
                            format: int64
91
                            type: integer
92
                        type: object
93
                      serviceAccountName:
94
                        description: ServiceAccountName corresponds to PodSpec.ServiceAccountName.
95
                        type: string
96
                    type: object
97
                type: object
98
              replicas:
99
                default: 1
100
                description: |-
101
                  Replicas is the number of dataplane proxy replicas to create. For
102
                  now this is a fixed number, but in the future it could be
103
                  automatically scaled based on metrics.
104
                format: int32
105
                minimum: 1
106
                type: integer
107
              resources:
108
                description: |-
109
                  Resources specifies the compute resources for the proxy container.
110
                  The default can be set in the control plane config.
111
                properties:
112
                  claims:
113
                    description: |-
114
                      Claims lists the names of resources, defined in spec.resourceClaims,
115
                      that are used by this container.
116

117

118
                      This is an alpha field and requires enabling the
119
                      DynamicResourceAllocation feature gate.
120

121

122
                      This field is immutable. It can only be set for containers.
123
                    items:
124
                      description: ResourceClaim references one entry in PodSpec.ResourceClaims.
125
                      properties:
126
                        name:
127
                          description: |-
128
                            Name must match the name of one entry in pod.spec.resourceClaims of
129
                            the Pod where this field is used. It makes that resource available
130
                            inside a container.
131
                          type: string
132
                      required:
133
                      - name
134
                      type: object
135
                    type: array
136
                    x-kubernetes-list-map-keys:
137
                    - name
138
                    x-kubernetes-list-type: map
139
                  limits:
140
                    additionalProperties:
141
                      anyOf:
142
                      - type: integer
143
                      - type: string
144
                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
145
                      x-kubernetes-int-or-string: true
146
                    description: |-
147
                      Limits describes the maximum amount of compute resources allowed.
148
                      More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
149
                    type: object
150
                  requests:
151
                    additionalProperties:
152
                      anyOf:
153
                      - type: integer
154
                      - type: string
155
                      pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
156
                      x-kubernetes-int-or-string: true
157
                    description: |-
158
                      Requests describes the minimum amount of compute resources required.
159
                      If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
160
                      otherwise to an implementation-defined value. Requests cannot exceed Limits.
161
                      More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
162
                    type: object
163
                type: object
164
              serviceTemplate:
165
                description: ServiceTemplate configures the Service owned by this
166
                  config.
167
                properties:
168
                  metadata:
169
                    description: Metadata holds metadata configuration for a Service.
170
                    properties:
171
                      annotations:
172
                        additionalProperties:
173
                          type: string
174
                        description: Annotations holds annotations to be set on an
175
                          object.
176
                        type: object
177
                      labels:
178
                        additionalProperties:
179
                          type: string
180
                        description: Labels holds labels to be set on an objects.
181
                        type: object
182
                    type: object
183
                  spec:
184
                    description: Spec holds some customizable fields of a Service.
185
                    properties:
186
                      loadBalancerIP:
187
                        description: LoadBalancerIP corresponds to ServiceSpec.LoadBalancerIP.
188
                        type: string
189
                    type: object
190
                type: object
191
              serviceType:
192
                default: LoadBalancer
193
                description: |-
194
                  ServiceType specifies the type of managed Service that will be
195
                  created to expose the dataplane proxies to traffic from outside
196
                  the cluster. The ports to expose will be taken from the matching Gateway
197
                  resource. If there is no matching Gateway, the managed Service will
198
                  be deleted.
199
                enum:
200
                - LoadBalancer
201
                - ClusterIP
202
                - NodePort
203
                type: string
204
              tags:
205
                additionalProperties:
206
                  type: string
207
                description: |-
208
                  Tags specifies a set of Kuma tags that are included in the
209
                  MeshGatewayInstance and thus propagated to every Dataplane generated to
210
                  serve the MeshGateway.
211
                  These tags should include a maximum of one `kuma.io/service` tag.
212
                type: object
213
            type: object
214
          status:
215
            description: |-
216
              MeshGatewayConfigStatus holds information about the status of the gateway
217
              instance.
218
            type: object
219
        type: object
220
    served: true
221
    storage: true
222
    subresources:
223
      status: {}
224

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

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

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

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