porkadot 0.25.0 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hack/gen-storage-version-migrator.sh +1 -1
- data/hack/metallb/crds/kustomization.yaml +1 -1
- data/hack/metallb/kustomization.yaml +3 -3
- data/hack/storage-version-migrator/kustomization.yaml +4 -8
- data/lib/porkadot/assets/kubernetes/install.sh.erb +1 -1
- data/lib/porkadot/assets/kubernetes/manifests/addons/metallb/crds.yaml +401 -475
- data/lib/porkadot/assets/kubernetes/manifests/addons/metallb/metallb.yaml.erb +34 -42
- data/lib/porkadot/assets/kubernetes/manifests/addons/storage-version-migrator/storage-version-migrator.yaml.erb +16 -2
- data/lib/porkadot/assets/kubernetes.rb +2 -1
- data/lib/porkadot/default.yaml +2 -2
- data/lib/porkadot/version.rb +1 -1
- metadata +1 -1
@@ -2,214 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|
2
2
|
kind: CustomResourceDefinition
|
3
3
|
metadata:
|
4
4
|
annotations:
|
5
|
-
controller-gen.kubebuilder.io/version: v0.
|
6
|
-
name: addresspools.metallb.io
|
7
|
-
spec:
|
8
|
-
conversion:
|
9
|
-
strategy: Webhook
|
10
|
-
webhook:
|
11
|
-
clientConfig:
|
12
|
-
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlGWlRDQ0EwMmdBd0lCQWdJVU5GRW1XcTM3MVpKdGkrMmlSQzk1WmpBV1MxZ3dEUVlKS29aSWh2Y05BUUVMDQpCUUF3UWpFTE1Ba0dBMVVFQmhNQ1dGZ3hGVEFUQmdOVkJBY01ERVJsWm1GMWJIUWdRMmwwZVRFY01Cb0dBMVVFDQpDZ3dUUkdWbVlYVnNkQ0JEYjIxd1lXNTVJRXgwWkRBZUZ3MHlNakEzTVRrd09UTXlNek5hRncweU1qQTRNVGd3DQpPVE15TXpOYU1FSXhDekFKQmdOVkJBWVRBbGhZTVJVd0V3WURWUVFIREF4RVpXWmhkV3gwSUVOcGRIa3hI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oxVzAyeUtYOGJEYmZFdjBzbUh3UzliQnFlSGo5NEM1Mjg0YXpsdTBmaUdpTm1OUEM4ckJLRmhBPQ0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ==
|
13
|
-
service:
|
14
|
-
name: webhook-service
|
15
|
-
namespace: metallb-system
|
16
|
-
path: /convert
|
17
|
-
conversionReviewVersions:
|
18
|
-
- v1alpha1
|
19
|
-
- v1beta1
|
20
|
-
group: metallb.io
|
21
|
-
names:
|
22
|
-
kind: AddressPool
|
23
|
-
listKind: AddressPoolList
|
24
|
-
plural: addresspools
|
25
|
-
singular: addresspool
|
26
|
-
scope: Namespaced
|
27
|
-
versions:
|
28
|
-
- deprecated: true
|
29
|
-
deprecationWarning: metallb.io v1alpha1 AddressPool is deprecated
|
30
|
-
name: v1alpha1
|
31
|
-
schema:
|
32
|
-
openAPIV3Schema:
|
33
|
-
description: AddressPool is the Schema for the addresspools API.
|
34
|
-
properties:
|
35
|
-
apiVersion:
|
36
|
-
description: 'APIVersion defines the versioned schema of this representation
|
37
|
-
of an object. Servers should convert recognized schemas to the latest
|
38
|
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
39
|
-
type: string
|
40
|
-
kind:
|
41
|
-
description: 'Kind is a string value representing the REST resource this
|
42
|
-
object represents. Servers may infer this from the endpoint the client
|
43
|
-
submits requests to. Cannot be updated. In CamelCase. 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: AddressPoolSpec defines the desired state of AddressPool.
|
49
|
-
properties:
|
50
|
-
addresses:
|
51
|
-
description: A list of IP address ranges over which MetalLB has authority.
|
52
|
-
You can list multiple ranges in a single pool, they will all share
|
53
|
-
the same settings. Each range can be either a CIDR prefix, or an
|
54
|
-
explicit start-end range of IPs.
|
55
|
-
items:
|
56
|
-
type: string
|
57
|
-
type: array
|
58
|
-
autoAssign:
|
59
|
-
default: true
|
60
|
-
description: AutoAssign flag used to prevent MetallB from automatic
|
61
|
-
allocation for a pool.
|
62
|
-
type: boolean
|
63
|
-
bgpAdvertisements:
|
64
|
-
description: When an IP is allocated from this pool, how should it
|
65
|
-
be translated into BGP announcements?
|
66
|
-
items:
|
67
|
-
properties:
|
68
|
-
aggregationLength:
|
69
|
-
default: 32
|
70
|
-
description: The aggregation-length advertisement option lets
|
71
|
-
you “roll up” the /32s into a larger prefix.
|
72
|
-
format: int32
|
73
|
-
minimum: 1
|
74
|
-
type: integer
|
75
|
-
aggregationLengthV6:
|
76
|
-
default: 128
|
77
|
-
description: Optional, defaults to 128 (i.e. no aggregation)
|
78
|
-
if not specified.
|
79
|
-
format: int32
|
80
|
-
type: integer
|
81
|
-
communities:
|
82
|
-
description: BGP communities
|
83
|
-
items:
|
84
|
-
type: string
|
85
|
-
type: array
|
86
|
-
localPref:
|
87
|
-
description: BGP LOCAL_PREF attribute which is used by BGP best
|
88
|
-
path algorithm, Path with higher localpref is preferred over
|
89
|
-
one with lower localpref.
|
90
|
-
format: int32
|
91
|
-
type: integer
|
92
|
-
type: object
|
93
|
-
type: array
|
94
|
-
protocol:
|
95
|
-
description: Protocol can be used to select how the announcement is
|
96
|
-
done.
|
97
|
-
enum:
|
98
|
-
- layer2
|
99
|
-
- bgp
|
100
|
-
type: string
|
101
|
-
required:
|
102
|
-
- addresses
|
103
|
-
- protocol
|
104
|
-
type: object
|
105
|
-
status:
|
106
|
-
description: AddressPoolStatus defines the observed state of AddressPool.
|
107
|
-
type: object
|
108
|
-
required:
|
109
|
-
- spec
|
110
|
-
type: object
|
111
|
-
served: true
|
112
|
-
storage: false
|
113
|
-
subresources:
|
114
|
-
status: {}
|
115
|
-
- deprecated: true
|
116
|
-
deprecationWarning: metallb.io v1beta1 AddressPool is deprecated, consider using
|
117
|
-
IPAddressPool
|
118
|
-
name: v1beta1
|
119
|
-
schema:
|
120
|
-
openAPIV3Schema:
|
121
|
-
description: AddressPool represents a pool of IP addresses that can be allocated
|
122
|
-
to LoadBalancer services. AddressPool is deprecated and being replaced by
|
123
|
-
IPAddressPool.
|
124
|
-
properties:
|
125
|
-
apiVersion:
|
126
|
-
description: 'APIVersion defines the versioned schema of this representation
|
127
|
-
of an object. Servers should convert recognized schemas to the latest
|
128
|
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
129
|
-
type: string
|
130
|
-
kind:
|
131
|
-
description: 'Kind is a string value representing the REST resource this
|
132
|
-
object represents. Servers may infer this from the endpoint the client
|
133
|
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
134
|
-
type: string
|
135
|
-
metadata:
|
136
|
-
type: object
|
137
|
-
spec:
|
138
|
-
description: AddressPoolSpec defines the desired state of AddressPool.
|
139
|
-
properties:
|
140
|
-
addresses:
|
141
|
-
description: A list of IP address ranges over which MetalLB has authority.
|
142
|
-
You can list multiple ranges in a single pool, they will all share
|
143
|
-
the same settings. Each range can be either a CIDR prefix, or an
|
144
|
-
explicit start-end range of IPs.
|
145
|
-
items:
|
146
|
-
type: string
|
147
|
-
type: array
|
148
|
-
autoAssign:
|
149
|
-
default: true
|
150
|
-
description: AutoAssign flag used to prevent MetallB from automatic
|
151
|
-
allocation for a pool.
|
152
|
-
type: boolean
|
153
|
-
bgpAdvertisements:
|
154
|
-
description: Drives how an IP allocated from this pool should translated
|
155
|
-
into BGP announcements.
|
156
|
-
items:
|
157
|
-
properties:
|
158
|
-
aggregationLength:
|
159
|
-
default: 32
|
160
|
-
description: The aggregation-length advertisement option lets
|
161
|
-
you “roll up” the /32s into a larger prefix.
|
162
|
-
format: int32
|
163
|
-
minimum: 1
|
164
|
-
type: integer
|
165
|
-
aggregationLengthV6:
|
166
|
-
default: 128
|
167
|
-
description: Optional, defaults to 128 (i.e. no aggregation)
|
168
|
-
if not specified.
|
169
|
-
format: int32
|
170
|
-
type: integer
|
171
|
-
communities:
|
172
|
-
description: BGP communities to be associated with the given
|
173
|
-
advertisement.
|
174
|
-
items:
|
175
|
-
type: string
|
176
|
-
type: array
|
177
|
-
localPref:
|
178
|
-
description: BGP LOCAL_PREF attribute which is used by BGP best
|
179
|
-
path algorithm, Path with higher localpref is preferred over
|
180
|
-
one with lower localpref.
|
181
|
-
format: int32
|
182
|
-
type: integer
|
183
|
-
type: object
|
184
|
-
type: array
|
185
|
-
protocol:
|
186
|
-
description: Protocol can be used to select how the announcement is
|
187
|
-
done.
|
188
|
-
enum:
|
189
|
-
- layer2
|
190
|
-
- bgp
|
191
|
-
type: string
|
192
|
-
required:
|
193
|
-
- addresses
|
194
|
-
- protocol
|
195
|
-
type: object
|
196
|
-
status:
|
197
|
-
description: AddressPoolStatus defines the observed state of AddressPool.
|
198
|
-
type: object
|
199
|
-
required:
|
200
|
-
- spec
|
201
|
-
type: object
|
202
|
-
served: true
|
203
|
-
storage: true
|
204
|
-
subresources:
|
205
|
-
status: {}
|
206
|
-
---
|
207
|
-
apiVersion: apiextensions.k8s.io/v1
|
208
|
-
kind: CustomResourceDefinition
|
209
|
-
metadata:
|
210
|
-
annotations:
|
211
|
-
controller-gen.kubebuilder.io/version: v0.11.1
|
212
|
-
creationTimestamp: null
|
5
|
+
controller-gen.kubebuilder.io/version: v0.14.0
|
213
6
|
name: bfdprofiles.metallb.io
|
214
7
|
spec:
|
215
8
|
group: metallb.io
|
@@ -236,18 +29,24 @@ spec:
|
|
236
29
|
name: v1beta1
|
237
30
|
schema:
|
238
31
|
openAPIV3Schema:
|
239
|
-
description:
|
240
|
-
|
32
|
+
description: |-
|
33
|
+
BFDProfile represents the settings of the bfd session that can be
|
34
|
+
optionally associated with a BGP session.
|
241
35
|
properties:
|
242
36
|
apiVersion:
|
243
|
-
description:
|
244
|
-
|
245
|
-
|
37
|
+
description: |-
|
38
|
+
APIVersion defines the versioned schema of this representation of an object.
|
39
|
+
Servers should convert recognized schemas to the latest internal value, and
|
40
|
+
may reject unrecognized values.
|
41
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
246
42
|
type: string
|
247
43
|
kind:
|
248
|
-
description:
|
249
|
-
|
250
|
-
|
44
|
+
description: |-
|
45
|
+
Kind is a string value representing the REST resource this object represents.
|
46
|
+
Servers may infer this from the endpoint the client submits requests to.
|
47
|
+
Cannot be updated.
|
48
|
+
In CamelCase.
|
49
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
251
50
|
type: string
|
252
51
|
metadata:
|
253
52
|
type: object
|
@@ -255,48 +54,57 @@ spec:
|
|
255
54
|
description: BFDProfileSpec defines the desired state of BFDProfile.
|
256
55
|
properties:
|
257
56
|
detectMultiplier:
|
258
|
-
description:
|
259
|
-
|
260
|
-
|
57
|
+
description: |-
|
58
|
+
Configures the detection multiplier to determine
|
59
|
+
packet loss. The remote transmission interval will be multiplied
|
60
|
+
by this value to determine the connection loss detection timer.
|
261
61
|
format: int32
|
262
62
|
maximum: 255
|
263
63
|
minimum: 2
|
264
64
|
type: integer
|
265
65
|
echoInterval:
|
266
|
-
description:
|
267
|
-
|
268
|
-
|
66
|
+
description: |-
|
67
|
+
Configures the minimal echo receive transmission
|
68
|
+
interval that this system is capable of handling in milliseconds.
|
69
|
+
Defaults to 50ms
|
269
70
|
format: int32
|
270
71
|
maximum: 60000
|
271
72
|
minimum: 10
|
272
73
|
type: integer
|
273
74
|
echoMode:
|
274
|
-
description:
|
275
|
-
|
75
|
+
description: |-
|
76
|
+
Enables or disables the echo transmission mode.
|
77
|
+
This mode is disabled by default, and not supported on multi
|
78
|
+
hops setups.
|
276
79
|
type: boolean
|
277
80
|
minimumTtl:
|
278
|
-
description:
|
279
|
-
|
81
|
+
description: |-
|
82
|
+
For multi hop sessions only: configure the minimum
|
83
|
+
expected TTL for an incoming BFD control packet.
|
280
84
|
format: int32
|
281
85
|
maximum: 254
|
282
86
|
minimum: 1
|
283
87
|
type: integer
|
284
88
|
passiveMode:
|
285
|
-
description:
|
89
|
+
description: |-
|
90
|
+
Mark session as passive: a passive session will not
|
286
91
|
attempt to start the connection and will wait for control packets
|
287
|
-
from peer before it begins replying.
|
92
|
+
from peer before it begins replying.
|
288
93
|
type: boolean
|
289
94
|
receiveInterval:
|
290
|
-
description:
|
291
|
-
|
95
|
+
description: |-
|
96
|
+
The minimum interval that this system is capable of
|
97
|
+
receiving control packets in milliseconds.
|
98
|
+
Defaults to 300ms.
|
292
99
|
format: int32
|
293
100
|
maximum: 60000
|
294
101
|
minimum: 10
|
295
102
|
type: integer
|
296
103
|
transmitInterval:
|
297
|
-
description:
|
298
|
-
|
299
|
-
|
104
|
+
description: |-
|
105
|
+
The minimum transmission interval (less jitter)
|
106
|
+
that this system wants to use to send BFD control packets in
|
107
|
+
milliseconds. Defaults to 300ms
|
300
108
|
format: int32
|
301
109
|
maximum: 60000
|
302
110
|
minimum: 10
|
@@ -315,8 +123,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|
315
123
|
kind: CustomResourceDefinition
|
316
124
|
metadata:
|
317
125
|
annotations:
|
318
|
-
controller-gen.kubebuilder.io/version: v0.
|
319
|
-
creationTimestamp: null
|
126
|
+
controller-gen.kubebuilder.io/version: v0.14.0
|
320
127
|
name: bgpadvertisements.metallb.io
|
321
128
|
spec:
|
322
129
|
group: metallb.io
|
@@ -344,18 +151,25 @@ spec:
|
|
344
151
|
name: v1beta1
|
345
152
|
schema:
|
346
153
|
openAPIV3Schema:
|
347
|
-
description:
|
348
|
-
|
154
|
+
description: |-
|
155
|
+
BGPAdvertisement allows to advertise the IPs coming
|
156
|
+
from the selected IPAddressPools via BGP, setting the parameters of the
|
157
|
+
BGP Advertisement.
|
349
158
|
properties:
|
350
159
|
apiVersion:
|
351
|
-
description:
|
352
|
-
|
353
|
-
|
160
|
+
description: |-
|
161
|
+
APIVersion defines the versioned schema of this representation of an object.
|
162
|
+
Servers should convert recognized schemas to the latest internal value, and
|
163
|
+
may reject unrecognized values.
|
164
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
354
165
|
type: string
|
355
166
|
kind:
|
356
|
-
description:
|
357
|
-
|
358
|
-
|
167
|
+
description: |-
|
168
|
+
Kind is a string value representing the REST resource this object represents.
|
169
|
+
Servers may infer this from the endpoint the client submits requests to.
|
170
|
+
Cannot be updated.
|
171
|
+
In CamelCase.
|
172
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
359
173
|
type: string
|
360
174
|
metadata:
|
361
175
|
type: object
|
@@ -378,45 +192,46 @@ spec:
|
|
378
192
|
format: int32
|
379
193
|
type: integer
|
380
194
|
communities:
|
381
|
-
description:
|
382
|
-
Each item can be a community of the
|
383
|
-
an alias defined in the
|
195
|
+
description: |-
|
196
|
+
The BGP communities to be associated with the announcement. Each item can be a standard community of the
|
197
|
+
form 1234:1234, a large community of the form large:1234:1234:1234 or the name of an alias defined in the
|
198
|
+
Community CRD.
|
384
199
|
items:
|
385
200
|
type: string
|
386
201
|
type: array
|
387
202
|
ipAddressPoolSelectors:
|
388
|
-
description:
|
389
|
-
|
390
|
-
or by the list, the advertisement is applied to all the IPAddressPools.
|
203
|
+
description: |-
|
204
|
+
A selector for the IPAddressPools which would get advertised via this advertisement.
|
205
|
+
If no IPAddressPool is selected by this or by the list, the advertisement is applied to all the IPAddressPools.
|
391
206
|
items:
|
392
|
-
description:
|
393
|
-
|
394
|
-
label selector matches all objects. A null
|
395
|
-
no objects.
|
207
|
+
description: |-
|
208
|
+
A label selector is a label query over a set of resources. The result of matchLabels and
|
209
|
+
matchExpressions are ANDed. An empty label selector matches all objects. A null
|
210
|
+
label selector matches no objects.
|
396
211
|
properties:
|
397
212
|
matchExpressions:
|
398
213
|
description: matchExpressions is a list of label selector requirements.
|
399
214
|
The requirements are ANDed.
|
400
215
|
items:
|
401
|
-
description:
|
402
|
-
contains values, a key, and an operator that
|
403
|
-
key and values.
|
216
|
+
description: |-
|
217
|
+
A label selector requirement is a selector that contains values, a key, and an operator that
|
218
|
+
relates the key and values.
|
404
219
|
properties:
|
405
220
|
key:
|
406
221
|
description: key is the label key that the selector applies
|
407
222
|
to.
|
408
223
|
type: string
|
409
224
|
operator:
|
410
|
-
description:
|
411
|
-
to a set of values.
|
412
|
-
and DoesNotExist.
|
225
|
+
description: |-
|
226
|
+
operator represents a key's relationship to a set of values.
|
227
|
+
Valid operators are In, NotIn, Exists and DoesNotExist.
|
413
228
|
type: string
|
414
229
|
values:
|
415
|
-
description:
|
416
|
-
|
417
|
-
If the operator is Exists or DoesNotExist,
|
418
|
-
array must be empty. This array is replaced during a
|
419
|
-
|
230
|
+
description: |-
|
231
|
+
values is an array of string values. If the operator is In or NotIn,
|
232
|
+
the values array must be non-empty. If the operator is Exists or DoesNotExist,
|
233
|
+
the values array must be empty. This array is replaced during a strategic
|
234
|
+
merge patch.
|
420
235
|
items:
|
421
236
|
type: string
|
422
237
|
type: array
|
@@ -428,11 +243,10 @@ spec:
|
|
428
243
|
matchLabels:
|
429
244
|
additionalProperties:
|
430
245
|
type: string
|
431
|
-
description:
|
432
|
-
{key,value}
|
433
|
-
of matchExpressions, whose key field is "key", the
|
434
|
-
is "In", and the values array contains only "value". The requirements
|
435
|
-
are ANDed.
|
246
|
+
description: |-
|
247
|
+
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
248
|
+
map is equivalent to an element of matchExpressions, whose key field is "key", the
|
249
|
+
operator is "In", and the values array contains only "value". The requirements are ANDed.
|
436
250
|
type: object
|
437
251
|
type: object
|
438
252
|
x-kubernetes-map-type: atomic
|
@@ -444,9 +258,9 @@ spec:
|
|
444
258
|
type: string
|
445
259
|
type: array
|
446
260
|
localPref:
|
447
|
-
description:
|
448
|
-
|
449
|
-
with lower localpref.
|
261
|
+
description: |-
|
262
|
+
The BGP LOCAL_PREF attribute which is used by BGP best path algorithm,
|
263
|
+
Path with higher localpref is preferred over one with lower localpref.
|
450
264
|
format: int32
|
451
265
|
type: integer
|
452
266
|
nodeSelectors:
|
@@ -454,34 +268,34 @@ spec:
|
|
454
268
|
next hops for the LoadBalancer IP. When empty, all the nodes having are
|
455
269
|
announced as next hops.
|
456
270
|
items:
|
457
|
-
description:
|
458
|
-
|
459
|
-
label selector matches all objects. A null
|
460
|
-
no objects.
|
271
|
+
description: |-
|
272
|
+
A label selector is a label query over a set of resources. The result of matchLabels and
|
273
|
+
matchExpressions are ANDed. An empty label selector matches all objects. A null
|
274
|
+
label selector matches no objects.
|
461
275
|
properties:
|
462
276
|
matchExpressions:
|
463
277
|
description: matchExpressions is a list of label selector requirements.
|
464
278
|
The requirements are ANDed.
|
465
279
|
items:
|
466
|
-
description:
|
467
|
-
contains values, a key, and an operator that
|
468
|
-
key and values.
|
280
|
+
description: |-
|
281
|
+
A label selector requirement is a selector that contains values, a key, and an operator that
|
282
|
+
relates the key and values.
|
469
283
|
properties:
|
470
284
|
key:
|
471
285
|
description: key is the label key that the selector applies
|
472
286
|
to.
|
473
287
|
type: string
|
474
288
|
operator:
|
475
|
-
description:
|
476
|
-
to a set of values.
|
477
|
-
and DoesNotExist.
|
289
|
+
description: |-
|
290
|
+
operator represents a key's relationship to a set of values.
|
291
|
+
Valid operators are In, NotIn, Exists and DoesNotExist.
|
478
292
|
type: string
|
479
293
|
values:
|
480
|
-
description:
|
481
|
-
|
482
|
-
If the operator is Exists or DoesNotExist,
|
483
|
-
array must be empty. This array is replaced during a
|
484
|
-
|
294
|
+
description: |-
|
295
|
+
values is an array of string values. If the operator is In or NotIn,
|
296
|
+
the values array must be non-empty. If the operator is Exists or DoesNotExist,
|
297
|
+
the values array must be empty. This array is replaced during a strategic
|
298
|
+
merge patch.
|
485
299
|
items:
|
486
300
|
type: string
|
487
301
|
type: array
|
@@ -493,19 +307,18 @@ spec:
|
|
493
307
|
matchLabels:
|
494
308
|
additionalProperties:
|
495
309
|
type: string
|
496
|
-
description:
|
497
|
-
{key,value}
|
498
|
-
of matchExpressions, whose key field is "key", the
|
499
|
-
is "In", and the values array contains only "value". The requirements
|
500
|
-
are ANDed.
|
310
|
+
description: |-
|
311
|
+
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
312
|
+
map is equivalent to an element of matchExpressions, whose key field is "key", the
|
313
|
+
operator is "In", and the values array contains only "value". The requirements are ANDed.
|
501
314
|
type: object
|
502
315
|
type: object
|
503
316
|
x-kubernetes-map-type: atomic
|
504
317
|
type: array
|
505
318
|
peers:
|
506
|
-
description:
|
507
|
-
|
508
|
-
to all the BGPPeers configured.
|
319
|
+
description: |-
|
320
|
+
Peers limits the bgppeer to advertise the ips of the selected pools to.
|
321
|
+
When empty, the loadbalancer IP is announced to all the BGPPeers configured.
|
509
322
|
items:
|
510
323
|
type: string
|
511
324
|
type: array
|
@@ -523,7 +336,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|
523
336
|
kind: CustomResourceDefinition
|
524
337
|
metadata:
|
525
338
|
annotations:
|
526
|
-
controller-gen.kubebuilder.io/version: v0.
|
339
|
+
controller-gen.kubebuilder.io/version: v0.14.0
|
527
340
|
name: bgppeers.metallb.io
|
528
341
|
spec:
|
529
342
|
conversion:
|
@@ -532,7 +345,7 @@ spec:
|
|
532
345
|
clientConfig:
|
533
346
|
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlGWlRDQ0EwMmdBd0lCQWdJVU5GRW1XcTM3MVpKdGkrMmlSQzk1WmpBV1MxZ3dEUVlKS29aSWh2Y05BUUVMDQpCUUF3UWpFTE1Ba0dBMVVFQmhNQ1dGZ3hGVEFUQmdOVkJBY01ERVJsWm1GMWJIUWdRMmwwZVRFY01Cb0dBMVVFDQpDZ3dUUkdWbVlYVnNkQ0JEYjIxd1lXNTVJRXgwWkRBZUZ3MHlNakEzTVRrd09UTXlNek5hRncweU1qQTRNVGd3DQpPVE15TXpOYU1FSXhDekFKQmdOVkJBWVRBbGhZTVJVd0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npBQU4ydVl1UHFGY2pRcFNPODFzVTJTU3R3DQoxVzAyeUtYOGJEYmZFdjBzbUh3UzliQnFlSGo5NEM1Mjg0YXpsdTBmaUdpTm1OUEM4ckJLRmhBPQ0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ==
|
534
347
|
service:
|
535
|
-
name: webhook-service
|
348
|
+
name: metallb-webhook-service
|
536
349
|
namespace: metallb-system
|
537
350
|
path: /convert
|
538
351
|
conversionReviewVersions:
|
@@ -565,14 +378,19 @@ spec:
|
|
565
378
|
description: BGPPeer is the Schema for the peers API.
|
566
379
|
properties:
|
567
380
|
apiVersion:
|
568
|
-
description:
|
569
|
-
|
570
|
-
|
381
|
+
description: |-
|
382
|
+
APIVersion defines the versioned schema of this representation of an object.
|
383
|
+
Servers should convert recognized schemas to the latest internal value, and
|
384
|
+
may reject unrecognized values.
|
385
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
571
386
|
type: string
|
572
387
|
kind:
|
573
|
-
description:
|
574
|
-
|
575
|
-
|
388
|
+
description: |-
|
389
|
+
Kind is a string value representing the REST resource this object represents.
|
390
|
+
Servers may infer this from the endpoint the client submits requests to.
|
391
|
+
Cannot be updated.
|
392
|
+
In CamelCase.
|
393
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
576
394
|
type: string
|
577
395
|
metadata:
|
578
396
|
type: object
|
@@ -597,8 +415,9 @@ spec:
|
|
597
415
|
minimum: 0
|
598
416
|
type: integer
|
599
417
|
nodeSelectors:
|
600
|
-
description:
|
601
|
-
these
|
418
|
+
description: |-
|
419
|
+
Only connect to this peer on nodes that match one of these
|
420
|
+
selectors.
|
602
421
|
items:
|
603
422
|
properties:
|
604
423
|
matchExpressions:
|
@@ -681,14 +500,19 @@ spec:
|
|
681
500
|
description: BGPPeer is the Schema for the peers API.
|
682
501
|
properties:
|
683
502
|
apiVersion:
|
684
|
-
description:
|
685
|
-
|
686
|
-
|
503
|
+
description: |-
|
504
|
+
APIVersion defines the versioned schema of this representation of an object.
|
505
|
+
Servers should convert recognized schemas to the latest internal value, and
|
506
|
+
may reject unrecognized values.
|
507
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
687
508
|
type: string
|
688
509
|
kind:
|
689
|
-
description:
|
690
|
-
|
691
|
-
|
510
|
+
description: |-
|
511
|
+
Kind is a string value representing the REST resource this object represents.
|
512
|
+
Servers may infer this from the endpoint the client submits requests to.
|
513
|
+
Cannot be updated.
|
514
|
+
In CamelCase.
|
515
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
692
516
|
type: string
|
693
517
|
metadata:
|
694
518
|
type: object
|
@@ -700,6 +524,21 @@ spec:
|
|
700
524
|
associated to the BGP session. If not set, the BFD session won't
|
701
525
|
be set up.
|
702
526
|
type: string
|
527
|
+
connectTime:
|
528
|
+
description: Requested BGP connect time, controls how long BGP waits
|
529
|
+
between connection attempts to a neighbor.
|
530
|
+
type: string
|
531
|
+
x-kubernetes-validations:
|
532
|
+
- message: connect time should be between 1 seconds to 65535
|
533
|
+
rule: duration(self).getSeconds() >= 1 && duration(self).getSeconds()
|
534
|
+
<= 65535
|
535
|
+
- message: connect time should contain a whole number of seconds
|
536
|
+
rule: duration(self).getMilliseconds() % 1000 == 0
|
537
|
+
disableMP:
|
538
|
+
default: false
|
539
|
+
description: To set if we want to disable MP BGP that will separate
|
540
|
+
IPv4 and IPv6 route exchanges into distinct BGP sessions.
|
541
|
+
type: boolean
|
703
542
|
ebgpMultiHop:
|
704
543
|
description: To set if the BGPPeer is multi-hops away. Needed for
|
705
544
|
FRR mode only.
|
@@ -717,37 +556,38 @@ spec:
|
|
717
556
|
minimum: 0
|
718
557
|
type: integer
|
719
558
|
nodeSelectors:
|
720
|
-
description:
|
721
|
-
these
|
559
|
+
description: |-
|
560
|
+
Only connect to this peer on nodes that match one of these
|
561
|
+
selectors.
|
722
562
|
items:
|
723
|
-
description:
|
724
|
-
|
725
|
-
label selector matches all objects. A null
|
726
|
-
no objects.
|
563
|
+
description: |-
|
564
|
+
A label selector is a label query over a set of resources. The result of matchLabels and
|
565
|
+
matchExpressions are ANDed. An empty label selector matches all objects. A null
|
566
|
+
label selector matches no objects.
|
727
567
|
properties:
|
728
568
|
matchExpressions:
|
729
569
|
description: matchExpressions is a list of label selector requirements.
|
730
570
|
The requirements are ANDed.
|
731
571
|
items:
|
732
|
-
description:
|
733
|
-
contains values, a key, and an operator that
|
734
|
-
key and values.
|
572
|
+
description: |-
|
573
|
+
A label selector requirement is a selector that contains values, a key, and an operator that
|
574
|
+
relates the key and values.
|
735
575
|
properties:
|
736
576
|
key:
|
737
577
|
description: key is the label key that the selector applies
|
738
578
|
to.
|
739
579
|
type: string
|
740
580
|
operator:
|
741
|
-
description:
|
742
|
-
to a set of values.
|
743
|
-
and DoesNotExist.
|
581
|
+
description: |-
|
582
|
+
operator represents a key's relationship to a set of values.
|
583
|
+
Valid operators are In, NotIn, Exists and DoesNotExist.
|
744
584
|
type: string
|
745
585
|
values:
|
746
|
-
description:
|
747
|
-
|
748
|
-
If the operator is Exists or DoesNotExist,
|
749
|
-
array must be empty. This array is replaced during a
|
750
|
-
|
586
|
+
description: |-
|
587
|
+
values is an array of string values. If the operator is In or NotIn,
|
588
|
+
the values array must be non-empty. If the operator is Exists or DoesNotExist,
|
589
|
+
the values array must be empty. This array is replaced during a strategic
|
590
|
+
merge patch.
|
751
591
|
items:
|
752
592
|
type: string
|
753
593
|
type: array
|
@@ -759,11 +599,10 @@ spec:
|
|
759
599
|
matchLabels:
|
760
600
|
additionalProperties:
|
761
601
|
type: string
|
762
|
-
description:
|
763
|
-
{key,value}
|
764
|
-
of matchExpressions, whose key field is "key", the
|
765
|
-
is "In", and the values array contains only "value". The requirements
|
766
|
-
are ANDed.
|
602
|
+
description: |-
|
603
|
+
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
604
|
+
map is equivalent to an element of matchExpressions, whose key field is "key", the
|
605
|
+
operator is "In", and the values array contains only "value". The requirements are ANDed.
|
767
606
|
type: object
|
768
607
|
type: object
|
769
608
|
x-kubernetes-map-type: atomic
|
@@ -773,10 +612,11 @@ spec:
|
|
773
612
|
authenticated sessions
|
774
613
|
type: string
|
775
614
|
passwordSecret:
|
776
|
-
description:
|
777
|
-
|
778
|
-
|
779
|
-
password is stored in the
|
615
|
+
description: |-
|
616
|
+
passwordSecret is name of the authentication secret for BGP Peer.
|
617
|
+
the secret must be of type "kubernetes.io/basic-auth", and created in the
|
618
|
+
same namespace as the MetalLB deployment. The password is stored in the
|
619
|
+
secret as the key "password".
|
780
620
|
properties:
|
781
621
|
name:
|
782
622
|
description: name is unique within a namespace to reference a
|
@@ -810,8 +650,9 @@ spec:
|
|
810
650
|
description: Source address to use when establishing the session.
|
811
651
|
type: string
|
812
652
|
vrf:
|
813
|
-
description:
|
814
|
-
|
653
|
+
description: |-
|
654
|
+
To set if we want to peer with the BGPPeer using an interface belonging to
|
655
|
+
a host vrf
|
815
656
|
type: string
|
816
657
|
required:
|
817
658
|
- myASN
|
@@ -831,8 +672,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|
831
672
|
kind: CustomResourceDefinition
|
832
673
|
metadata:
|
833
674
|
annotations:
|
834
|
-
controller-gen.kubebuilder.io/version: v0.
|
835
|
-
creationTimestamp: null
|
675
|
+
controller-gen.kubebuilder.io/version: v0.14.0
|
836
676
|
name: communities.metallb.io
|
837
677
|
spec:
|
838
678
|
group: metallb.io
|
@@ -846,18 +686,24 @@ spec:
|
|
846
686
|
- name: v1beta1
|
847
687
|
schema:
|
848
688
|
openAPIV3Schema:
|
849
|
-
description:
|
850
|
-
|
689
|
+
description: |-
|
690
|
+
Community is a collection of aliases for communities.
|
691
|
+
Users can define named aliases to be used in the BGPPeer CRD.
|
851
692
|
properties:
|
852
693
|
apiVersion:
|
853
|
-
description:
|
854
|
-
|
855
|
-
|
694
|
+
description: |-
|
695
|
+
APIVersion defines the versioned schema of this representation of an object.
|
696
|
+
Servers should convert recognized schemas to the latest internal value, and
|
697
|
+
may reject unrecognized values.
|
698
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
856
699
|
type: string
|
857
700
|
kind:
|
858
|
-
description:
|
859
|
-
|
860
|
-
|
701
|
+
description: |-
|
702
|
+
Kind is a string value representing the REST resource this object represents.
|
703
|
+
Servers may infer this from the endpoint the client submits requests to.
|
704
|
+
Cannot be updated.
|
705
|
+
In CamelCase.
|
706
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
861
707
|
type: string
|
862
708
|
metadata:
|
863
709
|
type: object
|
@@ -871,8 +717,9 @@ spec:
|
|
871
717
|
description: The name of the alias for the community.
|
872
718
|
type: string
|
873
719
|
value:
|
874
|
-
description:
|
875
|
-
name.
|
720
|
+
description: |-
|
721
|
+
The BGP community value corresponding to the given name. Can be a standard community of the form 1234:1234
|
722
|
+
or a large community of the form large:1234:1234:1234.
|
876
723
|
type: string
|
877
724
|
type: object
|
878
725
|
type: array
|
@@ -890,8 +737,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|
890
737
|
kind: CustomResourceDefinition
|
891
738
|
metadata:
|
892
739
|
annotations:
|
893
|
-
controller-gen.kubebuilder.io/version: v0.
|
894
|
-
creationTimestamp: null
|
740
|
+
controller-gen.kubebuilder.io/version: v0.14.0
|
895
741
|
name: ipaddresspools.metallb.io
|
896
742
|
spec:
|
897
743
|
group: metallb.io
|
@@ -915,18 +761,24 @@ spec:
|
|
915
761
|
name: v1beta1
|
916
762
|
schema:
|
917
763
|
openAPIV3Schema:
|
918
|
-
description:
|
764
|
+
description: |-
|
765
|
+
IPAddressPool represents a pool of IP addresses that can be allocated
|
919
766
|
to LoadBalancer services.
|
920
767
|
properties:
|
921
768
|
apiVersion:
|
922
|
-
description:
|
923
|
-
|
924
|
-
|
769
|
+
description: |-
|
770
|
+
APIVersion defines the versioned schema of this representation of an object.
|
771
|
+
Servers should convert recognized schemas to the latest internal value, and
|
772
|
+
may reject unrecognized values.
|
773
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
925
774
|
type: string
|
926
775
|
kind:
|
927
|
-
description:
|
928
|
-
|
929
|
-
|
776
|
+
description: |-
|
777
|
+
Kind is a string value representing the REST resource this object represents.
|
778
|
+
Servers may infer this from the endpoint the client submits requests to.
|
779
|
+
Cannot be updated.
|
780
|
+
In CamelCase.
|
781
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
930
782
|
type: string
|
931
783
|
metadata:
|
932
784
|
type: object
|
@@ -934,66 +786,69 @@ spec:
|
|
934
786
|
description: IPAddressPoolSpec defines the desired state of IPAddressPool.
|
935
787
|
properties:
|
936
788
|
addresses:
|
937
|
-
description:
|
938
|
-
|
939
|
-
|
940
|
-
|
789
|
+
description: |-
|
790
|
+
A list of IP address ranges over which MetalLB has authority.
|
791
|
+
You can list multiple ranges in a single pool, they will all share the
|
792
|
+
same settings. Each range can be either a CIDR prefix, or an explicit
|
793
|
+
start-end range of IPs.
|
941
794
|
items:
|
942
795
|
type: string
|
943
796
|
type: array
|
944
797
|
autoAssign:
|
945
798
|
default: true
|
946
|
-
description:
|
947
|
-
|
799
|
+
description: |-
|
800
|
+
AutoAssign flag used to prevent MetallB from automatic allocation
|
801
|
+
for a pool.
|
948
802
|
type: boolean
|
949
803
|
avoidBuggyIPs:
|
950
804
|
default: false
|
951
|
-
description:
|
805
|
+
description: |-
|
806
|
+
AvoidBuggyIPs prevents addresses ending with .0 and .255
|
952
807
|
to be used by a pool.
|
953
808
|
type: boolean
|
954
809
|
serviceAllocation:
|
955
|
-
description:
|
956
|
-
|
957
|
-
|
958
|
-
set will be used only if the
|
959
|
-
If multiple matching IPAddressPools are
|
960
|
-
for the availability of IPs sorting the matching
|
961
|
-
by priority, starting from the highest to the lowest. If
|
962
|
-
IPAddressPools have the same priority, choice will be random.
|
810
|
+
description: |-
|
811
|
+
AllocateTo makes ip pool allocation to specific namespace and/or service.
|
812
|
+
The controller will use the pool with lowest value of priority in case of
|
813
|
+
multiple matches. A pool with no priority set will be used only if the
|
814
|
+
pools with priority can't be used. If multiple matching IPAddressPools are
|
815
|
+
available it will check for the availability of IPs sorting the matching
|
816
|
+
IPAddressPools by priority, starting from the highest to the lowest. If
|
817
|
+
multiple IPAddressPools have the same priority, choice will be random.
|
963
818
|
properties:
|
964
819
|
namespaceSelectors:
|
965
|
-
description:
|
966
|
-
namespace(s) for ip pool,
|
967
|
-
list.
|
820
|
+
description: |-
|
821
|
+
NamespaceSelectors list of label selectors to select namespace(s) for ip pool,
|
822
|
+
an alternative to using namespace list.
|
968
823
|
items:
|
969
|
-
description:
|
970
|
-
resources. The result of matchLabels and
|
971
|
-
are ANDed. An empty label selector matches all objects. A
|
972
|
-
|
824
|
+
description: |-
|
825
|
+
A label selector is a label query over a set of resources. The result of matchLabels and
|
826
|
+
matchExpressions are ANDed. An empty label selector matches all objects. A null
|
827
|
+
label selector matches no objects.
|
973
828
|
properties:
|
974
829
|
matchExpressions:
|
975
830
|
description: matchExpressions is a list of label selector
|
976
831
|
requirements. The requirements are ANDed.
|
977
832
|
items:
|
978
|
-
description:
|
979
|
-
that contains values, a key, and an operator that
|
980
|
-
the key and values.
|
833
|
+
description: |-
|
834
|
+
A label selector requirement is a selector that contains values, a key, and an operator that
|
835
|
+
relates the key and values.
|
981
836
|
properties:
|
982
837
|
key:
|
983
838
|
description: key is the label key that the selector
|
984
839
|
applies to.
|
985
840
|
type: string
|
986
841
|
operator:
|
987
|
-
description:
|
988
|
-
to a set of values.
|
989
|
-
Exists and DoesNotExist.
|
842
|
+
description: |-
|
843
|
+
operator represents a key's relationship to a set of values.
|
844
|
+
Valid operators are In, NotIn, Exists and DoesNotExist.
|
990
845
|
type: string
|
991
846
|
values:
|
992
|
-
description:
|
993
|
-
If the operator is In or NotIn,
|
994
|
-
must be non-empty. If the operator is Exists or
|
995
|
-
|
996
|
-
|
847
|
+
description: |-
|
848
|
+
values is an array of string values. If the operator is In or NotIn,
|
849
|
+
the values array must be non-empty. If the operator is Exists or DoesNotExist,
|
850
|
+
the values array must be empty. This array is replaced during a strategic
|
851
|
+
merge patch.
|
997
852
|
items:
|
998
853
|
type: string
|
999
854
|
type: array
|
@@ -1005,11 +860,10 @@ spec:
|
|
1005
860
|
matchLabels:
|
1006
861
|
additionalProperties:
|
1007
862
|
type: string
|
1008
|
-
description:
|
1009
|
-
A single {key,value} in the matchLabels
|
1010
|
-
to an element of matchExpressions, whose key field is
|
1011
|
-
|
1012
|
-
only "value". The requirements are ANDed.
|
863
|
+
description: |-
|
864
|
+
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
865
|
+
map is equivalent to an element of matchExpressions, whose key field is "key", the
|
866
|
+
operator is "In", and the values array contains only "value". The requirements are ANDed.
|
1013
867
|
type: object
|
1014
868
|
type: object
|
1015
869
|
x-kubernetes-map-type: atomic
|
@@ -1025,37 +879,38 @@ spec:
|
|
1025
879
|
on a service.
|
1026
880
|
type: integer
|
1027
881
|
serviceSelectors:
|
1028
|
-
description:
|
1029
|
-
service(s) for which ip pool
|
882
|
+
description: |-
|
883
|
+
ServiceSelectors list of label selector to select service(s) for which ip pool
|
884
|
+
can be used for ip allocation.
|
1030
885
|
items:
|
1031
|
-
description:
|
1032
|
-
resources. The result of matchLabels and
|
1033
|
-
are ANDed. An empty label selector matches all objects. A
|
1034
|
-
|
886
|
+
description: |-
|
887
|
+
A label selector is a label query over a set of resources. The result of matchLabels and
|
888
|
+
matchExpressions are ANDed. An empty label selector matches all objects. A null
|
889
|
+
label selector matches no objects.
|
1035
890
|
properties:
|
1036
891
|
matchExpressions:
|
1037
892
|
description: matchExpressions is a list of label selector
|
1038
893
|
requirements. The requirements are ANDed.
|
1039
894
|
items:
|
1040
|
-
description:
|
1041
|
-
that contains values, a key, and an operator that
|
1042
|
-
the key and values.
|
895
|
+
description: |-
|
896
|
+
A label selector requirement is a selector that contains values, a key, and an operator that
|
897
|
+
relates the key and values.
|
1043
898
|
properties:
|
1044
899
|
key:
|
1045
900
|
description: key is the label key that the selector
|
1046
901
|
applies to.
|
1047
902
|
type: string
|
1048
903
|
operator:
|
1049
|
-
description:
|
1050
|
-
to a set of values.
|
1051
|
-
Exists and DoesNotExist.
|
904
|
+
description: |-
|
905
|
+
operator represents a key's relationship to a set of values.
|
906
|
+
Valid operators are In, NotIn, Exists and DoesNotExist.
|
1052
907
|
type: string
|
1053
908
|
values:
|
1054
|
-
description:
|
1055
|
-
If the operator is In or NotIn,
|
1056
|
-
must be non-empty. If the operator is Exists or
|
1057
|
-
|
1058
|
-
|
909
|
+
description: |-
|
910
|
+
values is an array of string values. If the operator is In or NotIn,
|
911
|
+
the values array must be non-empty. If the operator is Exists or DoesNotExist,
|
912
|
+
the values array must be empty. This array is replaced during a strategic
|
913
|
+
merge patch.
|
1059
914
|
items:
|
1060
915
|
type: string
|
1061
916
|
type: array
|
@@ -1067,11 +922,10 @@ spec:
|
|
1067
922
|
matchLabels:
|
1068
923
|
additionalProperties:
|
1069
924
|
type: string
|
1070
|
-
description:
|
1071
|
-
A single {key,value} in the matchLabels
|
1072
|
-
to an element of matchExpressions, whose key field is
|
1073
|
-
|
1074
|
-
only "value". The requirements are ANDed.
|
925
|
+
description: |-
|
926
|
+
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
927
|
+
map is equivalent to an element of matchExpressions, whose key field is "key", the
|
928
|
+
operator is "In", and the values array contains only "value". The requirements are ANDed.
|
1075
929
|
type: object
|
1076
930
|
type: object
|
1077
931
|
x-kubernetes-map-type: atomic
|
@@ -1095,8 +949,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|
1095
949
|
kind: CustomResourceDefinition
|
1096
950
|
metadata:
|
1097
951
|
annotations:
|
1098
|
-
controller-gen.kubebuilder.io/version: v0.
|
1099
|
-
creationTimestamp: null
|
952
|
+
controller-gen.kubebuilder.io/version: v0.14.0
|
1100
953
|
name: l2advertisements.metallb.io
|
1101
954
|
spec:
|
1102
955
|
group: metallb.io
|
@@ -1124,18 +977,24 @@ spec:
|
|
1124
977
|
name: v1beta1
|
1125
978
|
schema:
|
1126
979
|
openAPIV3Schema:
|
1127
|
-
description:
|
980
|
+
description: |-
|
981
|
+
L2Advertisement allows to advertise the LoadBalancer IPs provided
|
1128
982
|
by the selected pools via L2.
|
1129
983
|
properties:
|
1130
984
|
apiVersion:
|
1131
|
-
description:
|
1132
|
-
|
1133
|
-
|
985
|
+
description: |-
|
986
|
+
APIVersion defines the versioned schema of this representation of an object.
|
987
|
+
Servers should convert recognized schemas to the latest internal value, and
|
988
|
+
may reject unrecognized values.
|
989
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
1134
990
|
type: string
|
1135
991
|
kind:
|
1136
|
-
description:
|
1137
|
-
|
1138
|
-
|
992
|
+
description: |-
|
993
|
+
Kind is a string value representing the REST resource this object represents.
|
994
|
+
Servers may infer this from the endpoint the client submits requests to.
|
995
|
+
Cannot be updated.
|
996
|
+
In CamelCase.
|
997
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1139
998
|
type: string
|
1140
999
|
metadata:
|
1141
1000
|
type: object
|
@@ -1143,45 +1002,45 @@ spec:
|
|
1143
1002
|
description: L2AdvertisementSpec defines the desired state of L2Advertisement.
|
1144
1003
|
properties:
|
1145
1004
|
interfaces:
|
1146
|
-
description:
|
1147
|
-
be announced only from these interfaces.
|
1148
|
-
we advertise from all the interfaces on the host.
|
1005
|
+
description: |-
|
1006
|
+
A list of interfaces to announce from. The LB IP will be announced only from these interfaces.
|
1007
|
+
If the field is not set, we advertise from all the interfaces on the host.
|
1149
1008
|
items:
|
1150
1009
|
type: string
|
1151
1010
|
type: array
|
1152
1011
|
ipAddressPoolSelectors:
|
1153
|
-
description:
|
1154
|
-
|
1155
|
-
or by the list, the advertisement is applied to all the IPAddressPools.
|
1012
|
+
description: |-
|
1013
|
+
A selector for the IPAddressPools which would get advertised via this advertisement.
|
1014
|
+
If no IPAddressPool is selected by this or by the list, the advertisement is applied to all the IPAddressPools.
|
1156
1015
|
items:
|
1157
|
-
description:
|
1158
|
-
|
1159
|
-
label selector matches all objects. A null
|
1160
|
-
no objects.
|
1016
|
+
description: |-
|
1017
|
+
A label selector is a label query over a set of resources. The result of matchLabels and
|
1018
|
+
matchExpressions are ANDed. An empty label selector matches all objects. A null
|
1019
|
+
label selector matches no objects.
|
1161
1020
|
properties:
|
1162
1021
|
matchExpressions:
|
1163
1022
|
description: matchExpressions is a list of label selector requirements.
|
1164
1023
|
The requirements are ANDed.
|
1165
1024
|
items:
|
1166
|
-
description:
|
1167
|
-
contains values, a key, and an operator that
|
1168
|
-
key and values.
|
1025
|
+
description: |-
|
1026
|
+
A label selector requirement is a selector that contains values, a key, and an operator that
|
1027
|
+
relates the key and values.
|
1169
1028
|
properties:
|
1170
1029
|
key:
|
1171
1030
|
description: key is the label key that the selector applies
|
1172
1031
|
to.
|
1173
1032
|
type: string
|
1174
1033
|
operator:
|
1175
|
-
description:
|
1176
|
-
to a set of values.
|
1177
|
-
and DoesNotExist.
|
1034
|
+
description: |-
|
1035
|
+
operator represents a key's relationship to a set of values.
|
1036
|
+
Valid operators are In, NotIn, Exists and DoesNotExist.
|
1178
1037
|
type: string
|
1179
1038
|
values:
|
1180
|
-
description:
|
1181
|
-
|
1182
|
-
If the operator is Exists or DoesNotExist,
|
1183
|
-
array must be empty. This array is replaced during a
|
1184
|
-
|
1039
|
+
description: |-
|
1040
|
+
values is an array of string values. If the operator is In or NotIn,
|
1041
|
+
the values array must be non-empty. If the operator is Exists or DoesNotExist,
|
1042
|
+
the values array must be empty. This array is replaced during a strategic
|
1043
|
+
merge patch.
|
1185
1044
|
items:
|
1186
1045
|
type: string
|
1187
1046
|
type: array
|
@@ -1193,11 +1052,10 @@ spec:
|
|
1193
1052
|
matchLabels:
|
1194
1053
|
additionalProperties:
|
1195
1054
|
type: string
|
1196
|
-
description:
|
1197
|
-
{key,value}
|
1198
|
-
of matchExpressions, whose key field is "key", the
|
1199
|
-
is "In", and the values array contains only "value". The requirements
|
1200
|
-
are ANDed.
|
1055
|
+
description: |-
|
1056
|
+
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
1057
|
+
map is equivalent to an element of matchExpressions, whose key field is "key", the
|
1058
|
+
operator is "In", and the values array contains only "value". The requirements are ANDed.
|
1201
1059
|
type: object
|
1202
1060
|
type: object
|
1203
1061
|
x-kubernetes-map-type: atomic
|
@@ -1213,34 +1071,34 @@ spec:
|
|
1213
1071
|
next hops for the LoadBalancer IP. When empty, all the nodes having are
|
1214
1072
|
announced as next hops.
|
1215
1073
|
items:
|
1216
|
-
description:
|
1217
|
-
|
1218
|
-
label selector matches all objects. A null
|
1219
|
-
no objects.
|
1074
|
+
description: |-
|
1075
|
+
A label selector is a label query over a set of resources. The result of matchLabels and
|
1076
|
+
matchExpressions are ANDed. An empty label selector matches all objects. A null
|
1077
|
+
label selector matches no objects.
|
1220
1078
|
properties:
|
1221
1079
|
matchExpressions:
|
1222
1080
|
description: matchExpressions is a list of label selector requirements.
|
1223
1081
|
The requirements are ANDed.
|
1224
1082
|
items:
|
1225
|
-
description:
|
1226
|
-
contains values, a key, and an operator that
|
1227
|
-
key and values.
|
1083
|
+
description: |-
|
1084
|
+
A label selector requirement is a selector that contains values, a key, and an operator that
|
1085
|
+
relates the key and values.
|
1228
1086
|
properties:
|
1229
1087
|
key:
|
1230
1088
|
description: key is the label key that the selector applies
|
1231
1089
|
to.
|
1232
1090
|
type: string
|
1233
1091
|
operator:
|
1234
|
-
description:
|
1235
|
-
to a set of values.
|
1236
|
-
and DoesNotExist.
|
1092
|
+
description: |-
|
1093
|
+
operator represents a key's relationship to a set of values.
|
1094
|
+
Valid operators are In, NotIn, Exists and DoesNotExist.
|
1237
1095
|
type: string
|
1238
1096
|
values:
|
1239
|
-
description:
|
1240
|
-
|
1241
|
-
If the operator is Exists or DoesNotExist,
|
1242
|
-
array must be empty. This array is replaced during a
|
1243
|
-
|
1097
|
+
description: |-
|
1098
|
+
values is an array of string values. If the operator is In or NotIn,
|
1099
|
+
the values array must be non-empty. If the operator is Exists or DoesNotExist,
|
1100
|
+
the values array must be empty. This array is replaced during a strategic
|
1101
|
+
merge patch.
|
1244
1102
|
items:
|
1245
1103
|
type: string
|
1246
1104
|
type: array
|
@@ -1252,11 +1110,10 @@ spec:
|
|
1252
1110
|
matchLabels:
|
1253
1111
|
additionalProperties:
|
1254
1112
|
type: string
|
1255
|
-
description:
|
1256
|
-
{key,value}
|
1257
|
-
of matchExpressions, whose key field is "key", the
|
1258
|
-
is "In", and the values array contains only "value". The requirements
|
1259
|
-
are ANDed.
|
1113
|
+
description: |-
|
1114
|
+
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
1115
|
+
map is equivalent to an element of matchExpressions, whose key field is "key", the
|
1116
|
+
operator is "In", and the values array contains only "value". The requirements are ANDed.
|
1260
1117
|
type: object
|
1261
1118
|
type: object
|
1262
1119
|
x-kubernetes-map-type: atomic
|
@@ -1270,3 +1127,72 @@ spec:
|
|
1270
1127
|
storage: true
|
1271
1128
|
subresources:
|
1272
1129
|
status: {}
|
1130
|
+
---
|
1131
|
+
apiVersion: apiextensions.k8s.io/v1
|
1132
|
+
kind: CustomResourceDefinition
|
1133
|
+
metadata:
|
1134
|
+
annotations:
|
1135
|
+
controller-gen.kubebuilder.io/version: v0.14.0
|
1136
|
+
name: servicel2statuses.metallb.io
|
1137
|
+
spec:
|
1138
|
+
group: metallb.io
|
1139
|
+
names:
|
1140
|
+
kind: ServiceL2Status
|
1141
|
+
listKind: ServiceL2StatusList
|
1142
|
+
plural: servicel2statuses
|
1143
|
+
singular: servicel2status
|
1144
|
+
scope: Namespaced
|
1145
|
+
versions:
|
1146
|
+
- additionalPrinterColumns:
|
1147
|
+
- jsonPath: .status.node
|
1148
|
+
name: Allocated Node
|
1149
|
+
type: string
|
1150
|
+
name: v1beta1
|
1151
|
+
schema:
|
1152
|
+
openAPIV3Schema:
|
1153
|
+
description: ServiceL2Status reveals the actual traffic status of loadbalancer
|
1154
|
+
services in layer2 mode.
|
1155
|
+
properties:
|
1156
|
+
apiVersion:
|
1157
|
+
description: |-
|
1158
|
+
APIVersion defines the versioned schema of this representation of an object.
|
1159
|
+
Servers should convert recognized schemas to the latest internal value, and
|
1160
|
+
may reject unrecognized values.
|
1161
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
1162
|
+
type: string
|
1163
|
+
kind:
|
1164
|
+
description: |-
|
1165
|
+
Kind is a string value representing the REST resource this object represents.
|
1166
|
+
Servers may infer this from the endpoint the client submits requests to.
|
1167
|
+
Cannot be updated.
|
1168
|
+
In CamelCase.
|
1169
|
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1170
|
+
type: string
|
1171
|
+
metadata:
|
1172
|
+
type: object
|
1173
|
+
spec:
|
1174
|
+
description: ServiceL2StatusSpec defines the desired state of ServiceL2Status.
|
1175
|
+
type: object
|
1176
|
+
status:
|
1177
|
+
description: MetalLBServiceL2Status defines the observed state of ServiceL2Status.
|
1178
|
+
properties:
|
1179
|
+
interfaces:
|
1180
|
+
description: Interfaces indicates the interfaces that receive the
|
1181
|
+
directed traffic
|
1182
|
+
items:
|
1183
|
+
description: InterfaceInfo defines interface info of layer2 announcement.
|
1184
|
+
properties:
|
1185
|
+
name:
|
1186
|
+
description: Name the name of network interface card
|
1187
|
+
type: string
|
1188
|
+
type: object
|
1189
|
+
type: array
|
1190
|
+
node:
|
1191
|
+
description: Node indicates the node that receives the directed traffic
|
1192
|
+
type: string
|
1193
|
+
type: object
|
1194
|
+
type: object
|
1195
|
+
served: true
|
1196
|
+
storage: true
|
1197
|
+
subresources:
|
1198
|
+
status: {}
|