mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-21 20:23:39 +09:00
chore(deps): move to the Kubernetes 1.37 libraries without the apimachinery fork (#4473)
## What this PR does This moves the root module's `k8s.io/*` from v0.35 to v0.37.1 and controller-runtime from v0.23 to v0.25.1, and drops the `k8s.io/apimachinery` fork on the way. Supersedes #3001, #4467 and #4472; those were a stack of the same commits. The four commits are meant to be read one by one, and each builds and passes the tests on its own: 1. **Plain watches stop getting the initial-events-end bookmark.** The apiserver defaults `sendInitialEvents=true` onto any watch with an empty or `0` resourceVersion and leaves bookmarks off, and our aggregated storages took that flag alone as a WatchList request. From `k8s.io/apiserver` v0.36 the watch handler compiled into cozystack-api panics on that bookmark, so `kubectl get -w` on any cozystack-api resource would die after the bump. The marker now needs both flags, the same condition the watch cache uses. There are tests per storage and one through the real handler chain. 2. **The apimachinery fork goes.** Every apps kind shares the `Application` Go type, and stock `Scheme.ConvertToVersion` picks the first kind registered for it. The fork patched that; the apps group now encodes through a serializer that keeps the kind the object carries. A handler-chain test covers create, get, list, update, watch, apply and table for two kinds and fails without it. 3. **MutatingAdmissionPolicy stays out of admission.** From v0.36 the plugin is on by default and refuses every write until it has synced `mutatingadmissionpolicies`, which cozystack-api has no RBAC to list and which clusters before 1.36 do not serve. Without this, every create, update and delete would fail after the bump. It is also re-applied in `Complete`, since `--disable-admission-plugins` replaces the list. 4. **The bump itself**, with the regenerated clients, openapi and strategy CRDs. Commits 2 and 4 are where the review effort goes; 1 and 3 are small. Known changes in behaviour: - Without the fork, the row objects of a Table requested with `includeObject=Object` carry the first registered app kind. kubectl asks for that only with `--sort-by`, and it sorts on fields, not on the kind. Nothing at this layer can fix it, because the handler converts through `APIGroupInfo.Scheme`, a concrete `*runtime.Scheme`. Admission webhooks and ValidatingAdmissionPolicy still see the right kind. - The alpha PodSpec field `workloadRef` became `schedulingGroup` upstream. Once the new strategy CRDs are applied, the apiserver prunes `workloadRef` from stored strategies it serves, and their next write erases it. It only ever worked behind an alpha feature gate. The branch is rebased onto the Renovate rollup (#4447), with `go mod tidy` and codegen rerun on top of it. ### Screenshots No UI changes. ### Downstream repositories - [x] No downstream repository is affected by this change - [ ] [cozystack/website](https://github.com/cozystack/website) - follow-up: - [ ] [cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack) - follow-up: - [ ] [cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack) - follow-up: - [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up: - [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up: - [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) - follow-up: - [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) - follow-up: - [ ] [cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server) - follow-up: - [ ] [cozystack/external-apps-example](https://github.com/cozystack/external-apps-example) - follow-up: - [ ] [cozystack/examples](https://github.com/cozystack/examples) - follow-up: - [ ] [cozystack/community](https://github.com/cozystack/community) - follow-up: ### Release note ```release-note chore(deps): cozystack-api and the controllers build against the Kubernetes 1.37 libraries without the apimachinery fork. Plain watches no longer receive the WatchList initial-events-end bookmark, and objects in Table rows requested with includeObject=Object may carry another app's kind. ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Application API responses now preserve the requested resource kind across operations, including lists and watches. * Backup strategy resources support additional Kubernetes pod settings, including probe protocols, volume ownership options, and scheduling groups. * Backup strategy schemas include updated Kubernetes pod fields and descriptions. * **Bug Fixes** * Initial-event watch bookmarks are sent only when requested; plain watches continue without an ending bookmark. * Mutating Admission Policy is disabled by default, including when admission plugin options are customized. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
38 files changed
+2815
-552
No files matched your search
@@ -108,7 +108,7 @@ Before upgrading, check one thing about `api.<apex>` in particular: once the ter
|
||||
|
||||
If something does depend on that terminate path, there are three ways forward and they are not equivalent. Moving the consumer to another hostname under the apex costs nothing: a name outside `tlsPassthroughServices` still earns its own terminate listener and ACME certificate, while the passthrough name goes on answering the platform's own `TLSRoute`. Switching `certMode` to `dns01` or `existingSecret` keeps the pre-upgrade shape wholesale, since neither mode renders per-hostname listeners and the wildcard covers passthrough names along with everything else, at the price of DNS-01 credentials or an operator-supplied certificate, and both modes refuse `tlsPassthroughListeners` outright. Keeping the pre-upgrade shape is the caveat, not the benefit: those modes leave the `tls-<svc>` passthrough listeners standing beside the wildcard terminate listener that covers their names, so the undetermined race returns with them. Both port-443 filter chains carry the same SNI again, and on the pinned Cilium nothing on the objects says which one answers, with no `Conflicted` condition to read. Someone picking this path to get termination back gets the pre-upgrade ambiguity back instead. Removing a service from `tlsPassthroughServices` does not bring its terminate listener back, and that is the point worth reading twice: the passthrough listener goes, the platform `TLSRoute` that attached to it by `sectionName: tls-<svc>` has nothing left to attach to, and the hostname is then claimed by a `TLSRoute` alone, which earns no terminate listener either. Nothing serves the name until something else claims it. So this path is a rewrite rather than a rollback, and it is only finished once the component is republished by an `HTTPRoute` on that hostname, which does earn a terminate listener and a certificate. For `api` that is the Kubernetes API endpoint, and passthrough means its clients hold a TLS session with the apiserver itself; terminating in front of it changes what that session authenticates against, so check what your clients present before picking this one.
|
||||
|
||||
Schema constraints tightened alongside this field reach objects that already exist, and every one of them is a kind the apiserver ratchets. `apex` is bounded at 253 characters, and `tlsPassthroughServices` at 62 entries each a DNS-1123 subdomain of at most 249 characters; a stored value that violates one still passes any write that leaves it unchanged, and the rule bites only once the value itself changes. `apex` gets no format pattern, deliberately, and that is not a statement that a mixed-case host works. It arrives verbatim from the `namespace.cozystack.io/host` label, which nothing normalizes and which may hold upper case, and the controller then composes listener hostnames from it that Gateway API refuses, so such a tenant's Gateway does not render with or without a pattern here. What a pattern changes is only where that lands: refused at the write it fails this HelmRelease and everything the release owns, admitted it is `Ready=False` on the one Gateway. An apex no listener hostname can sit within is caught only when `tlsPassthroughListeners` is in use, and then by the containment rule rather than by the controller: that CEL rule compares bytes as well, so a mixed-case apex with a lowercase listener hostname is refused at the write, with a message naming the hostname, and the controller's own check, which names the apex, is reached only where the CRD lags the controller. A repeated `tlsPassthroughServices` entry is reported by the controller as `Ready=False` rather than refused at admission, and that is deliberate, though not for the reason symmetry suggests. Ratcheting does reach a list-type error, and at a coarser grain than the rest: the apiserver checks an incoming object's list-type semantics only when the stored object passes them, for the whole object at once (read from `pkg/registry/customresource/strategy.go` in the pinned `k8s.io/apiextensions-apiserver` v0.35.0). So declaring the list a set would not block writes to an object already carrying a duplicate; it would stop every list on that `TenantGateway` from being checked at all, silently, while the duplicate the controller can name goes on being reported by name. The shipped defaults and the chart's own `fail` on an empty host conform to all of it, and for `tlsPassthroughServices` nothing else can reach the field: the only key the tenant writes into this chart's HelmRelease values is `gatewayClassName`, and only when the tenant chose a class, while everything else arrives through `valuesFrom` the `cozystack-values` Secret, and the platform writes no such key into that Secret, so the chart default is the only value that arrives and the bounds guard a value only an edit to this chart can change. An upgrade is a no-op.
|
||||
Schema constraints tightened alongside this field reach objects that already exist, and every one of them is a kind the apiserver ratchets. `apex` is bounded at 253 characters, and `tlsPassthroughServices` at 62 entries each a DNS-1123 subdomain of at most 249 characters; a stored value that violates one still passes any write that leaves it unchanged, and the rule bites only once the value itself changes. `apex` gets no format pattern, deliberately, and that is not a statement that a mixed-case host works. It arrives verbatim from the `namespace.cozystack.io/host` label, which nothing normalizes and which may hold upper case, and the controller then composes listener hostnames from it that Gateway API refuses, so such a tenant's Gateway does not render with or without a pattern here. What a pattern changes is only where that lands: refused at the write it fails this HelmRelease and everything the release owns, admitted it is `Ready=False` on the one Gateway. An apex no listener hostname can sit within is caught only when `tlsPassthroughListeners` is in use, and then by the containment rule rather than by the controller: that CEL rule compares bytes as well, so a mixed-case apex with a lowercase listener hostname is refused at the write, with a message naming the hostname, and the controller's own check, which names the apex, is reached only where the CRD lags the controller. A repeated `tlsPassthroughServices` entry is reported by the controller as `Ready=False` rather than refused at admission, and that is deliberate, though not for the reason symmetry suggests. Ratcheting does reach a list-type error, and at a coarser grain than the rest: the apiserver checks an incoming object's list-type semantics only when the stored object passes them, for the whole object at once (read from `pkg/registry/customresource/strategy.go` in the pinned `k8s.io/apiextensions-apiserver` v0.37.1). So declaring the list a set would not block writes to an object already carrying a duplicate; it would stop every list on that `TenantGateway` from being checked at all, silently, while the duplicate the controller can name goes on being reported by name. The shipped defaults and the chart's own `fail` on an empty host conform to all of it, and for `tlsPassthroughServices` nothing else can reach the field: the only key the tenant writes into this chart's HelmRelease values is `gatewayClassName`, and only when the tenant chose a class, while everything else arrives through `valuesFrom` the `cozystack-values` Secret, and the platform writes no such key into that Secret, so the chart default is the only value that arrives and the bounds guard a value only an edit to this chart can change. An upgrade is a no-op.
|
||||
|
||||
## Parameters
|
||||
|
||||
|
||||
Generated
+396
-63
@@ -1077,7 +1077,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -1352,6 +1354,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1466,6 +1473,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1548,6 +1560,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -1606,6 +1625,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1763,6 +1787,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -1821,6 +1852,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -2122,7 +2158,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -2277,6 +2312,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -2335,6 +2377,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -2476,10 +2523,21 @@ spec:
|
||||
description: VolumeMount describes a mounting of a
|
||||
Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at which
|
||||
the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -2691,7 +2749,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -2963,6 +3023,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3077,6 +3142,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3155,6 +3225,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3213,6 +3290,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3358,6 +3440,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3416,6 +3505,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3693,7 +3787,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -3841,6 +3934,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3899,6 +3999,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4049,10 +4154,21 @@ spec:
|
||||
description: VolumeMount describes a mounting of a
|
||||
Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at which
|
||||
the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -4124,6 +4240,63 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
evictionResponders:
|
||||
description: |-
|
||||
evictionResponders reference responders that react to Evictions based on EvictionRequests.
|
||||
Responders should observe and communicate through the Eviction Resource API to help with
|
||||
the graceful termination of a pod. The responders are selected sequentially, according to
|
||||
their specified priority.
|
||||
|
||||
Responders should periodically report on an eviction progress by updating the
|
||||
.status.responders[].heartbeatTime field of the Eviction object. If this field is not updated
|
||||
within the heartbeat deadline defined by the Eviction API (currently 20 minutes), the eviction
|
||||
is passed over to the next responder with a lower priority. If there is no other responder,
|
||||
the last default imperative-eviction.k8s.io/evictor responder with a priority of 100 will
|
||||
evict the pod using the imperative Eviction API (pods/<name>/eviction subresource).
|
||||
|
||||
The maximum length of the responders list is 10.
|
||||
Responders are not supported when the pod is part of a PodGroup (.spec.schedulingGroup is set).
|
||||
This field can only be set on creation and is immutable afterwards.
|
||||
items:
|
||||
description: |-
|
||||
EvictionResponder allows you to specify the responder reacting to an Eviction.
|
||||
Responders should observe and communicate through the Eviction Resource API to help with
|
||||
the graceful eviction of a target (e.g. termination of a pod).
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
name allows you to identify the responder responding to the Eviction.
|
||||
|
||||
It must be a valid domain-prefixed key (such as "acme.io/foo").
|
||||
Domain names *.k8s.io and *.kubernetes.io are reserved.
|
||||
This field must be unique for each responder.
|
||||
This field is required.
|
||||
type: string
|
||||
priority:
|
||||
description: |-
|
||||
priority for this responder. Higher priorities are selected first by the evictionrequest-controller.
|
||||
If there are responders with the same priority, the responder whose domain name comes first in the
|
||||
alphabetical higher domain order, will be picked. This means that the top domain labels are compared
|
||||
alphabetically first, followed by the lower domain labels. The key is compared last.
|
||||
|
||||
The responder that is the managing controller of the pod should set the value of
|
||||
this field to 10000 to allow both for preemption or fallback registration by other
|
||||
responders.
|
||||
|
||||
The minimum value is 0 and the maximum value is 100000.
|
||||
The interval 0-999 is reserved for responders with *.k8s.io suffix.
|
||||
This field is required.
|
||||
format: int32
|
||||
type: integer
|
||||
required:
|
||||
- name
|
||||
- priority
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
type: array
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
hostAliases:
|
||||
description: |-
|
||||
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
|
||||
@@ -4177,7 +4350,6 @@ spec:
|
||||
When set to false, a new userns is created for the pod. Setting false is useful for
|
||||
mitigating container breakout vulnerabilities even allowing users to run their
|
||||
containers as root without actually having root privileges on the host.
|
||||
This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
|
||||
type: boolean
|
||||
hostname:
|
||||
description: |-
|
||||
@@ -4195,7 +4367,6 @@ spec:
|
||||
- `hostNetwork` must be set to false.
|
||||
|
||||
This field must be a valid DNS subdomain as defined in RFC 1123 and contain at most 64 characters.
|
||||
Requires the HostnameOverride feature gate to be enabled.
|
||||
type: string
|
||||
imagePullSecrets:
|
||||
description: |-
|
||||
@@ -4302,7 +4473,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -4577,6 +4750,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4691,6 +4869,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4773,6 +4956,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -4831,6 +5021,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4988,6 +5183,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -5046,6 +5248,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -5347,7 +5554,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -5502,6 +5708,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -5560,6 +5773,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -5701,10 +5919,21 @@ spec:
|
||||
description: VolumeMount describes a mounting of a
|
||||
Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at which
|
||||
the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -5858,6 +6087,8 @@ spec:
|
||||
description: |-
|
||||
PreemptionPolicy is the Policy for preempting pods with lower priority.
|
||||
One of Never, PreemptLowerPriority.
|
||||
When Priority Admission Controller is enabled, it prevents users from setting
|
||||
this field. The admission controller populates this field from PriorityClassName.
|
||||
Defaults to PreemptLowerPriority if unset.
|
||||
type: string
|
||||
priority:
|
||||
@@ -5916,6 +6147,14 @@ spec:
|
||||
|
||||
It adds a name to it that uniquely identifies the ResourceClaim inside the Pod.
|
||||
Containers that need access to the ResourceClaim reference it with this name.
|
||||
|
||||
When the DRAWorkloadResourceClaims feature gate is enabled and this Pod
|
||||
belongs to a PodGroup, a PodResourceClaim is matched to a
|
||||
PodGroupResourceClaim if all of their fields are equal (Name,
|
||||
ResourceClaimName, and ResourceClaimTemplateName). A matched claim references
|
||||
a single ResourceClaim shared across all Pods in the PodGroup, reserved for
|
||||
the PodGroup in ResourceClaimStatus.ReservedFor rather than for individual
|
||||
Pods.
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
@@ -5941,6 +6180,16 @@ spec:
|
||||
generated component, will be used to form a unique name for the
|
||||
ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
||||
|
||||
When the DRAWorkloadResourceClaims feature gate is enabled and the pod
|
||||
belongs to a PodGroup that defines a PodGroupResourceClaim with the same
|
||||
Name and ResourceClaimTemplateName, this PodResourceClaim resolves to the
|
||||
ResourceClaim generated for the PodGroup. All pods in the group that
|
||||
define an equivalent PodResourceClaim matching the
|
||||
PodGroupResourceClaim's Name and ResourceClaimTemplateName share the same
|
||||
generated ResourceClaim. ResourceClaims generated for a PodGroup are
|
||||
owned by the PodGroup and their lifecycles are tied to the PodGroup
|
||||
instead of any individual pod.
|
||||
|
||||
This field is immutable and no changes will be made to the
|
||||
corresponding ResourceClaim by the control plane after creating the
|
||||
ResourceClaim.
|
||||
@@ -6066,6 +6315,28 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
schedulingGroup:
|
||||
description: |-
|
||||
SchedulingGroup provides a reference to the immediate scheduling runtime
|
||||
grouping object that this Pod belongs to.
|
||||
This field is used by the scheduler to identify the group and apply the
|
||||
correct group scheduling policies. The association with a group also
|
||||
impacts other lifecycle aspects of a Pod that are relevant in a wider context
|
||||
of scheduling like preemption, resource attachment, etc. If not specified,
|
||||
the Pod is treated as a single unit in all of these aspects.
|
||||
The group object referenced by this field may not exist at the time the
|
||||
Pod is created.
|
||||
This field is immutable, but a group object with the same name may be
|
||||
recreated with different policies. Doing this during pod scheduling
|
||||
may result in the placement not conforming to the expected policies.
|
||||
properties:
|
||||
podGroupName:
|
||||
description: |-
|
||||
PodGroupName specifies the name of the standalone PodGroup object
|
||||
that represents the runtime instance of this group.
|
||||
Must be a DNS subdomain.
|
||||
type: string
|
||||
type: object
|
||||
securityContext:
|
||||
description: |-
|
||||
SecurityContext holds pod-level security attributes and common container settings.
|
||||
@@ -6162,11 +6433,8 @@ spec:
|
||||
Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes
|
||||
whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their
|
||||
CSIDriver instance. Other volumes are always re-labelled recursively.
|
||||
"MountOption" value is allowed only when SELinuxMount feature gate is enabled.
|
||||
|
||||
If not specified and SELinuxMount feature gate is enabled, "MountOption" is used.
|
||||
If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes
|
||||
and "Recursive" for all other volumes.
|
||||
If not specified, "MountOption" is used.
|
||||
|
||||
This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.
|
||||
|
||||
@@ -6786,6 +7054,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: |-
|
||||
items if unspecified, each key-value pair in the Data field of the referenced
|
||||
@@ -6819,6 +7094,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -6906,6 +7188,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: Items is a list of downward API volume
|
||||
file
|
||||
@@ -6974,6 +7263,13 @@ spec:
|
||||
- resource
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -6992,6 +7288,18 @@ spec:
|
||||
Must be an empty string (default) or Memory.
|
||||
More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
||||
type: string
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the permission bits for the emptyDir directory, in numeric
|
||||
notation (e.g., 0755, 01777). Must be a value between 0000 and 01777.
|
||||
If not specified, defaults to 0777.
|
||||
This might be in conflict with other options that affect the file
|
||||
mode, like fsGroup. If fsGroup is specified, the fsGroup permissions
|
||||
will override the mode specified here.
|
||||
This field has no effect on Windows.
|
||||
This field is alpha and requires EmptyDirVolumeMode featuregate to be enabled.
|
||||
format: int32
|
||||
type: integer
|
||||
sizeLimit:
|
||||
anyOf:
|
||||
- type: integer
|
||||
@@ -7085,8 +7393,8 @@ spec:
|
||||
* An existing PVC (PersistentVolumeClaim)
|
||||
If the provisioner or an external controller can support the specified data source,
|
||||
it will create a new volume based on the contents of the specified data source.
|
||||
When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
|
||||
and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be
|
||||
copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
If the namespace is specified, then dataSourceRef will not be copied to dataSource.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -7131,7 +7439,6 @@ spec:
|
||||
specified.
|
||||
* While dataSource only allows local objects, dataSourceRef allows objects
|
||||
in any namespaces.
|
||||
(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
|
||||
(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -7494,7 +7801,7 @@ spec:
|
||||
A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
|
||||
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
|
||||
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
|
||||
The volume will be mounted read-only (ro) and non-executable files (noexec).
|
||||
The volume will be mounted read-only (ro).
|
||||
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
|
||||
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
||||
properties:
|
||||
@@ -7666,8 +7973,7 @@ spec:
|
||||
description: |-
|
||||
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
|
||||
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
|
||||
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
|
||||
is on.
|
||||
are redirected to the pxd.portworx.com CSI driver.
|
||||
properties:
|
||||
fsType:
|
||||
description: |-
|
||||
@@ -7701,6 +8007,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
sources:
|
||||
description: |-
|
||||
sources is the list of volume projections. Each entry in this list
|
||||
@@ -7801,6 +8114,13 @@ spec:
|
||||
Mutually-exclusive with name. The contents of all selected
|
||||
ClusterTrustBundles will be unified and deduplicated.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -7841,6 +8161,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -7940,6 +8267,13 @@ spec:
|
||||
- resource
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -8047,6 +8381,13 @@ spec:
|
||||
description: Kubelet's generated CSRs
|
||||
will be addressed to this signer.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
userAnnotations:
|
||||
additionalProperties:
|
||||
type: string
|
||||
@@ -8106,6 +8447,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -8153,6 +8501,13 @@ spec:
|
||||
path is the path relative to the mount point of the file to project the
|
||||
token into.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -8359,6 +8714,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: |-
|
||||
items If unspecified, each key-value pair in the Data field of the referenced
|
||||
@@ -8392,6 +8754,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -8490,42 +8859,6 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
workloadRef:
|
||||
description: |-
|
||||
WorkloadRef provides a reference to the Workload object that this Pod belongs to.
|
||||
This field is used by the scheduler to identify the PodGroup and apply the
|
||||
correct group scheduling policies. The Workload object referenced
|
||||
by this field may not exist at the time the Pod is created.
|
||||
This field is immutable, but a Workload object with the same name
|
||||
may be recreated with different policies. Doing this during pod scheduling
|
||||
may result in the placement not conforming to the expected policies.
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
Name defines the name of the Workload object this Pod belongs to.
|
||||
Workload must be in the same namespace as the Pod.
|
||||
If it doesn't match any existing Workload, the Pod will remain unschedulable
|
||||
until a Workload object is created and observed by the kube-scheduler.
|
||||
It must be a DNS subdomain.
|
||||
type: string
|
||||
podGroup:
|
||||
description: |-
|
||||
PodGroup is the name of the PodGroup within the Workload that this Pod
|
||||
belongs to. If it doesn't match any existing PodGroup within the Workload,
|
||||
the Pod will remain unschedulable until the Workload object is recreated
|
||||
and observed by the kube-scheduler. It must be a DNS label.
|
||||
type: string
|
||||
podGroupReplicaKey:
|
||||
description: |-
|
||||
PodGroupReplicaKey specifies the replica key of the PodGroup to which this
|
||||
Pod belongs. It is used to distinguish pods belonging to different replicas
|
||||
of the same pod group. The pod group policy is applied separately to each replica.
|
||||
When set, it must be a DNS label.
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- podGroup
|
||||
type: object
|
||||
required:
|
||||
- containers
|
||||
type: object
|
||||
|
||||
+396
-63
@@ -1097,7 +1097,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -1376,6 +1378,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1493,6 +1500,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1575,6 +1587,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -1634,6 +1653,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1791,6 +1815,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -1850,6 +1881,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -2151,7 +2187,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -2306,6 +2341,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -2365,6 +2407,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -2506,10 +2553,21 @@ spec:
|
||||
description: VolumeMount describes a mounting
|
||||
of a Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at
|
||||
which the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -2722,7 +2780,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -2998,6 +3058,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3115,6 +3180,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3194,6 +3264,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3253,6 +3330,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3400,6 +3482,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3459,6 +3548,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3736,7 +3830,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -3885,6 +3978,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3944,6 +4044,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4094,10 +4199,21 @@ spec:
|
||||
description: VolumeMount describes a mounting
|
||||
of a Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at
|
||||
which the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -4170,6 +4286,63 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
evictionResponders:
|
||||
description: |-
|
||||
evictionResponders reference responders that react to Evictions based on EvictionRequests.
|
||||
Responders should observe and communicate through the Eviction Resource API to help with
|
||||
the graceful termination of a pod. The responders are selected sequentially, according to
|
||||
their specified priority.
|
||||
|
||||
Responders should periodically report on an eviction progress by updating the
|
||||
.status.responders[].heartbeatTime field of the Eviction object. If this field is not updated
|
||||
within the heartbeat deadline defined by the Eviction API (currently 20 minutes), the eviction
|
||||
is passed over to the next responder with a lower priority. If there is no other responder,
|
||||
the last default imperative-eviction.k8s.io/evictor responder with a priority of 100 will
|
||||
evict the pod using the imperative Eviction API (pods/<name>/eviction subresource).
|
||||
|
||||
The maximum length of the responders list is 10.
|
||||
Responders are not supported when the pod is part of a PodGroup (.spec.schedulingGroup is set).
|
||||
This field can only be set on creation and is immutable afterwards.
|
||||
items:
|
||||
description: |-
|
||||
EvictionResponder allows you to specify the responder reacting to an Eviction.
|
||||
Responders should observe and communicate through the Eviction Resource API to help with
|
||||
the graceful eviction of a target (e.g. termination of a pod).
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
name allows you to identify the responder responding to the Eviction.
|
||||
|
||||
It must be a valid domain-prefixed key (such as "acme.io/foo").
|
||||
Domain names *.k8s.io and *.kubernetes.io are reserved.
|
||||
This field must be unique for each responder.
|
||||
This field is required.
|
||||
type: string
|
||||
priority:
|
||||
description: |-
|
||||
priority for this responder. Higher priorities are selected first by the evictionrequest-controller.
|
||||
If there are responders with the same priority, the responder whose domain name comes first in the
|
||||
alphabetical higher domain order, will be picked. This means that the top domain labels are compared
|
||||
alphabetically first, followed by the lower domain labels. The key is compared last.
|
||||
|
||||
The responder that is the managing controller of the pod should set the value of
|
||||
this field to 10000 to allow both for preemption or fallback registration by other
|
||||
responders.
|
||||
|
||||
The minimum value is 0 and the maximum value is 100000.
|
||||
The interval 0-999 is reserved for responders with *.k8s.io suffix.
|
||||
This field is required.
|
||||
format: int32
|
||||
type: integer
|
||||
required:
|
||||
- name
|
||||
- priority
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
type: array
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
hostAliases:
|
||||
description: |-
|
||||
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
|
||||
@@ -4223,7 +4396,6 @@ spec:
|
||||
When set to false, a new userns is created for the pod. Setting false is useful for
|
||||
mitigating container breakout vulnerabilities even allowing users to run their
|
||||
containers as root without actually having root privileges on the host.
|
||||
This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
|
||||
type: boolean
|
||||
hostname:
|
||||
description: |-
|
||||
@@ -4241,7 +4413,6 @@ spec:
|
||||
- `hostNetwork` must be set to false.
|
||||
|
||||
This field must be a valid DNS subdomain as defined in RFC 1123 and contain at most 64 characters.
|
||||
Requires the HostnameOverride feature gate to be enabled.
|
||||
type: string
|
||||
imagePullSecrets:
|
||||
description: |-
|
||||
@@ -4348,7 +4519,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -4627,6 +4800,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4744,6 +4922,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4826,6 +5009,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -4885,6 +5075,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -5042,6 +5237,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -5101,6 +5303,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -5402,7 +5609,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -5557,6 +5763,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -5616,6 +5829,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -5757,10 +5975,21 @@ spec:
|
||||
description: VolumeMount describes a mounting
|
||||
of a Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at
|
||||
which the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -5915,6 +6144,8 @@ spec:
|
||||
description: |-
|
||||
PreemptionPolicy is the Policy for preempting pods with lower priority.
|
||||
One of Never, PreemptLowerPriority.
|
||||
When Priority Admission Controller is enabled, it prevents users from setting
|
||||
this field. The admission controller populates this field from PriorityClassName.
|
||||
Defaults to PreemptLowerPriority if unset.
|
||||
type: string
|
||||
priority:
|
||||
@@ -5973,6 +6204,14 @@ spec:
|
||||
|
||||
It adds a name to it that uniquely identifies the ResourceClaim inside the Pod.
|
||||
Containers that need access to the ResourceClaim reference it with this name.
|
||||
|
||||
When the DRAWorkloadResourceClaims feature gate is enabled and this Pod
|
||||
belongs to a PodGroup, a PodResourceClaim is matched to a
|
||||
PodGroupResourceClaim if all of their fields are equal (Name,
|
||||
ResourceClaimName, and ResourceClaimTemplateName). A matched claim references
|
||||
a single ResourceClaim shared across all Pods in the PodGroup, reserved for
|
||||
the PodGroup in ResourceClaimStatus.ReservedFor rather than for individual
|
||||
Pods.
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
@@ -5998,6 +6237,16 @@ spec:
|
||||
generated component, will be used to form a unique name for the
|
||||
ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
||||
|
||||
When the DRAWorkloadResourceClaims feature gate is enabled and the pod
|
||||
belongs to a PodGroup that defines a PodGroupResourceClaim with the same
|
||||
Name and ResourceClaimTemplateName, this PodResourceClaim resolves to the
|
||||
ResourceClaim generated for the PodGroup. All pods in the group that
|
||||
define an equivalent PodResourceClaim matching the
|
||||
PodGroupResourceClaim's Name and ResourceClaimTemplateName share the same
|
||||
generated ResourceClaim. ResourceClaims generated for a PodGroup are
|
||||
owned by the PodGroup and their lifecycles are tied to the PodGroup
|
||||
instead of any individual pod.
|
||||
|
||||
This field is immutable and no changes will be made to the
|
||||
corresponding ResourceClaim by the control plane after creating the
|
||||
ResourceClaim.
|
||||
@@ -6124,6 +6373,28 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
schedulingGroup:
|
||||
description: |-
|
||||
SchedulingGroup provides a reference to the immediate scheduling runtime
|
||||
grouping object that this Pod belongs to.
|
||||
This field is used by the scheduler to identify the group and apply the
|
||||
correct group scheduling policies. The association with a group also
|
||||
impacts other lifecycle aspects of a Pod that are relevant in a wider context
|
||||
of scheduling like preemption, resource attachment, etc. If not specified,
|
||||
the Pod is treated as a single unit in all of these aspects.
|
||||
The group object referenced by this field may not exist at the time the
|
||||
Pod is created.
|
||||
This field is immutable, but a group object with the same name may be
|
||||
recreated with different policies. Doing this during pod scheduling
|
||||
may result in the placement not conforming to the expected policies.
|
||||
properties:
|
||||
podGroupName:
|
||||
description: |-
|
||||
PodGroupName specifies the name of the standalone PodGroup object
|
||||
that represents the runtime instance of this group.
|
||||
Must be a DNS subdomain.
|
||||
type: string
|
||||
type: object
|
||||
securityContext:
|
||||
description: |-
|
||||
SecurityContext holds pod-level security attributes and common container settings.
|
||||
@@ -6220,11 +6491,8 @@ spec:
|
||||
Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes
|
||||
whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their
|
||||
CSIDriver instance. Other volumes are always re-labelled recursively.
|
||||
"MountOption" value is allowed only when SELinuxMount feature gate is enabled.
|
||||
|
||||
If not specified and SELinuxMount feature gate is enabled, "MountOption" is used.
|
||||
If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes
|
||||
and "Recursive" for all other volumes.
|
||||
If not specified, "MountOption" is used.
|
||||
|
||||
This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.
|
||||
|
||||
@@ -6846,6 +7114,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: |-
|
||||
items if unspecified, each key-value pair in the Data field of the referenced
|
||||
@@ -6879,6 +7154,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -6966,6 +7248,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: Items is a list of downward API
|
||||
volume file
|
||||
@@ -7036,6 +7325,13 @@ spec:
|
||||
- resource
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -7054,6 +7350,18 @@ spec:
|
||||
Must be an empty string (default) or Memory.
|
||||
More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
||||
type: string
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the permission bits for the emptyDir directory, in numeric
|
||||
notation (e.g., 0755, 01777). Must be a value between 0000 and 01777.
|
||||
If not specified, defaults to 0777.
|
||||
This might be in conflict with other options that affect the file
|
||||
mode, like fsGroup. If fsGroup is specified, the fsGroup permissions
|
||||
will override the mode specified here.
|
||||
This field has no effect on Windows.
|
||||
This field is alpha and requires EmptyDirVolumeMode featuregate to be enabled.
|
||||
format: int32
|
||||
type: integer
|
||||
sizeLimit:
|
||||
anyOf:
|
||||
- type: integer
|
||||
@@ -7147,8 +7455,8 @@ spec:
|
||||
* An existing PVC (PersistentVolumeClaim)
|
||||
If the provisioner or an external controller can support the specified data source,
|
||||
it will create a new volume based on the contents of the specified data source.
|
||||
When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
|
||||
and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be
|
||||
copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
If the namespace is specified, then dataSourceRef will not be copied to dataSource.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -7193,7 +7501,6 @@ spec:
|
||||
specified.
|
||||
* While dataSource only allows local objects, dataSourceRef allows objects
|
||||
in any namespaces.
|
||||
(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
|
||||
(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -7559,7 +7866,7 @@ spec:
|
||||
A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
|
||||
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
|
||||
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
|
||||
The volume will be mounted read-only (ro) and non-executable files (noexec).
|
||||
The volume will be mounted read-only (ro).
|
||||
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
|
||||
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
||||
properties:
|
||||
@@ -7733,8 +8040,7 @@ spec:
|
||||
description: |-
|
||||
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
|
||||
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
|
||||
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
|
||||
is on.
|
||||
are redirected to the pxd.portworx.com CSI driver.
|
||||
properties:
|
||||
fsType:
|
||||
description: |-
|
||||
@@ -7768,6 +8074,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
sources:
|
||||
description: |-
|
||||
sources is the list of volume projections. Each entry in this list
|
||||
@@ -7869,6 +8182,13 @@ spec:
|
||||
Mutually-exclusive with name. The contents of all selected
|
||||
ClusterTrustBundles will be unified and deduplicated.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -7910,6 +8230,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -8013,6 +8340,13 @@ spec:
|
||||
- resource
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -8120,6 +8454,13 @@ spec:
|
||||
description: Kubelet's generated CSRs
|
||||
will be addressed to this signer.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
userAnnotations:
|
||||
additionalProperties:
|
||||
type: string
|
||||
@@ -8180,6 +8521,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -8229,6 +8577,13 @@ spec:
|
||||
path is the path relative to the mount point of the file to project the
|
||||
token into.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -8436,6 +8791,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: |-
|
||||
items If unspecified, each key-value pair in the Data field of the referenced
|
||||
@@ -8469,6 +8831,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -8567,42 +8936,6 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
workloadRef:
|
||||
description: |-
|
||||
WorkloadRef provides a reference to the Workload object that this Pod belongs to.
|
||||
This field is used by the scheduler to identify the PodGroup and apply the
|
||||
correct group scheduling policies. The Workload object referenced
|
||||
by this field may not exist at the time the Pod is created.
|
||||
This field is immutable, but a Workload object with the same name
|
||||
may be recreated with different policies. Doing this during pod scheduling
|
||||
may result in the placement not conforming to the expected policies.
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
Name defines the name of the Workload object this Pod belongs to.
|
||||
Workload must be in the same namespace as the Pod.
|
||||
If it doesn't match any existing Workload, the Pod will remain unschedulable
|
||||
until a Workload object is created and observed by the kube-scheduler.
|
||||
It must be a DNS subdomain.
|
||||
type: string
|
||||
podGroup:
|
||||
description: |-
|
||||
PodGroup is the name of the PodGroup within the Workload that this Pod
|
||||
belongs to. If it doesn't match any existing PodGroup within the Workload,
|
||||
the Pod will remain unschedulable until the Workload object is recreated
|
||||
and observed by the kube-scheduler. It must be a DNS label.
|
||||
type: string
|
||||
podGroupReplicaKey:
|
||||
description: |-
|
||||
PodGroupReplicaKey specifies the replica key of the PodGroup to which this
|
||||
Pod belongs. It is used to distinguish pods belonging to different replicas
|
||||
of the same pod group. The pod group policy is applied separately to each replica.
|
||||
When set, it must be a DNS label.
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- podGroup
|
||||
type: object
|
||||
required:
|
||||
- containers
|
||||
type: object
|
||||
|
||||
Generated
+396
-63
@@ -1070,7 +1070,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -1345,6 +1347,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1459,6 +1466,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1541,6 +1553,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -1599,6 +1618,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -1756,6 +1780,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -1814,6 +1845,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -2115,7 +2151,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -2270,6 +2305,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -2328,6 +2370,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -2469,10 +2516,21 @@ spec:
|
||||
description: VolumeMount describes a mounting of a
|
||||
Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at which
|
||||
the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -2684,7 +2742,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -2956,6 +3016,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3070,6 +3135,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3148,6 +3218,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3206,6 +3283,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3351,6 +3433,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3409,6 +3498,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -3686,7 +3780,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -3834,6 +3927,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -3892,6 +3992,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4042,10 +4147,21 @@ spec:
|
||||
description: VolumeMount describes a mounting of a
|
||||
Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at which
|
||||
the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -4117,6 +4233,63 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
evictionResponders:
|
||||
description: |-
|
||||
evictionResponders reference responders that react to Evictions based on EvictionRequests.
|
||||
Responders should observe and communicate through the Eviction Resource API to help with
|
||||
the graceful termination of a pod. The responders are selected sequentially, according to
|
||||
their specified priority.
|
||||
|
||||
Responders should periodically report on an eviction progress by updating the
|
||||
.status.responders[].heartbeatTime field of the Eviction object. If this field is not updated
|
||||
within the heartbeat deadline defined by the Eviction API (currently 20 minutes), the eviction
|
||||
is passed over to the next responder with a lower priority. If there is no other responder,
|
||||
the last default imperative-eviction.k8s.io/evictor responder with a priority of 100 will
|
||||
evict the pod using the imperative Eviction API (pods/<name>/eviction subresource).
|
||||
|
||||
The maximum length of the responders list is 10.
|
||||
Responders are not supported when the pod is part of a PodGroup (.spec.schedulingGroup is set).
|
||||
This field can only be set on creation and is immutable afterwards.
|
||||
items:
|
||||
description: |-
|
||||
EvictionResponder allows you to specify the responder reacting to an Eviction.
|
||||
Responders should observe and communicate through the Eviction Resource API to help with
|
||||
the graceful eviction of a target (e.g. termination of a pod).
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
name allows you to identify the responder responding to the Eviction.
|
||||
|
||||
It must be a valid domain-prefixed key (such as "acme.io/foo").
|
||||
Domain names *.k8s.io and *.kubernetes.io are reserved.
|
||||
This field must be unique for each responder.
|
||||
This field is required.
|
||||
type: string
|
||||
priority:
|
||||
description: |-
|
||||
priority for this responder. Higher priorities are selected first by the evictionrequest-controller.
|
||||
If there are responders with the same priority, the responder whose domain name comes first in the
|
||||
alphabetical higher domain order, will be picked. This means that the top domain labels are compared
|
||||
alphabetically first, followed by the lower domain labels. The key is compared last.
|
||||
|
||||
The responder that is the managing controller of the pod should set the value of
|
||||
this field to 10000 to allow both for preemption or fallback registration by other
|
||||
responders.
|
||||
|
||||
The minimum value is 0 and the maximum value is 100000.
|
||||
The interval 0-999 is reserved for responders with *.k8s.io suffix.
|
||||
This field is required.
|
||||
format: int32
|
||||
type: integer
|
||||
required:
|
||||
- name
|
||||
- priority
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
type: array
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
hostAliases:
|
||||
description: |-
|
||||
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
|
||||
@@ -4170,7 +4343,6 @@ spec:
|
||||
When set to false, a new userns is created for the pod. Setting false is useful for
|
||||
mitigating container breakout vulnerabilities even allowing users to run their
|
||||
containers as root without actually having root privileges on the host.
|
||||
This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
|
||||
type: boolean
|
||||
hostname:
|
||||
description: |-
|
||||
@@ -4188,7 +4360,6 @@ spec:
|
||||
- `hostNetwork` must be set to false.
|
||||
|
||||
This field must be a valid DNS subdomain as defined in RFC 1123 and contain at most 64 characters.
|
||||
Requires the HostnameOverride feature gate to be enabled.
|
||||
type: string
|
||||
imagePullSecrets:
|
||||
description: |-
|
||||
@@ -4295,7 +4466,9 @@ spec:
|
||||
description: Selects a key of a ConfigMap.
|
||||
properties:
|
||||
key:
|
||||
description: The key to select.
|
||||
description: |-
|
||||
The key to select from the ConfigMap's Data field.
|
||||
Keys in the BinaryData field are not currently propagated to container env vars.
|
||||
type: string
|
||||
name:
|
||||
default: ""
|
||||
@@ -4570,6 +4743,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4684,6 +4862,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4766,6 +4949,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -4824,6 +5014,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -4981,6 +5176,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -5039,6 +5241,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -5340,7 +5547,6 @@ spec:
|
||||
procMount denotes the type of proc mount to use for the containers.
|
||||
The default value is Default which uses the container runtime defaults for
|
||||
readonly paths and masked paths.
|
||||
This requires the ProcMountType feature flag to be enabled.
|
||||
Note that this field cannot be set when spec.os.name is windows.
|
||||
type: string
|
||||
readOnlyRootFilesystem:
|
||||
@@ -5495,6 +5701,13 @@ spec:
|
||||
grpc:
|
||||
description: GRPC specifies a GRPC HealthCheckRequest.
|
||||
properties:
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the connection mode for the gRPC health probe.
|
||||
Set to "TLS" to use TLS without certificate verification.
|
||||
Set to "Plaintext" to use a plaintext (insecure) connection explicitly.
|
||||
If not specified, the probe uses a plaintext (insecure) connection.
|
||||
type: string
|
||||
port:
|
||||
description: Port number of the gRPC service.
|
||||
Number must be in the range 1 to 65535.
|
||||
@@ -5553,6 +5766,11 @@ spec:
|
||||
Number must be in the range 1 to 65535.
|
||||
Name must be an IANA_SVC_NAME.
|
||||
x-kubernetes-int-or-string: true
|
||||
protocol:
|
||||
description: |-
|
||||
Protocol selects the wire protocol for the probe connection.
|
||||
Nil defaults to HTTP/1.1.
|
||||
type: string
|
||||
scheme:
|
||||
description: |-
|
||||
Scheme to use for connecting to the host.
|
||||
@@ -5694,10 +5912,21 @@ spec:
|
||||
description: VolumeMount describes a mounting of a
|
||||
Volume within a container.
|
||||
properties:
|
||||
mountPath:
|
||||
bindMountOptions:
|
||||
description: |-
|
||||
Path within the container at which the volume should be mounted. Must
|
||||
not contain ':'.
|
||||
bindMountOptions is the list of additional bind mount options to apply when
|
||||
mounting this volume into the container. Allowed values are noexec,
|
||||
nodev, and nosuid. These are Linux mount options and have no effect on
|
||||
Windows nodes.
|
||||
This field is not supported with image volumes.
|
||||
This is an alpha field and requires enabling the VolumeBindMountOptions feature gate.
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
x-kubernetes-list-type: set
|
||||
mountPath:
|
||||
description: Path within the container at which
|
||||
the volume should be mounted.
|
||||
type: string
|
||||
mountPropagation:
|
||||
description: |-
|
||||
@@ -5851,6 +6080,8 @@ spec:
|
||||
description: |-
|
||||
PreemptionPolicy is the Policy for preempting pods with lower priority.
|
||||
One of Never, PreemptLowerPriority.
|
||||
When Priority Admission Controller is enabled, it prevents users from setting
|
||||
this field. The admission controller populates this field from PriorityClassName.
|
||||
Defaults to PreemptLowerPriority if unset.
|
||||
type: string
|
||||
priority:
|
||||
@@ -5909,6 +6140,14 @@ spec:
|
||||
|
||||
It adds a name to it that uniquely identifies the ResourceClaim inside the Pod.
|
||||
Containers that need access to the ResourceClaim reference it with this name.
|
||||
|
||||
When the DRAWorkloadResourceClaims feature gate is enabled and this Pod
|
||||
belongs to a PodGroup, a PodResourceClaim is matched to a
|
||||
PodGroupResourceClaim if all of their fields are equal (Name,
|
||||
ResourceClaimName, and ResourceClaimTemplateName). A matched claim references
|
||||
a single ResourceClaim shared across all Pods in the PodGroup, reserved for
|
||||
the PodGroup in ResourceClaimStatus.ReservedFor rather than for individual
|
||||
Pods.
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
@@ -5934,6 +6173,16 @@ spec:
|
||||
generated component, will be used to form a unique name for the
|
||||
ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
||||
|
||||
When the DRAWorkloadResourceClaims feature gate is enabled and the pod
|
||||
belongs to a PodGroup that defines a PodGroupResourceClaim with the same
|
||||
Name and ResourceClaimTemplateName, this PodResourceClaim resolves to the
|
||||
ResourceClaim generated for the PodGroup. All pods in the group that
|
||||
define an equivalent PodResourceClaim matching the
|
||||
PodGroupResourceClaim's Name and ResourceClaimTemplateName share the same
|
||||
generated ResourceClaim. ResourceClaims generated for a PodGroup are
|
||||
owned by the PodGroup and their lifecycles are tied to the PodGroup
|
||||
instead of any individual pod.
|
||||
|
||||
This field is immutable and no changes will be made to the
|
||||
corresponding ResourceClaim by the control plane after creating the
|
||||
ResourceClaim.
|
||||
@@ -6059,6 +6308,28 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
schedulingGroup:
|
||||
description: |-
|
||||
SchedulingGroup provides a reference to the immediate scheduling runtime
|
||||
grouping object that this Pod belongs to.
|
||||
This field is used by the scheduler to identify the group and apply the
|
||||
correct group scheduling policies. The association with a group also
|
||||
impacts other lifecycle aspects of a Pod that are relevant in a wider context
|
||||
of scheduling like preemption, resource attachment, etc. If not specified,
|
||||
the Pod is treated as a single unit in all of these aspects.
|
||||
The group object referenced by this field may not exist at the time the
|
||||
Pod is created.
|
||||
This field is immutable, but a group object with the same name may be
|
||||
recreated with different policies. Doing this during pod scheduling
|
||||
may result in the placement not conforming to the expected policies.
|
||||
properties:
|
||||
podGroupName:
|
||||
description: |-
|
||||
PodGroupName specifies the name of the standalone PodGroup object
|
||||
that represents the runtime instance of this group.
|
||||
Must be a DNS subdomain.
|
||||
type: string
|
||||
type: object
|
||||
securityContext:
|
||||
description: |-
|
||||
SecurityContext holds pod-level security attributes and common container settings.
|
||||
@@ -6155,11 +6426,8 @@ spec:
|
||||
Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes
|
||||
whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their
|
||||
CSIDriver instance. Other volumes are always re-labelled recursively.
|
||||
"MountOption" value is allowed only when SELinuxMount feature gate is enabled.
|
||||
|
||||
If not specified and SELinuxMount feature gate is enabled, "MountOption" is used.
|
||||
If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes
|
||||
and "Recursive" for all other volumes.
|
||||
If not specified, "MountOption" is used.
|
||||
|
||||
This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.
|
||||
|
||||
@@ -6779,6 +7047,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: |-
|
||||
items if unspecified, each key-value pair in the Data field of the referenced
|
||||
@@ -6812,6 +7087,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -6899,6 +7181,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: Items is a list of downward API volume
|
||||
file
|
||||
@@ -6967,6 +7256,13 @@ spec:
|
||||
- resource
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -6985,6 +7281,18 @@ spec:
|
||||
Must be an empty string (default) or Memory.
|
||||
More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
||||
type: string
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the permission bits for the emptyDir directory, in numeric
|
||||
notation (e.g., 0755, 01777). Must be a value between 0000 and 01777.
|
||||
If not specified, defaults to 0777.
|
||||
This might be in conflict with other options that affect the file
|
||||
mode, like fsGroup. If fsGroup is specified, the fsGroup permissions
|
||||
will override the mode specified here.
|
||||
This field has no effect on Windows.
|
||||
This field is alpha and requires EmptyDirVolumeMode featuregate to be enabled.
|
||||
format: int32
|
||||
type: integer
|
||||
sizeLimit:
|
||||
anyOf:
|
||||
- type: integer
|
||||
@@ -7078,8 +7386,8 @@ spec:
|
||||
* An existing PVC (PersistentVolumeClaim)
|
||||
If the provisioner or an external controller can support the specified data source,
|
||||
it will create a new volume based on the contents of the specified data source.
|
||||
When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
|
||||
and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be
|
||||
copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
If the namespace is specified, then dataSourceRef will not be copied to dataSource.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -7124,7 +7432,6 @@ spec:
|
||||
specified.
|
||||
* While dataSource only allows local objects, dataSourceRef allows objects
|
||||
in any namespaces.
|
||||
(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
|
||||
(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -7487,7 +7794,7 @@ spec:
|
||||
A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
|
||||
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
|
||||
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
|
||||
The volume will be mounted read-only (ro) and non-executable files (noexec).
|
||||
The volume will be mounted read-only (ro).
|
||||
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
|
||||
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
||||
properties:
|
||||
@@ -7659,8 +7966,7 @@ spec:
|
||||
description: |-
|
||||
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
|
||||
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
|
||||
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
|
||||
is on.
|
||||
are redirected to the pxd.portworx.com CSI driver.
|
||||
properties:
|
||||
fsType:
|
||||
description: |-
|
||||
@@ -7694,6 +8000,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
sources:
|
||||
description: |-
|
||||
sources is the list of volume projections. Each entry in this list
|
||||
@@ -7794,6 +8107,13 @@ spec:
|
||||
Mutually-exclusive with name. The contents of all selected
|
||||
ClusterTrustBundles will be unified and deduplicated.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -7834,6 +8154,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -7933,6 +8260,13 @@ spec:
|
||||
- resource
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -8040,6 +8374,13 @@ spec:
|
||||
description: Kubelet's generated CSRs
|
||||
will be addressed to this signer.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
userAnnotations:
|
||||
additionalProperties:
|
||||
type: string
|
||||
@@ -8099,6 +8440,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -8146,6 +8494,13 @@ spec:
|
||||
path is the path relative to the mount point of the file to project the
|
||||
token into.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -8352,6 +8707,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: |-
|
||||
items If unspecified, each key-value pair in the Data field of the referenced
|
||||
@@ -8385,6 +8747,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -8483,42 +8852,6 @@ spec:
|
||||
x-kubernetes-list-map-keys:
|
||||
- name
|
||||
x-kubernetes-list-type: map
|
||||
workloadRef:
|
||||
description: |-
|
||||
WorkloadRef provides a reference to the Workload object that this Pod belongs to.
|
||||
This field is used by the scheduler to identify the PodGroup and apply the
|
||||
correct group scheduling policies. The Workload object referenced
|
||||
by this field may not exist at the time the Pod is created.
|
||||
This field is immutable, but a Workload object with the same name
|
||||
may be recreated with different policies. Doing this during pod scheduling
|
||||
may result in the placement not conforming to the expected policies.
|
||||
properties:
|
||||
name:
|
||||
description: |-
|
||||
Name defines the name of the Workload object this Pod belongs to.
|
||||
Workload must be in the same namespace as the Pod.
|
||||
If it doesn't match any existing Workload, the Pod will remain unschedulable
|
||||
until a Workload object is created and observed by the kube-scheduler.
|
||||
It must be a DNS subdomain.
|
||||
type: string
|
||||
podGroup:
|
||||
description: |-
|
||||
PodGroup is the name of the PodGroup within the Workload that this Pod
|
||||
belongs to. If it doesn't match any existing PodGroup within the Workload,
|
||||
the Pod will remain unschedulable until the Workload object is recreated
|
||||
and observed by the kube-scheduler. It must be a DNS label.
|
||||
type: string
|
||||
podGroupReplicaKey:
|
||||
description: |-
|
||||
PodGroupReplicaKey specifies the replica key of the PodGroup to which this
|
||||
Pod belongs. It is used to distinguish pods belonging to different replicas
|
||||
of the same pod group. The pod group policy is applied separately to each replica.
|
||||
When set, it must be a DNS label.
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- podGroup
|
||||
type: object
|
||||
required:
|
||||
- containers
|
||||
type: object
|
||||
|
||||
Generated
+109
-9
@@ -110,8 +110,8 @@ spec:
|
||||
* An existing PVC (PersistentVolumeClaim)
|
||||
If the provisioner or an external controller can support the specified data source,
|
||||
it will create a new volume based on the contents of the specified data source.
|
||||
When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
|
||||
and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be
|
||||
copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
If the namespace is specified, then dataSourceRef will not be copied to dataSource.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -154,7 +154,6 @@ spec:
|
||||
specified.
|
||||
* While dataSource only allows local objects, dataSourceRef allows objects
|
||||
in any namespaces.
|
||||
(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
|
||||
(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -624,6 +623,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: |-
|
||||
items if unspecified, each key-value pair in the Data field of the referenced
|
||||
@@ -657,6 +663,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -744,6 +757,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: Items is a list of downward API volume
|
||||
file
|
||||
@@ -810,6 +830,13 @@ spec:
|
||||
- resource
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -828,6 +855,18 @@ spec:
|
||||
Must be an empty string (default) or Memory.
|
||||
More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
||||
type: string
|
||||
mode:
|
||||
description: |-
|
||||
mode specifies the permission bits for the emptyDir directory, in numeric
|
||||
notation (e.g., 0755, 01777). Must be a value between 0000 and 01777.
|
||||
If not specified, defaults to 0777.
|
||||
This might be in conflict with other options that affect the file
|
||||
mode, like fsGroup. If fsGroup is specified, the fsGroup permissions
|
||||
will override the mode specified here.
|
||||
This field has no effect on Windows.
|
||||
This field is alpha and requires EmptyDirVolumeMode featuregate to be enabled.
|
||||
format: int32
|
||||
type: integer
|
||||
sizeLimit:
|
||||
anyOf:
|
||||
- type: integer
|
||||
@@ -921,8 +960,8 @@ spec:
|
||||
* An existing PVC (PersistentVolumeClaim)
|
||||
If the provisioner or an external controller can support the specified data source,
|
||||
it will create a new volume based on the contents of the specified data source.
|
||||
When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
|
||||
and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be
|
||||
copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
If the namespace is specified, then dataSourceRef will not be copied to dataSource.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -967,7 +1006,6 @@ spec:
|
||||
specified.
|
||||
* While dataSource only allows local objects, dataSourceRef allows objects
|
||||
in any namespaces.
|
||||
(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
|
||||
(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
|
||||
properties:
|
||||
apiGroup:
|
||||
@@ -1329,7 +1367,7 @@ spec:
|
||||
A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
|
||||
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
|
||||
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
|
||||
The volume will be mounted read-only (ro) and non-executable files (noexec).
|
||||
The volume will be mounted read-only (ro).
|
||||
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
|
||||
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
||||
properties:
|
||||
@@ -1495,8 +1533,7 @@ spec:
|
||||
description: |-
|
||||
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
|
||||
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
|
||||
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
|
||||
is on.
|
||||
are redirected to the pxd.portworx.com CSI driver.
|
||||
properties:
|
||||
fsType:
|
||||
description: |-
|
||||
@@ -1530,6 +1567,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
sources:
|
||||
description: |-
|
||||
sources is the list of volume projections. Each entry in this list
|
||||
@@ -1630,6 +1674,13 @@ spec:
|
||||
Mutually-exclusive with name. The contents of all selected
|
||||
ClusterTrustBundles will be unified and deduplicated.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -1670,6 +1721,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -1769,6 +1827,13 @@ spec:
|
||||
- resource
|
||||
type: object
|
||||
x-kubernetes-map-type: atomic
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -1876,6 +1941,13 @@ spec:
|
||||
description: Kubelet's generated CSRs will
|
||||
be addressed to this signer.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
userAnnotations:
|
||||
additionalProperties:
|
||||
type: string
|
||||
@@ -1935,6 +2007,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
@@ -1982,6 +2061,13 @@ spec:
|
||||
path is the path relative to the mount point of the file to project the
|
||||
token into.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
@@ -2188,6 +2274,13 @@ spec:
|
||||
mode, like fsGroup, and the result can be other mode bits set.
|
||||
format: int32
|
||||
type: integer
|
||||
defaultUser:
|
||||
description: |-
|
||||
defaultUser is Optional: The owner UID of the created files by default.
|
||||
The defaultUser field is only used as a fallback when the item-level user field is unset.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
items:
|
||||
description: |-
|
||||
items If unspecified, each key-value pair in the Data field of the referenced
|
||||
@@ -2221,6 +2314,13 @@ spec:
|
||||
May not contain the path element '..'.
|
||||
May not start with the string '..'.
|
||||
type: string
|
||||
user:
|
||||
description: |-
|
||||
user is Optional: The owner UID of the created file.
|
||||
If specified, the item-level user field takes precedence over defaultUser.
|
||||
(Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
|
||||
format: int64
|
||||
type: integer
|
||||
required:
|
||||
- key
|
||||
- path
|
||||
|
||||
Reference in new issue
Block a user