You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "PlacementPolicy represents a set of pods with consistent identities.
20
-
Identities are defined as: - Network: A single stable DNS and hostname. -
21
-
Storage: As many VolumeClaims as requested. \n The PlacementPolicy guarantees
22
-
that a given network identity will always map to the same storage identity."
19
+
description: |-
20
+
PlacementPolicy represents a set of pods with consistent identities.
21
+
Identities are defined as:
22
+
- Network: A single stable DNS and hostname.
23
+
- Storage: As many VolumeClaims as requested.
24
+
25
+
The PlacementPolicy guarantees that a given network identity will always
26
+
map to the same storage identity.
23
27
properties:
24
28
apiVersion:
25
-
description: 'APIVersion defines the versioned schema of this representation
26
-
of an object. Servers should convert recognized schemas to the latest
27
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
29
+
description: |-
30
+
APIVersion defines the versioned schema of this representation of an object.
31
+
Servers should convert recognized schemas to the latest internal value, and
32
+
may reject unrecognized values.
33
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28
34
type: string
29
35
kind:
30
-
description: 'Kind is a string value representing the REST resource this
31
-
object represents. Servers may infer this from the endpoint the client
32
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
36
+
description: |-
37
+
Kind is a string value representing the REST resource this object represents.
38
+
Servers may infer this from the endpoint the client submits requests to.
39
+
Cannot be updated.
40
+
In CamelCase.
41
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
33
42
type: string
34
43
metadata:
35
44
properties:
@@ -99,6 +108,172 @@ spec:
99
108
type: object
100
109
type: array
101
110
type: object
111
+
clusterSpreadConstraint:
112
+
description: ClusterSpreadConstraint provides spec for distributed pod
113
+
placements
114
+
properties:
115
+
distributionRules:
116
+
items:
117
+
properties:
118
+
clusterName:
119
+
type: string
120
+
monitoring:
121
+
properties:
122
+
prometheus:
123
+
properties:
124
+
appBindingRef:
125
+
description: ObjectReference contains enough information
126
+
to let you inspect or modify the referred object.
127
+
properties:
128
+
name:
129
+
description: |-
130
+
Name of the referent.
131
+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
132
+
type: string
133
+
namespace:
134
+
description: |-
135
+
Namespace of the referent.
136
+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
137
+
type: string
138
+
required:
139
+
- name
140
+
type: object
141
+
authSecret:
142
+
description: |-
143
+
Secret is the name of the secret to create in the AppBinding's
144
+
namespace that will hold the credentials associated with the AppBinding.
145
+
properties:
146
+
name:
147
+
description: |-
148
+
Name of the referent.
149
+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
150
+
type: string
151
+
namespace:
152
+
description: |-
153
+
Namespace of the referent.
154
+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
155
+
type: string
156
+
required:
157
+
- name
158
+
type: object
159
+
caBundle:
160
+
description: CABundle is a PEM encoded CA bundle which
161
+
will be used to validate the serving certificate
162
+
of this app.
163
+
format: byte
164
+
type: string
165
+
insecureSkipTLSVerify:
166
+
description: |-
167
+
InsecureSkipTLSVerify disables TLS certificate verification when communicating with this app.
168
+
This is strongly discouraged. You should use the CABundle instead.
169
+
type: boolean
170
+
serverName:
171
+
description: |-
172
+
ServerName is used to verify the hostname on the returned
173
+
certificates unless InsecureSkipVerify is given. It is also included
174
+
in the client's handshake to support virtual hosting unless it is
175
+
an IP address.
176
+
type: string
177
+
tlsSecret:
178
+
description: |-
179
+
TLSSecret is the name of the secret that will hold
180
+
the client certificate and private key associated with the AppBinding.
181
+
properties:
182
+
name:
183
+
description: |-
184
+
Name of the referent.
185
+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
186
+
type: string
187
+
namespace:
188
+
description: |-
189
+
Namespace of the referent.
190
+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
191
+
type: string
192
+
required:
193
+
- name
194
+
type: object
195
+
url:
196
+
description: |-
197
+
`url` gives the location of the app, in standard URL form
198
+
(`[scheme://]host:port/path`). Exactly one of `url` or `service`
199
+
must be specified.
200
+
type: string
201
+
type: object
202
+
type: object
203
+
replicaIndices:
204
+
items:
205
+
format: int32
206
+
type: integer
207
+
type: array
208
+
role:
209
+
description: |-
210
+
Role describes how this data center participates in DC/DR failover.
211
+
Member: data bearing and primary eligible (a candidate for the primary DC).
212
+
Arbiter: votes only, holds no data, never primary.
213
+
Witness: data bearing but never primary (for engines like MongoDB whose
214
+
witness must carry data to satisfy majority writes, yet must not be elected).
215
+
Defaults to Member when empty.
216
+
enum:
217
+
- Member
218
+
- Arbiter
219
+
- Witness
220
+
type: string
221
+
storageClassName:
222
+
type: string
223
+
required:
224
+
- clusterName
225
+
- replicaIndices
226
+
type: object
227
+
type: array
228
+
failoverPolicy:
229
+
description: |-
230
+
FailoverPolicy, when set, marks this as a cross data center (DC/DR) deployment
231
+
and selects how the common DC failover service drives failover for it.
232
+
When nil, the placement is not managed for DC/DR.
233
+
properties:
234
+
mode:
235
+
description: |-
236
+
Mode is the DC topology. It can be derived from the per rule roles
237
+
(two Members plus an Arbiter or Witness is TwoDC, three Members is ThreeDC);
238
+
when set it is validated against the roles.
239
+
enum:
240
+
- TwoDC
241
+
- ThreeDC
242
+
type: string
243
+
trigger:
244
+
description: Trigger selects which primary DC Lease this workload
245
+
follows.
246
+
properties:
247
+
group:
248
+
description: Group is required when Scope is Group; it names
0 commit comments