|
1 |
| - |
2 | 1 | ---
|
3 | 2 | apiVersion: apiextensions.k8s.io/v1
|
4 | 3 | kind: CustomResourceDefinition
|
@@ -5387,9 +5386,9 @@ spec:
|
5387 | 5386 | the spread constraint. - DoNotSchedule (default)
|
5388 | 5387 | tells the scheduler not to schedule it. -
|
5389 | 5388 | ScheduleAnyway tells the scheduler to schedule
|
5390 |
| - the pod in any location, but giving higher |
| 5389 | + the pod in any location, but giving higher |
5391 | 5390 | precedence to topologies that would help reduce
|
5392 |
| - the skew. A constraint is considered "Unsatisfiable" |
| 5391 | + the skew. A constraint is considered "Unsatisfiable" |
5393 | 5392 | for an incoming pod if and only if every possible
|
5394 | 5393 | node assigment for that pod would violate
|
5395 | 5394 | "MaxSkew" on some topology. For example, in
|
@@ -5879,13 +5878,13 @@ spec:
|
5879 | 5878 | when the pod is removed. \n Use this if: a)
|
5880 | 5879 | the volume is only needed while the pod runs,
|
5881 | 5880 | b) features of normal volumes like restoring
|
5882 |
| - from snapshot or capacity tracking are |
5883 |
| - needed, c) the storage driver is specified |
5884 |
| - through a storage class, and d) the storage |
5885 |
| - driver supports dynamic volume provisioning |
5886 |
| - through a PersistentVolumeClaim (see EphemeralVolumeSource |
5887 |
| - for more information on the connection |
5888 |
| - between this volume type and PersistentVolumeClaim). |
| 5881 | + from snapshot or capacity tracking are needed, |
| 5882 | + c) the storage driver is specified through |
| 5883 | + a storage class, and d) the storage driver |
| 5884 | + supports dynamic volume provisioning through |
| 5885 | + a PersistentVolumeClaim (see EphemeralVolumeSource |
| 5886 | + for more information on the connection between |
| 5887 | + this volume type and PersistentVolumeClaim). |
5889 | 5888 | \n Use PersistentVolumeClaim or one of the
|
5890 | 5889 | vendor-specific APIs for volumes that persist
|
5891 | 5890 | for longer than the lifecycle of an individual
|
@@ -7339,23 +7338,23 @@ spec:
|
7339 | 7338 | description: 'ObjectReference contains enough information to let
|
7340 | 7339 | you inspect or modify the referred object. --- New uses of this
|
7341 | 7340 | type are discouraged because of difficulty describing its usage
|
7342 |
| - when embedded in APIs. 1. Ignored fields. It includes many fields |
| 7341 | + when embedded in APIs. 1. Ignored fields. It includes many fields |
7343 | 7342 | which are not generally honored. For instance, ResourceVersion
|
7344 |
| - and FieldPath are both very rarely valid in actual usage. 2. |
7345 |
| - Invalid usage help. It is impossible to add specific help for |
7346 |
| - individual usage. In most embedded usages, there are particular restrictions |
| 7343 | + and FieldPath are both very rarely valid in actual usage. 2. Invalid |
| 7344 | + usage help. It is impossible to add specific help for individual |
| 7345 | + usage. In most embedded usages, there are particular restrictions |
7347 | 7346 | like, "must refer only to types A and B" or "UID not honored"
|
7348 |
| - or "name must be restricted". Those cannot be well described |
7349 |
| - when embedded. 3. Inconsistent validation. Because the usages |
7350 |
| - are different, the validation rules are different by usage, which |
7351 |
| - makes it hard for users to predict what will happen. 4. The fields |
| 7347 | + or "name must be restricted". Those cannot be well described when |
| 7348 | + embedded. 3. Inconsistent validation. Because the usages are |
| 7349 | + different, the validation rules are different by usage, which |
| 7350 | + makes it hard for users to predict what will happen. 4. The fields |
7352 | 7351 | are both imprecise and overly precise. Kind is not a precise
|
7353 |
| - mapping to a URL. This can produce ambiguity during interpretation |
| 7352 | + mapping to a URL. This can produce ambiguity during interpretation |
7354 | 7353 | and require a REST mapping. In most cases, the dependency is
|
7355 |
| - on the group,resource tuple and the version of the actual |
7356 |
| - struct is irrelevant. 5. We cannot easily change it. Because |
7357 |
| - this type is embedded in many locations, updates to this type will |
7358 |
| - affect numerous schemas. Don''t make new APIs embed an underspecified |
| 7354 | + on the group,resource tuple and the version of the actual struct |
| 7355 | + is irrelevant. 5. We cannot easily change it. Because this type |
| 7356 | + is embedded in many locations, updates to this type will affect |
| 7357 | + numerous schemas. Don''t make new APIs embed an underspecified |
7359 | 7358 | API type they do not control. Instead of using this type, create
|
7360 | 7359 | a locally provided and used type that is well-focused on your
|
7361 | 7360 | reference. For example, ServiceReferences for admission registration:
|
|
0 commit comments