Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ TokenRequestSpec contains client provided parameters of a token request.

*Atomic: will be replaced during a merge*

Audiences are the intended audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks odd, but I imagine this comes from accepting a manual fix that is now being overwritten.


- **boundObjectRef** (BoundObjectReference)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ NamespaceStatus is information about the current status of a Namespace.
- **phase** (string)

Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/

Possible enum values:
- `"Active"` means the namespace is available for use in the system
- `"Terminating"` means the namespace is undergoing graceful termination



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ NodeSpec describes the attributes that a node is created with.
- **taints.effect** (string), required

Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

Possible enum values:
- `"NoExecute"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.
- `"NoSchedule"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.
- `"PreferNoSchedule"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.

- **taints.key** (string), required

Expand Down Expand Up @@ -444,6 +449,11 @@ NodeStatus is information about the current status of a node.
- **phase** (string)

NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.

Possible enum values:
- `"Pending"` means the node has been created/added by the system, but not configured.
- `"Running"` means the node has been configured and has Kubernetes components running.
- `"Terminated"` means the node has been removed from the cluster.

- **runtimeHandlers** ([]NodeRuntimeHandler)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ RuntimeClass defines a class of container runtime supported in the cluster. The
- **scheduling.tolerations.operator** (string)

Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.

Possible enum values:
- `"Equal"`
- `"Exists"`

- **scheduling.tolerations.value** (string)

Expand All @@ -93,6 +97,11 @@ RuntimeClass defines a class of container runtime supported in the cluster. The
- **scheduling.tolerations.effect** (string)

Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.

Possible enum values:
- `"NoExecute"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.
- `"NoSchedule"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.
- `"PreferNoSchedule"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.

- **scheduling.tolerations.tolerationSeconds** (int64)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ A node selector requirement is a selector that contains values, a key, and an op
- **operator** (string), required

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

Possible enum values:
- `"DoesNotExist"`
- `"Exists"`
- `"Gt"`
- `"In"`
- `"Lt"`
- `"NotIn"`

- **values** ([]string)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ PersistentVolumeClaimSpec describes the common attributes of storage devices and
- **volumeMode** (string)

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.

Possible enum values:
- `"Block"` means the volume will not be formatted with a filesystem and will remain a raw block device.
- `"Filesystem"` means the volume will be or is formatted with a filesystem.



Expand Down Expand Up @@ -269,6 +273,11 @@ PersistentVolumeClaimStatus is the current status of a persistent volume claim.
Infeasible indicates that the request has been rejected as invalid by the CSI driver. To
resolve the error, a valid VolumeAttributesClass needs to be specified.
Note: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.

Possible enum values:
- `"InProgress"` InProgress indicates that the volume is being modified
- `"Infeasible"` Infeasible indicates that the request has been rejected as invalid by the CSI driver. To resolve the error, a valid VolumeAttributesClass needs to be specified
- `"Pending"` Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the specified VolumeAttributesClass not existing

- **modifyVolumeStatus.targetVolumeAttributesClassName** (string)

Expand All @@ -277,6 +286,11 @@ PersistentVolumeClaimStatus is the current status of a persistent volume claim.
- **phase** (string)

phase represents the current phase of PersistentVolumeClaim.

Possible enum values:
- `"Bound"` used for PersistentVolumeClaims that are bound
- `"Lost"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.
- `"Pending"` used for PersistentVolumeClaims that are not yet bound



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ PersistentVolumeSpec is the specification of a persistent volume.
- **persistentVolumeReclaimPolicy** (string)

persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming

Possible enum values:
- `"Delete"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.
- `"Recycle"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.
- `"Retain"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.

- **storageClassName** (string)

Expand All @@ -130,6 +135,10 @@ PersistentVolumeSpec is the specification of a persistent volume.
- **volumeMode** (string)

volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.

Possible enum values:
- `"Block"` means the volume will not be formatted with a filesystem and will remain a raw block device.
- `"Filesystem"` means the volume will be or is formatted with a filesystem.



Expand All @@ -150,6 +159,16 @@ PersistentVolumeSpec is the specification of a persistent volume.
- **hostPath.type** (string)

type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

Possible enum values:
- `""` For backwards compatible, leave it empty if unset
- `"BlockDevice"` A block device must exist at the given path
- `"CharDevice"` A character device must exist at the given path
- `"Directory"` A directory must exist at the given path
- `"DirectoryOrCreate"` If nothing exists at the given path, an empty directory will be created there as needed with file mode 0755, having the same group and ownership with Kubelet.
- `"File"` A file must exist at the given path
- `"FileOrCreate"` If nothing exists at the given path, an empty file will be created there as needed with file mode 0644, having the same group and ownership with Kubelet.
- `"Socket"` A UNIX socket must exist at the given path

