2
apiVersion: apiextensions.k8s.io/v1
3
kind: CustomResourceDefinition
6
controller-gen.kubebuilder.io/version: v0.14.0
7
name: meshgatewayconfigs.kuma.io
13
kind: MeshGatewayConfig
14
listKind: MeshGatewayConfigList
15
plural: meshgatewayconfigs
16
singular: meshgatewayconfig
23
MeshGatewayConfig holds the configuration of a MeshGateway. A
24
GatewayClass can refer to a MeshGatewayConfig via parametersRef.
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
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.
39
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
44
description: MeshGatewayConfigSpec specifies the options available for
49
CrossMesh specifies whether listeners configured by this gateway are
53
description: PodTemplate configures the Pod owned by this config.
56
description: Metadata holds metadata configuration for a Service.
61
description: Annotations holds annotations to be set on an
67
description: Labels holds labels to be set on an objects.
71
description: Spec holds some customizable fields of a Pod.
74
description: Container corresponds to PodSpec.Container
77
description: ContainerSecurityContext corresponds to PodSpec.Container.SecurityContext
79
readOnlyRootFilesystem:
80
description: ReadOnlyRootFilesystem corresponds to
81
PodSpec.Container.SecurityContext.ReadOnlyRootFilesystem
86
description: PodSecurityContext corresponds to PodSpec.SecurityContext
89
description: FSGroup corresponds to PodSpec.SecurityContext.FSGroup
94
description: ServiceAccountName corresponds to PodSpec.ServiceAccountName.
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.
109
Resources specifies the compute resources for the proxy container.
110
The default can be set in the control plane config.
114
Claims lists the names of resources, defined in spec.resourceClaims,
115
that are used by this container.
118
This is an alpha field and requires enabling the
119
DynamicResourceAllocation feature gate.
122
This field is immutable. It can only be set for containers.
124
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
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
136
x-kubernetes-list-map-keys:
138
x-kubernetes-list-type: map
140
additionalProperties:
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
147
Limits describes the maximum amount of compute resources allowed.
148
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
151
additionalProperties:
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
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/
165
description: ServiceTemplate configures the Service owned by this
169
description: Metadata holds metadata configuration for a Service.
172
additionalProperties:
174
description: Annotations holds annotations to be set on an
178
additionalProperties:
180
description: Labels holds labels to be set on an objects.
184
description: Spec holds some customizable fields of a Service.
187
description: LoadBalancerIP corresponds to ServiceSpec.LoadBalancerIP.
192
default: LoadBalancer
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
205
additionalProperties:
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.
216
MeshGatewayConfigStatus holds information about the status of the gateway