- **local** (LocalVolumeSource)

Expand Down Expand Up @@ -212,6 +231,11 @@ PersistentVolumeSpec is the specification of a persistent volume.
- **azureDisk.cachingMode** (string)

cachingMode is the Host Caching mode: None, Read Only, Read Write.

Possible enum values:
- `"None"`
- `"ReadOnly"`
- `"ReadWrite"`

- **azureDisk.fsType** (string)

Expand All @@ -220,6 +244,11 @@ PersistentVolumeSpec is the specification of a persistent volume.
- **azureDisk.kind** (string)

kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared

Possible enum values:
- `"Dedicated"`
- `"Managed"`
- `"Shared"`

- **azureDisk.readOnly** (boolean)

Expand Down Expand Up @@ -890,6 +919,13 @@ PersistentVolumeStatus is the current status of a persistent volume.
- **phase** (string)

phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase

Possible enum values:
- `"Available"` used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims
- `"Bound"` used for PersistentVolumes that are bound
- `"Failed"` used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim
- `"Pending"` used for PersistentVolumes that are not available
- `"Released"` used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource

- **reason** (string)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,19 @@ StorageClasses are non-namespaced; the name of the storage class according to et
- **reclaimPolicy** (string)

reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.

Possible enum values:
- `"Delete"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.
- `"Recycle"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.
- `"Retain"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.

- **volumeBindingMode** (string)

volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.

Possible enum values:
- `"Immediate"` indicates that PersistentVolumeClaims should be immediately provisioned and bound. This is the default mode.
- `"WaitForFirstConsumer"` indicates that PersistentVolumeClaims should not be provisioned and bound until the first Pod is created that references the PeristentVolumeClaim. The volume provisioning and binding will occur during Pod scheduing.



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,16 @@ Volume represents a named volume in a pod that may be accessed by any container
- **hostPath.type** (string)

type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

Possible enum values:
- `""` For backwards compatible, leave it empty if unset
- `"BlockDevice"` A block device must exist at the given path
- `"CharDevice"` A character device must exist at the given path
- `"Directory"` A directory must exist at the given path
- `"DirectoryOrCreate"` If nothing exists at the given path, an empty directory will be created there as needed with file mode 0755, having the same group and ownership with Kubelet.
- `"File"` A file must exist at the given path
- `"FileOrCreate"` If nothing exists at the given path, an empty file will be created there as needed with file mode 0644, having the same group and ownership with Kubelet.
- `"Socket"` A UNIX socket must exist at the given path

### Persistent volumes

Expand Down Expand Up @@ -401,6 +411,11 @@ Volume represents a named volume in a pod that may be accessed by any container
- **azureDisk.cachingMode** (string)

cachingMode is the Host Caching mode: None, Read Only, Read Write.

Possible enum values:
- `"None"`
- `"ReadOnly"`
- `"ReadWrite"`

- **azureDisk.fsType** (string)

Expand All @@ -409,6 +424,11 @@ Volume represents a named volume in a pod that may be accessed by any container
- **azureDisk.kind** (string)

kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared

Possible enum values:
- `"Dedicated"`
- `"Managed"`
- `"Shared"`

- **azureDisk.readOnly** (boolean)

Expand Down Expand Up @@ -741,6 +761,11 @@ Volume represents a named volume in a pod that may be accessed by any container
- **image.pullPolicy** (string)

Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.

Possible enum values:
- `"Always"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
- `"IfNotPresent"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
- `"Never"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present

- **image.reference** (string)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ CustomResourceDefinitionSpec describes how a user wants their resource to appear

- **versions.selectableFields.jsonPath** (string), required

jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metadata fields. Required.
jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.

- **versions.subresources** (CustomResourceSubresources)

Expand Down Expand Up @@ -602,6 +602,12 @@ JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-sc
- **x-kubernetes-validations.reason** (string)

reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.

Possible enum values:
- `"FieldValueDuplicate"` is used to report collisions of values that must be unique (e.g. unique IDs).
- `"FieldValueForbidden"` is used to report valid (as per formatting rules) values which would be accepted under some conditions, but which are not permitted by the current conditions (such as security policy).
- `"FieldValueInvalid"` is used to report malformed values (e.g. failed regex match, too long, out of bounds).
- `"FieldValueRequired"` is used to report required values that are not provided (e.g. empty strings, null values, or empty arrays).



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and h

*Atomic: will be replaced during a merge*

Config defines configuration parameters that apply to each device that is claimed via this class. Some classes may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.
Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.

They are passed to the driver, but are not considered while allocating the claim.

Expand Down
Loading