Merge pull request #111023 from pohly/dynamic-resource-allocation
dynamic resource allocation
This commit is contained in:
@@ -239,6 +239,16 @@
|
||||
- k8s.io/klog
|
||||
- k8s.io/utils
|
||||
|
||||
- baseImportPath: "./vendor/k8s.io/dynamic-resource-allocation/"
|
||||
allowedImports:
|
||||
- k8s.io/api
|
||||
- k8s.io/apimachinery
|
||||
- k8s.io/client-go
|
||||
- k8s.io/dynamic-resource-allocation
|
||||
- k8s.io/klog
|
||||
- k8s.io/kubelet
|
||||
- k8s.io/utils
|
||||
|
||||
- baseImportPath: "./vendor/k8s.io/legacy-cloud-providers/"
|
||||
allowedImports:
|
||||
- k8s.io/api
|
||||
|
@@ -1990,6 +1990,23 @@ rules:
|
||||
branch: release-1.25
|
||||
dir: staging/src/k8s.io/pod-security-admission
|
||||
library: true
|
||||
- destination: dynamic-resource-allocation
|
||||
branches:
|
||||
- name: master
|
||||
dependencies:
|
||||
- repository: apimachinery
|
||||
branch: master
|
||||
- repository: api
|
||||
branch: master
|
||||
- repository: client-go
|
||||
branch: master
|
||||
- repository: component-base
|
||||
branch: master
|
||||
- repository: kubelet
|
||||
branch: master
|
||||
source:
|
||||
branch: master
|
||||
dir: staging/src/k8s.io/dynamic-resource-allocation
|
||||
recursive-delete-patterns:
|
||||
- '*/.gitattributes'
|
||||
default-go-version: 1.19.3
|
||||
|
2907
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
2907
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
File diff suppressed because it is too large
Load Diff
@@ -400,6 +400,36 @@ message CinderVolumeSource {
|
||||
optional LocalObjectReference secretRef = 4;
|
||||
}
|
||||
|
||||
// ClaimSource describes a reference to a ResourceClaim.
|
||||
//
|
||||
// Exactly one of these fields should be set. Consumers of this type must
|
||||
// treat an empty object as if it has an unknown value.
|
||||
message ClaimSource {
|
||||
// ResourceClaimName is the name of a ResourceClaim object in the same
|
||||
// namespace as this pod.
|
||||
optional string resourceClaimName = 1;
|
||||
|
||||
// ResourceClaimTemplateName is the name of a ResourceClaimTemplate
|
||||
// object in the same namespace as this pod.
|
||||
//
|
||||
// The template will be used to create a new ResourceClaim, which will
|
||||
// be bound to this pod. When this pod is deleted, the ResourceClaim
|
||||
// will also be deleted. The name of the ResourceClaim will be <pod
|
||||
// name>-<resource name>, where <resource name> is the
|
||||
// PodResourceClaim.Name. Pod validation will reject the pod if the
|
||||
// concatenated name is not valid for a ResourceClaim (e.g. too long).
|
||||
//
|
||||
// An existing ResourceClaim with that name that is not owned by the
|
||||
// pod will not be used for the pod to avoid using an unrelated
|
||||
// resource by mistake. Scheduling and pod startup are then blocked
|
||||
// until the unrelated ResourceClaim is removed.
|
||||
//
|
||||
// This field is immutable and no changes will be made to the
|
||||
// corresponding ResourceClaim by the control plane after creating the
|
||||
// ResourceClaim.
|
||||
optional string resourceClaimTemplateName = 2;
|
||||
}
|
||||
|
||||
// ClientIPConfig represents the configurations of Client IP based session affinity.
|
||||
message ClientIPConfig {
|
||||
// timeoutSeconds specifies the seconds of ClientIP type session sticky time.
|
||||
@@ -3360,6 +3390,18 @@ message PodReadinessGate {
|
||||
optional string conditionType = 1;
|
||||
}
|
||||
|
||||
// PodResourceClaim references exactly one ResourceClaim through a ClaimSource.
|
||||
// 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.
|
||||
message PodResourceClaim {
|
||||
// Name uniquely identifies this resource claim inside the pod.
|
||||
// This must be a DNS_LABEL.
|
||||
optional string name = 1;
|
||||
|
||||
// Source describes where to find the ResourceClaim.
|
||||
optional ClaimSource source = 2;
|
||||
}
|
||||
|
||||
// PodSchedulingGate is associated to a Pod to guard its scheduling.
|
||||
message PodSchedulingGate {
|
||||
// Name of the scheduling gate.
|
||||
@@ -3775,6 +3817,24 @@ message PodSpec {
|
||||
// +listType=map
|
||||
// +listMapKey=name
|
||||
repeated PodSchedulingGate schedulingGates = 38;
|
||||
|
||||
// ResourceClaims defines which ResourceClaims must be allocated
|
||||
// and reserved before the Pod is allowed to start. The resources
|
||||
// will be made available to those containers which consume them
|
||||
// by name.
|
||||
//
|
||||
// This is an alpha field and requires enabling the
|
||||
// DynamicResourceAllocation feature gate.
|
||||
//
|
||||
// This field is immutable.
|
||||
//
|
||||
// +patchMergeKey=name
|
||||
// +patchStrategy=merge,retainKeys
|
||||
// +listType=map
|
||||
// +listMapKey=name
|
||||
// +featureGate=DynamicResourceAllocation
|
||||
// +optional
|
||||
repeated PodResourceClaim resourceClaims = 39;
|
||||
}
|
||||
|
||||
// PodStatus represents information about the status of a pod. Status may trail the actual
|
||||
@@ -4348,6 +4408,14 @@ message ReplicationControllerStatus {
|
||||
repeated ReplicationControllerCondition conditions = 6;
|
||||
}
|
||||
|
||||
// ResourceClaim references one entry in PodSpec.ResourceClaims.
|
||||
message ResourceClaim {
|
||||
// Name must match the name of one entry in pod.spec.resourceClaims of
|
||||
// the Pod where this field is used. It makes that resource available
|
||||
// inside a container.
|
||||
optional string name = 1;
|
||||
}
|
||||
|
||||
// ResourceFieldSelector represents container resources (cpu, memory) and their output format
|
||||
// +structType=atomic
|
||||
message ResourceFieldSelector {
|
||||
@@ -4437,6 +4505,19 @@ message ResourceRequirements {
|
||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||
// +optional
|
||||
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
|
||||
|
||||
// Claims lists the names of resources, defined in spec.resourceClaims,
|
||||
// that are used by this container.
|
||||
//
|
||||
// This is an alpha field and requires enabling the
|
||||
// DynamicResourceAllocation feature gate.
|
||||
//
|
||||
// This field is immutable.
|
||||
//
|
||||
// +listType=set
|
||||
// +featureGate=DynamicResourceAllocation
|
||||
// +optional
|
||||
repeated ResourceClaim claims = 3;
|
||||
}
|
||||
|
||||
// SELinuxOptions are the labels to be applied to the container
|
||||
|
@@ -2314,6 +2314,26 @@ type ResourceRequirements struct {
|
||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||
// +optional
|
||||
Requests ResourceList `json:"requests,omitempty" protobuf:"bytes,2,rep,name=requests,casttype=ResourceList,castkey=ResourceName"`
|
||||
// Claims lists the names of resources, defined in spec.resourceClaims,
|
||||
// that are used by this container.
|
||||
//
|
||||
// This is an alpha field and requires enabling the
|
||||
// DynamicResourceAllocation feature gate.
|
||||
//
|
||||
// This field is immutable.
|
||||
//
|
||||
// +listType=set
|
||||
// +featureGate=DynamicResourceAllocation
|
||||
// +optional
|
||||
Claims []ResourceClaim `json:"claims,omitempty" protobuf:"bytes,3,opt,name=claims"`
|
||||
}
|
||||
|
||||
// ResourceClaim references one entry in PodSpec.ResourceClaims.
|
||||
type ResourceClaim struct {
|
||||
// Name must match the name of one entry in pod.spec.resourceClaims of
|
||||
// the Pod where this field is used. It makes that resource available
|
||||
// inside a container.
|
||||
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
|
||||
}
|
||||
|
||||
const (
|
||||
@@ -3347,6 +3367,7 @@ type PodSpec struct {
|
||||
// - spec.containers[*].securityContext.runAsGroup
|
||||
// +optional
|
||||
OS *PodOS `json:"os,omitempty" protobuf:"bytes,36,opt,name=os"`
|
||||
|
||||
// Use the host's user namespace.
|
||||
// Optional: Default to true.
|
||||
// If set to true or not present, the pod will be run in the host user namespace, useful
|
||||
@@ -3359,6 +3380,7 @@ type PodSpec struct {
|
||||
// +k8s:conversion-gen=false
|
||||
// +optional
|
||||
HostUsers *bool `json:"hostUsers,omitempty" protobuf:"bytes,37,opt,name=hostUsers"`
|
||||
|
||||
// SchedulingGates is an opaque list of values that if specified will block scheduling the pod.
|
||||
// More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.
|
||||
//
|
||||
@@ -3369,6 +3391,65 @@ type PodSpec struct {
|
||||
// +listType=map
|
||||
// +listMapKey=name
|
||||
SchedulingGates []PodSchedulingGate `json:"schedulingGates,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,38,opt,name=schedulingGates"`
|
||||
// ResourceClaims defines which ResourceClaims must be allocated
|
||||
// and reserved before the Pod is allowed to start. The resources
|
||||
// will be made available to those containers which consume them
|
||||
// by name.
|
||||
//
|
||||
// This is an alpha field and requires enabling the
|
||||
// DynamicResourceAllocation feature gate.
|
||||
//
|
||||
// This field is immutable.
|
||||
//
|
||||
// +patchMergeKey=name
|
||||
// +patchStrategy=merge,retainKeys
|
||||
// +listType=map
|
||||
// +listMapKey=name
|
||||
// +featureGate=DynamicResourceAllocation
|
||||
// +optional
|
||||
ResourceClaims []PodResourceClaim `json:"resourceClaims,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name" protobuf:"bytes,39,rep,name=resourceClaims"`
|
||||
}
|
||||
|
||||
// PodResourceClaim references exactly one ResourceClaim through a ClaimSource.
|
||||
// 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.
|
||||
type PodResourceClaim struct {
|
||||
// Name uniquely identifies this resource claim inside the pod.
|
||||
// This must be a DNS_LABEL.
|
||||
Name string `json:"name" protobuf:"bytes,1,name=name"`
|
||||
|
||||
// Source describes where to find the ResourceClaim.
|
||||
Source ClaimSource `json:"source,omitempty" protobuf:"bytes,2,name=source"`
|
||||
}
|
||||
|
||||
// ClaimSource describes a reference to a ResourceClaim.
|
||||
//
|
||||
// Exactly one of these fields should be set. Consumers of this type must
|
||||
// treat an empty object as if it has an unknown value.
|
||||
type ClaimSource struct {
|
||||
// ResourceClaimName is the name of a ResourceClaim object in the same
|
||||
// namespace as this pod.
|
||||
ResourceClaimName *string `json:"resourceClaimName,omitempty" protobuf:"bytes,1,opt,name=resourceClaimName"`
|
||||
|
||||
// ResourceClaimTemplateName is the name of a ResourceClaimTemplate
|
||||
// object in the same namespace as this pod.
|
||||
//
|
||||
// The template will be used to create a new ResourceClaim, which will
|
||||
// be bound to this pod. When this pod is deleted, the ResourceClaim
|
||||
// will also be deleted. The name of the ResourceClaim will be <pod
|
||||
// name>-<resource name>, where <resource name> is the
|
||||
// PodResourceClaim.Name. Pod validation will reject the pod if the
|
||||
// concatenated name is not valid for a ResourceClaim (e.g. too long).
|
||||
//
|
||||
// An existing ResourceClaim with that name that is not owned by the
|
||||
// pod will not be used for the pod to avoid using an unrelated
|
||||
// resource by mistake. Scheduling and pod startup are then blocked
|
||||
// until the unrelated ResourceClaim is removed.
|
||||
//
|
||||
// This field is immutable and no changes will be made to the
|
||||
// corresponding ResourceClaim by the control plane after creating the
|
||||
// ResourceClaim.
|
||||
ResourceClaimTemplateName *string `json:"resourceClaimTemplateName,omitempty" protobuf:"bytes,2,opt,name=resourceClaimTemplateName"`
|
||||
}
|
||||
|
||||
// OSName is the set of OS'es that can be used in OS.
|
||||
|
@@ -209,6 +209,16 @@ func (CinderVolumeSource) SwaggerDoc() map[string]string {
|
||||
return map_CinderVolumeSource
|
||||
}
|
||||
|
||||
var map_ClaimSource = map[string]string{
|
||||
"": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
|
||||
"resourceClaimName": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
|
||||
"resourceClaimTemplateName": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The name of the ResourceClaim will be <pod name>-<resource name>, where <resource name> is the PodResourceClaim.Name. Pod validation will reject the pod if the concatenated name is not valid for a ResourceClaim (e.g. too long).\n\nAn existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
|
||||
}
|
||||
|
||||
func (ClaimSource) SwaggerDoc() map[string]string {
|
||||
return map_ClaimSource
|
||||
}
|
||||
|
||||
var map_ClientIPConfig = map[string]string{
|
||||
"": "ClientIPConfig represents the configurations of Client IP based session affinity.",
|
||||
"timeoutSeconds": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).",
|
||||
@@ -1606,6 +1616,16 @@ func (PodReadinessGate) SwaggerDoc() map[string]string {
|
||||
return map_PodReadinessGate
|
||||
}
|
||||
|
||||
var map_PodResourceClaim = map[string]string{
|
||||
"": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. 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.",
|
||||
"name": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.",
|
||||
"source": "Source describes where to find the ResourceClaim.",
|
||||
}
|
||||
|
||||
func (PodResourceClaim) SwaggerDoc() map[string]string {
|
||||
return map_PodResourceClaim
|
||||
}
|
||||
|
||||
var map_PodSchedulingGate = map[string]string{
|
||||
"": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
|
||||
"name": "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
|
||||
@@ -1682,6 +1702,7 @@ var map_PodSpec = map[string]string{
|
||||
"os": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup",
|
||||
"hostUsers": "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. 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.",
|
||||
"schedulingGates": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.\n\nThis is an alpha-level feature enabled by PodSchedulingReadiness feature gate.",
|
||||
"resourceClaims": "ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable.",
|
||||
}
|
||||
|
||||
func (PodSpec) SwaggerDoc() map[string]string {
|
||||
@@ -1954,6 +1975,15 @@ func (ReplicationControllerStatus) SwaggerDoc() map[string]string {
|
||||
return map_ReplicationControllerStatus
|
||||
}
|
||||
|
||||
var map_ResourceClaim = map[string]string{
|
||||
"": "ResourceClaim references one entry in PodSpec.ResourceClaims.",
|
||||
"name": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.",
|
||||
}
|
||||
|
||||
func (ResourceClaim) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaim
|
||||
}
|
||||
|
||||
var map_ResourceFieldSelector = map[string]string{
|
||||
"": "ResourceFieldSelector represents container resources (cpu, memory) and their output format",
|
||||
"containerName": "Container name: required for volumes, optional for env vars",
|
||||
@@ -2011,6 +2041,7 @@ var map_ResourceRequirements = map[string]string{
|
||||
"": "ResourceRequirements describes the compute resource requirements.",
|
||||
"limits": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||
"requests": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||
"claims": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable.",
|
||||
}
|
||||
|
||||
func (ResourceRequirements) SwaggerDoc() map[string]string {
|
||||
|
@@ -419,6 +419,32 @@ func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ClaimSource) DeepCopyInto(out *ClaimSource) {
|
||||
*out = *in
|
||||
if in.ResourceClaimName != nil {
|
||||
in, out := &in.ResourceClaimName, &out.ResourceClaimName
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
if in.ResourceClaimTemplateName != nil {
|
||||
in, out := &in.ResourceClaimTemplateName, &out.ResourceClaimTemplateName
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimSource.
|
||||
func (in *ClaimSource) DeepCopy() *ClaimSource {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ClaimSource)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig) {
|
||||
*out = *in
|
||||
@@ -3726,6 +3752,23 @@ func (in *PodReadinessGate) DeepCopy() *PodReadinessGate {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PodResourceClaim) DeepCopyInto(out *PodResourceClaim) {
|
||||
*out = *in
|
||||
in.Source.DeepCopyInto(&out.Source)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodResourceClaim.
|
||||
func (in *PodResourceClaim) DeepCopy() *PodResourceClaim {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(PodResourceClaim)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PodSchedulingGate) DeepCopyInto(out *PodSchedulingGate) {
|
||||
*out = *in
|
||||
@@ -3980,6 +4023,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) {
|
||||
*out = make([]PodSchedulingGate, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.ResourceClaims != nil {
|
||||
in, out := &in.ResourceClaims, &out.ResourceClaims
|
||||
*out = make([]PodResourceClaim, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@@ -4563,6 +4613,22 @@ func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaim) DeepCopyInto(out *ResourceClaim) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaim.
|
||||
func (in *ResourceClaim) DeepCopy() *ResourceClaim {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaim)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceFieldSelector) DeepCopyInto(out *ResourceFieldSelector) {
|
||||
*out = *in
|
||||
@@ -4743,6 +4809,11 @@ func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) {
|
||||
(*out)[key] = val.DeepCopy()
|
||||
}
|
||||
}
|
||||
if in.Claims != nil {
|
||||
in, out := &in.Claims, &out.Claims
|
||||
*out = make([]ResourceClaim, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
6
staging/src/k8s.io/api/resource/OWNERS
Normal file
6
staging/src/k8s.io/api/resource/OWNERS
Normal file
@@ -0,0 +1,6 @@
|
||||
# See the OWNERS docs at https://go.k8s.io/owners
|
||||
|
||||
reviewers:
|
||||
- bart0sh
|
||||
- klueska
|
||||
- pohly
|
24
staging/src/k8s.io/api/resource/v1alpha1/doc.go
Normal file
24
staging/src/k8s.io/api/resource/v1alpha1/doc.go
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
Copyright 2022 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:deepcopy-gen=package
|
||||
// +k8s:protobuf-gen=package
|
||||
|
||||
// +groupName=resource.k8s.io
|
||||
|
||||
// Package v1alpha1 is the v1alpha1 version of the resource API.
|
||||
package v1alpha1 // import "k8s.io/api/resource/v1alpha1"
|
4593
staging/src/k8s.io/api/resource/v1alpha1/generated.pb.go
generated
Normal file
4593
staging/src/k8s.io/api/resource/v1alpha1/generated.pb.go
generated
Normal file
File diff suppressed because it is too large
Load Diff
371
staging/src/k8s.io/api/resource/v1alpha1/generated.proto
Normal file
371
staging/src/k8s.io/api/resource/v1alpha1/generated.proto
Normal file
@@ -0,0 +1,371 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
// This file was autogenerated by go-to-protobuf. Do not edit it manually!
|
||||
|
||||
syntax = "proto2";
|
||||
|
||||
package k8s.io.api.resource.v1alpha1;
|
||||
|
||||
import "k8s.io/api/core/v1/generated.proto";
|
||||
import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
|
||||
import "k8s.io/apimachinery/pkg/runtime/generated.proto";
|
||||
import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
|
||||
|
||||
// Package-wide variables from generator "generated".
|
||||
option go_package = "k8s.io/api/resource/v1alpha1";
|
||||
|
||||
// AllocationResult contains attributed of an allocated resource.
|
||||
message AllocationResult {
|
||||
// ResourceHandle contains arbitrary data returned by the driver after a
|
||||
// successful allocation. This is opaque for
|
||||
// Kubernetes. Driver documentation may explain to users how to
|
||||
// interpret this data if needed.
|
||||
//
|
||||
// The maximum size of this field is 16KiB. This may get
|
||||
// increased in the future, but not reduced.
|
||||
// +optional
|
||||
optional string resourceHandle = 1;
|
||||
|
||||
// This field will get set by the resource driver after it has
|
||||
// allocated the resource driver to inform the scheduler where it can
|
||||
// schedule Pods using the ResourceClaim.
|
||||
//
|
||||
// Setting this field is optional. If null, the resource is available
|
||||
// everywhere.
|
||||
// +optional
|
||||
optional k8s.io.api.core.v1.NodeSelector availableOnNodes = 2;
|
||||
|
||||
// Shareable determines whether the resource supports more
|
||||
// than one consumer at a time.
|
||||
// +optional
|
||||
optional bool shareable = 3;
|
||||
}
|
||||
|
||||
// PodScheduling objects hold information that is needed to schedule
|
||||
// a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation
|
||||
// mode.
|
||||
//
|
||||
// This is an alpha type and requires enabling the DynamicResourceAllocation
|
||||
// feature gate.
|
||||
message PodScheduling {
|
||||
// Standard object metadata
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// Spec describes where resources for the Pod are needed.
|
||||
optional PodSchedulingSpec spec = 2;
|
||||
|
||||
// Status describes where resources for the Pod can be allocated.
|
||||
// +optional
|
||||
optional PodSchedulingStatus status = 3;
|
||||
}
|
||||
|
||||
// PodSchedulingList is a collection of Pod scheduling objects.
|
||||
message PodSchedulingList {
|
||||
// Standard list metadata
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||
|
||||
// Items is the list of PodScheduling objects.
|
||||
repeated PodScheduling items = 2;
|
||||
}
|
||||
|
||||
// PodSchedulingSpec describes where resources for the Pod are needed.
|
||||
message PodSchedulingSpec {
|
||||
// SelectedNode is the node for which allocation of ResourceClaims that
|
||||
// are referenced by the Pod and that use "WaitForFirstConsumer"
|
||||
// allocation is to be attempted.
|
||||
// +optional
|
||||
optional string selectedNode = 1;
|
||||
|
||||
// PotentialNodes lists nodes where the Pod might be able to run.
|
||||
//
|
||||
// The size of this field is limited to 128. This is large enough for
|
||||
// many clusters. Larger clusters may need more attempts to find a node
|
||||
// that suits all pending resources. This may get increased in the
|
||||
// future, but not reduced.
|
||||
//
|
||||
// +listType=set
|
||||
// +optional
|
||||
repeated string potentialNodes = 2;
|
||||
}
|
||||
|
||||
// PodSchedulingStatus describes where resources for the Pod can be allocated.
|
||||
message PodSchedulingStatus {
|
||||
// ResourceClaims describes resource availability for each
|
||||
// pod.spec.resourceClaim entry where the corresponding ResourceClaim
|
||||
// uses "WaitForFirstConsumer" allocation mode.
|
||||
//
|
||||
// +listType=map
|
||||
// +listMapKey=name
|
||||
// +optional
|
||||
repeated ResourceClaimSchedulingStatus resourceClaims = 1;
|
||||
}
|
||||
|
||||
// ResourceClaim describes which resources are needed by a resource consumer.
|
||||
// Its status tracks whether the resource has been allocated and what the
|
||||
// resulting attributes are.
|
||||
//
|
||||
// This is an alpha type and requires enabling the DynamicResourceAllocation
|
||||
// feature gate.
|
||||
message ResourceClaim {
|
||||
// Standard object metadata
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// Spec describes the desired attributes of a resource that then needs
|
||||
// to be allocated. It can only be set once when creating the
|
||||
// ResourceClaim.
|
||||
optional ResourceClaimSpec spec = 2;
|
||||
|
||||
// Status describes whether the resource is available and with which
|
||||
// attributes.
|
||||
// +optional
|
||||
optional ResourceClaimStatus status = 3;
|
||||
}
|
||||
|
||||
// ResourceClaimConsumerReference contains enough information to let you
|
||||
// locate the consumer of a ResourceClaim. The user must be a resource in the same
|
||||
// namespace as the ResourceClaim.
|
||||
message ResourceClaimConsumerReference {
|
||||
// APIGroup is the group for the resource being referenced. It is
|
||||
// empty for the core API. This matches the group in the APIVersion
|
||||
// that is used when creating the resources.
|
||||
// +optional
|
||||
optional string apiGroup = 1;
|
||||
|
||||
// Resource is the type of resource being referenced, for example "pods".
|
||||
optional string resource = 3;
|
||||
|
||||
// Name is the name of resource being referenced.
|
||||
optional string name = 4;
|
||||
|
||||
// UID identifies exactly one incarnation of the resource.
|
||||
optional string uid = 5;
|
||||
}
|
||||
|
||||
// ResourceClaimList is a collection of claims.
|
||||
message ResourceClaimList {
|
||||
// Standard list metadata
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||
|
||||
// Items is the list of resource claims.
|
||||
repeated ResourceClaim items = 2;
|
||||
}
|
||||
|
||||
// ResourceClaimParametersReference contains enough information to let you
|
||||
// locate the parameters for a ResourceClaim. The object must be in the same
|
||||
// namespace as the ResourceClaim.
|
||||
message ResourceClaimParametersReference {
|
||||
// APIGroup is the group for the resource being referenced. It is
|
||||
// empty for the core API. This matches the group in the APIVersion
|
||||
// that is used when creating the resources.
|
||||
// +optional
|
||||
optional string apiGroup = 1;
|
||||
|
||||
// Kind is the type of resource being referenced. This is the same
|
||||
// value as in the parameter object's metadata, for example "ConfigMap".
|
||||
optional string kind = 2;
|
||||
|
||||
// Name is the name of resource being referenced.
|
||||
optional string name = 3;
|
||||
}
|
||||
|
||||
// ResourceClaimSchedulingStatus contains information about one particular
|
||||
// ResourceClaim with "WaitForFirstConsumer" allocation mode.
|
||||
message ResourceClaimSchedulingStatus {
|
||||
// Name matches the pod.spec.resourceClaims[*].Name field.
|
||||
// +optional
|
||||
optional string name = 1;
|
||||
|
||||
// UnsuitableNodes lists nodes that the ResourceClaim cannot be
|
||||
// allocated for.
|
||||
//
|
||||
// The size of this field is limited to 128, the same as for
|
||||
// PodSchedulingSpec.PotentialNodes. This may get increased in the
|
||||
// future, but not reduced.
|
||||
//
|
||||
// +listType=set
|
||||
// +optional
|
||||
repeated string unsuitableNodes = 2;
|
||||
}
|
||||
|
||||
// ResourceClaimSpec defines how a resource is to be allocated.
|
||||
message ResourceClaimSpec {
|
||||
// ResourceClassName references the driver and additional parameters
|
||||
// via the name of a ResourceClass that was created as part of the
|
||||
// driver deployment.
|
||||
optional string resourceClassName = 1;
|
||||
|
||||
// ParametersRef references a separate object with arbitrary parameters
|
||||
// that will be used by the driver when allocating a resource for the
|
||||
// claim.
|
||||
//
|
||||
// The object must be in the same namespace as the ResourceClaim.
|
||||
// +optional
|
||||
optional ResourceClaimParametersReference parametersRef = 2;
|
||||
|
||||
// Allocation can start immediately or when a Pod wants to use the
|
||||
// resource. "WaitForFirstConsumer" is the default.
|
||||
// +optional
|
||||
optional string allocationMode = 3;
|
||||
}
|
||||
|
||||
// ResourceClaimStatus tracks whether the resource has been allocated and what
|
||||
// the resulting attributes are.
|
||||
message ResourceClaimStatus {
|
||||
// DriverName is a copy of the driver name from the ResourceClass at
|
||||
// the time when allocation started.
|
||||
// +optional
|
||||
optional string driverName = 1;
|
||||
|
||||
// Allocation is set by the resource driver once a resource has been
|
||||
// allocated successfully. If this is not specified, the resource is
|
||||
// not yet allocated.
|
||||
// +optional
|
||||
optional AllocationResult allocation = 2;
|
||||
|
||||
// ReservedFor indicates which entities are currently allowed to use
|
||||
// the claim. A Pod which references a ResourceClaim which is not
|
||||
// reserved for that Pod will not be started.
|
||||
//
|
||||
// There can be at most 32 such reservations. This may get increased in
|
||||
// the future, but not reduced.
|
||||
//
|
||||
// +listType=set
|
||||
// +optional
|
||||
repeated ResourceClaimConsumerReference reservedFor = 3;
|
||||
|
||||
// DeallocationRequested indicates that a ResourceClaim is to be
|
||||
// deallocated.
|
||||
//
|
||||
// The driver then must deallocate this claim and reset the field
|
||||
// together with clearing the Allocation field.
|
||||
//
|
||||
// While DeallocationRequested is set, no new consumers may be added to
|
||||
// ReservedFor.
|
||||
// +optional
|
||||
optional bool deallocationRequested = 4;
|
||||
}
|
||||
|
||||
// ResourceClaimTemplate is used to produce ResourceClaim objects.
|
||||
message ResourceClaimTemplate {
|
||||
// Standard object metadata
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// Describes the ResourceClaim that is to be generated.
|
||||
//
|
||||
// This field is immutable. A ResourceClaim will get created by the
|
||||
// control plane for a Pod when needed and then not get updated
|
||||
// anymore.
|
||||
optional ResourceClaimTemplateSpec spec = 2;
|
||||
}
|
||||
|
||||
// ResourceClaimTemplateList is a collection of claim templates.
|
||||
message ResourceClaimTemplateList {
|
||||
// Standard list metadata
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||
|
||||
// Items is the list of resource claim templates.
|
||||
repeated ResourceClaimTemplate items = 2;
|
||||
}
|
||||
|
||||
// ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
|
||||
message ResourceClaimTemplateSpec {
|
||||
// ObjectMeta may contain labels and annotations that will be copied into the PVC
|
||||
// when creating it. No other fields are allowed and will be rejected during
|
||||
// validation.
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// Spec for the ResourceClaim. The entire content is copied unchanged
|
||||
// into the ResourceClaim that gets created from this template. The
|
||||
// same fields as in a ResourceClaim are also valid here.
|
||||
optional ResourceClaimSpec spec = 2;
|
||||
}
|
||||
|
||||
// ResourceClass is used by administrators to influence how resources
|
||||
// are allocated.
|
||||
//
|
||||
// This is an alpha type and requires enabling the DynamicResourceAllocation
|
||||
// feature gate.
|
||||
message ResourceClass {
|
||||
// Standard object metadata
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// DriverName defines the name of the dynamic resource driver that is
|
||||
// used for allocation of a ResourceClaim that uses this class.
|
||||
//
|
||||
// Resource drivers have a unique name in forward domain order
|
||||
// (acme.example.com).
|
||||
optional string driverName = 2;
|
||||
|
||||
// ParametersRef references an arbitrary separate object that may hold
|
||||
// parameters that will be used by the driver when allocating a
|
||||
// resource that uses this class. A dynamic resource driver can
|
||||
// distinguish between parameters stored here and and those stored in
|
||||
// ResourceClaimSpec.
|
||||
// +optional
|
||||
optional ResourceClassParametersReference parametersRef = 3;
|
||||
|
||||
// Only nodes matching the selector will be considered by the scheduler
|
||||
// when trying to find a Node that fits a Pod when that Pod uses
|
||||
// a ResourceClaim that has not been allocated yet.
|
||||
//
|
||||
// Setting this field is optional. If null, all nodes are candidates.
|
||||
// +optional
|
||||
optional k8s.io.api.core.v1.NodeSelector suitableNodes = 4;
|
||||
}
|
||||
|
||||
// ResourceClassList is a collection of classes.
|
||||
message ResourceClassList {
|
||||
// Standard list metadata
|
||||
// +optional
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||
|
||||
// Items is the list of resource classes.
|
||||
repeated ResourceClass items = 2;
|
||||
}
|
||||
|
||||
// ResourceClassParametersReference contains enough information to let you
|
||||
// locate the parameters for a ResourceClass.
|
||||
message ResourceClassParametersReference {
|
||||
// APIGroup is the group for the resource being referenced. It is
|
||||
// empty for the core API. This matches the group in the APIVersion
|
||||
// that is used when creating the resources.
|
||||
// +optional
|
||||
optional string apiGroup = 1;
|
||||
|
||||
// Kind is the type of resource being referenced. This is the same
|
||||
// value as in the parameter object's metadata.
|
||||
optional string kind = 2;
|
||||
|
||||
// Name is the name of resource being referenced.
|
||||
optional string name = 3;
|
||||
|
||||
// Namespace that contains the referenced resource. Must be empty
|
||||
// for cluster-scoped resources and non-empty for namespaced
|
||||
// resources.
|
||||
// +optional
|
||||
optional string namespace = 4;
|
||||
}
|
||||
|
63
staging/src/k8s.io/api/resource/v1alpha1/register.go
Normal file
63
staging/src/k8s.io/api/resource/v1alpha1/register.go
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
Copyright 2022 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
)
|
||||
|
||||
// GroupName is the group name use in this package
|
||||
const GroupName = "resource.k8s.io"
|
||||
|
||||
// SchemeGroupVersion is group version used to register these objects
|
||||
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
|
||||
|
||||
// Resource takes an unqualified resource and returns a Group qualified GroupResource
|
||||
func Resource(resource string) schema.GroupResource {
|
||||
return SchemeGroupVersion.WithResource(resource).GroupResource()
|
||||
}
|
||||
|
||||
var (
|
||||
// We only register manually written functions here. The registration of the
|
||||
// generated functions takes place in the generated files. The separation
|
||||
// makes the code compile even when the generated files are missing.
|
||||
SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
|
||||
AddToScheme = SchemeBuilder.AddToScheme
|
||||
)
|
||||
|
||||
// Adds the list of known types to the given scheme.
|
||||
func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
scheme.AddKnownTypes(SchemeGroupVersion,
|
||||
&ResourceClass{},
|
||||
&ResourceClassList{},
|
||||
&ResourceClaim{},
|
||||
&ResourceClaimList{},
|
||||
&ResourceClaimTemplate{},
|
||||
&ResourceClaimTemplateList{},
|
||||
&PodScheduling{},
|
||||
&PodSchedulingList{},
|
||||
)
|
||||
|
||||
// Add common types
|
||||
scheme.AddKnownTypes(SchemeGroupVersion, &metav1.Status{})
|
||||
|
||||
// Add the watch version that applies
|
||||
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
|
||||
return nil
|
||||
}
|
429
staging/src/k8s.io/api/resource/v1alpha1/types.go
Normal file
429
staging/src/k8s.io/api/resource/v1alpha1/types.go
Normal file
@@ -0,0 +1,429 @@
|
||||
/*
|
||||
Copyright 2022 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.26
|
||||
|
||||
// ResourceClaim describes which resources are needed by a resource consumer.
|
||||
// Its status tracks whether the resource has been allocated and what the
|
||||
// resulting attributes are.
|
||||
//
|
||||
// This is an alpha type and requires enabling the DynamicResourceAllocation
|
||||
// feature gate.
|
||||
type ResourceClaim struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object metadata
|
||||
// +optional
|
||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Spec describes the desired attributes of a resource that then needs
|
||||
// to be allocated. It can only be set once when creating the
|
||||
// ResourceClaim.
|
||||
Spec ResourceClaimSpec `json:"spec" protobuf:"bytes,2,name=spec"`
|
||||
|
||||
// Status describes whether the resource is available and with which
|
||||
// attributes.
|
||||
// +optional
|
||||
Status ResourceClaimStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||
}
|
||||
|
||||
// ResourceClaimSpec defines how a resource is to be allocated.
|
||||
type ResourceClaimSpec struct {
|
||||
// ResourceClassName references the driver and additional parameters
|
||||
// via the name of a ResourceClass that was created as part of the
|
||||
// driver deployment.
|
||||
ResourceClassName string `json:"resourceClassName" protobuf:"bytes,1,name=resourceClassName"`
|
||||
|
||||
// ParametersRef references a separate object with arbitrary parameters
|
||||
// that will be used by the driver when allocating a resource for the
|
||||
// claim.
|
||||
//
|
||||
// The object must be in the same namespace as the ResourceClaim.
|
||||
// +optional
|
||||
ParametersRef *ResourceClaimParametersReference `json:"parametersRef,omitempty" protobuf:"bytes,2,opt,name=parametersRef"`
|
||||
|
||||
// Allocation can start immediately or when a Pod wants to use the
|
||||
// resource. "WaitForFirstConsumer" is the default.
|
||||
// +optional
|
||||
AllocationMode AllocationMode `json:"allocationMode,omitempty" protobuf:"bytes,3,opt,name=allocationMode"`
|
||||
}
|
||||
|
||||
// AllocationMode describes whether a ResourceClaim gets allocated immediately
|
||||
// when it gets created (AllocationModeImmediate) or whether allocation is
|
||||
// delayed until it is needed for a Pod
|
||||
// (AllocationModeWaitForFirstConsumer). Other modes might get added in the
|
||||
// future.
|
||||
type AllocationMode string
|
||||
|
||||
const (
|
||||
// When a ResourceClaim has AllocationModeWaitForFirstConsumer, allocation is
|
||||
// delayed until a Pod gets scheduled that needs the ResourceClaim. The
|
||||
// scheduler will consider all resource requirements of that Pod and
|
||||
// trigger allocation for a node that fits the Pod.
|
||||
AllocationModeWaitForFirstConsumer AllocationMode = "WaitForFirstConsumer"
|
||||
|
||||
// When a ResourceClaim has AllocationModeImmediate, allocation starts
|
||||
// as soon as the ResourceClaim gets created. This is done without
|
||||
// considering the needs of Pods that will use the ResourceClaim
|
||||
// because those Pods are not known yet.
|
||||
AllocationModeImmediate AllocationMode = "Immediate"
|
||||
)
|
||||
|
||||
// ResourceClaimStatus tracks whether the resource has been allocated and what
|
||||
// the resulting attributes are.
|
||||
type ResourceClaimStatus struct {
|
||||
// DriverName is a copy of the driver name from the ResourceClass at
|
||||
// the time when allocation started.
|
||||
// +optional
|
||||
DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"`
|
||||
|
||||
// Allocation is set by the resource driver once a resource has been
|
||||
// allocated successfully. If this is not specified, the resource is
|
||||
// not yet allocated.
|
||||
// +optional
|
||||
Allocation *AllocationResult `json:"allocation,omitempty" protobuf:"bytes,2,opt,name=allocation"`
|
||||
|
||||
// ReservedFor indicates which entities are currently allowed to use
|
||||
// the claim. A Pod which references a ResourceClaim which is not
|
||||
// reserved for that Pod will not be started.
|
||||
//
|
||||
// There can be at most 32 such reservations. This may get increased in
|
||||
// the future, but not reduced.
|
||||
//
|
||||
// +listType=set
|
||||
// +optional
|
||||
ReservedFor []ResourceClaimConsumerReference `json:"reservedFor,omitempty" protobuf:"bytes,3,opt,name=reservedFor"`
|
||||
|
||||
// DeallocationRequested indicates that a ResourceClaim is to be
|
||||
// deallocated.
|
||||
//
|
||||
// The driver then must deallocate this claim and reset the field
|
||||
// together with clearing the Allocation field.
|
||||
//
|
||||
// While DeallocationRequested is set, no new consumers may be added to
|
||||
// ReservedFor.
|
||||
// +optional
|
||||
DeallocationRequested bool `json:"deallocationRequested,omitempty" protobuf:"varint,4,opt,name=deallocationRequested"`
|
||||
}
|
||||
|
||||
// ReservedForMaxSize is the maximum number of entries in
|
||||
// claim.status.reservedFor.
|
||||
const ResourceClaimReservedForMaxSize = 32
|
||||
|
||||
// AllocationResult contains attributed of an allocated resource.
|
||||
type AllocationResult struct {
|
||||
// ResourceHandle contains arbitrary data returned by the driver after a
|
||||
// successful allocation. This is opaque for
|
||||
// Kubernetes. Driver documentation may explain to users how to
|
||||
// interpret this data if needed.
|
||||
//
|
||||
// The maximum size of this field is 16KiB. This may get
|
||||
// increased in the future, but not reduced.
|
||||
// +optional
|
||||
ResourceHandle string `json:"resourceHandle,omitempty" protobuf:"bytes,1,opt,name=resourceHandle"`
|
||||
|
||||
// This field will get set by the resource driver after it has
|
||||
// allocated the resource driver to inform the scheduler where it can
|
||||
// schedule Pods using the ResourceClaim.
|
||||
//
|
||||
// Setting this field is optional. If null, the resource is available
|
||||
// everywhere.
|
||||
// +optional
|
||||
AvailableOnNodes *v1.NodeSelector `json:"availableOnNodes,omitempty" protobuf:"bytes,2,opt,name=availableOnNodes"`
|
||||
|
||||
// Shareable determines whether the resource supports more
|
||||
// than one consumer at a time.
|
||||
// +optional
|
||||
Shareable bool `json:"shareable,omitempty" protobuf:"varint,3,opt,name=shareable"`
|
||||
}
|
||||
|
||||
// ResourceHandleMaxSize is the maximum size of allocation.resourceHandle.
|
||||
const ResourceHandleMaxSize = 16 * 1024
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.26
|
||||
|
||||
// ResourceClaimList is a collection of claims.
|
||||
type ResourceClaimList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard list metadata
|
||||
// +optional
|
||||
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Items is the list of resource claims.
|
||||
Items []ResourceClaim `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||
}
|
||||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.26
|
||||
|
||||
// PodScheduling objects hold information that is needed to schedule
|
||||
// a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation
|
||||
// mode.
|
||||
//
|
||||
// This is an alpha type and requires enabling the DynamicResourceAllocation
|
||||
// feature gate.
|
||||
type PodScheduling struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object metadata
|
||||
// +optional
|
||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Spec describes where resources for the Pod are needed.
|
||||
Spec PodSchedulingSpec `json:"spec" protobuf:"bytes,2,name=spec"`
|
||||
|
||||
// Status describes where resources for the Pod can be allocated.
|
||||
// +optional
|
||||
Status PodSchedulingStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||
}
|
||||
|
||||
// PodSchedulingSpec describes where resources for the Pod are needed.
|
||||
type PodSchedulingSpec struct {
|
||||
// SelectedNode is the node for which allocation of ResourceClaims that
|
||||
// are referenced by the Pod and that use "WaitForFirstConsumer"
|
||||
// allocation is to be attempted.
|
||||
// +optional
|
||||
SelectedNode string `json:"selectedNode,omitempty" protobuf:"bytes,1,opt,name=selectedNode"`
|
||||
|
||||
// PotentialNodes lists nodes where the Pod might be able to run.
|
||||
//
|
||||
// The size of this field is limited to 128. This is large enough for
|
||||
// many clusters. Larger clusters may need more attempts to find a node
|
||||
// that suits all pending resources. This may get increased in the
|
||||
// future, but not reduced.
|
||||
//
|
||||
// +listType=set
|
||||
// +optional
|
||||
PotentialNodes []string `json:"potentialNodes,omitempty" protobuf:"bytes,2,opt,name=potentialNodes"`
|
||||
}
|
||||
|
||||
// PodSchedulingStatus describes where resources for the Pod can be allocated.
|
||||
type PodSchedulingStatus struct {
|
||||
// ResourceClaims describes resource availability for each
|
||||
// pod.spec.resourceClaim entry where the corresponding ResourceClaim
|
||||
// uses "WaitForFirstConsumer" allocation mode.
|
||||
//
|
||||
// +listType=map
|
||||
// +listMapKey=name
|
||||
// +optional
|
||||
ResourceClaims []ResourceClaimSchedulingStatus `json:"resourceClaims,omitempty" protobuf:"bytes,1,opt,name=resourceClaims"`
|
||||
|
||||
// If there ever is a need to support other kinds of resources
|
||||
// than ResourceClaim, then new fields could get added here
|
||||
// for those other resources.
|
||||
}
|
||||
|
||||
// ResourceClaimSchedulingStatus contains information about one particular
|
||||
// ResourceClaim with "WaitForFirstConsumer" allocation mode.
|
||||
type ResourceClaimSchedulingStatus struct {
|
||||
// Name matches the pod.spec.resourceClaims[*].Name field.
|
||||
// +optional
|
||||
Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
|
||||
|
||||
// UnsuitableNodes lists nodes that the ResourceClaim cannot be
|
||||
// allocated for.
|
||||
//
|
||||
// The size of this field is limited to 128, the same as for
|
||||
// PodSchedulingSpec.PotentialNodes. This may get increased in the
|
||||
// future, but not reduced.
|
||||
//
|
||||
// +listType=set
|
||||
// +optional
|
||||
UnsuitableNodes []string `json:"unsuitableNodes,omitempty" protobuf:"bytes,2,opt,name=unsuitableNodes"`
|
||||
}
|
||||
|
||||
// PodSchedulingNodeListMaxSize defines the maximum number of entries in the
|
||||
// node lists that are stored in PodScheduling objects. This limit is part
|
||||
// of the API.
|
||||
const PodSchedulingNodeListMaxSize = 128
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.26
|
||||
|
||||
// PodSchedulingList is a collection of Pod scheduling objects.
|
||||
type PodSchedulingList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard list metadata
|
||||
// +optional
|
||||
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Items is the list of PodScheduling objects.
|
||||
Items []PodScheduling `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||
}
|
||||
|
||||
// +genclient
|
||||
// +genclient:nonNamespaced
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.26
|
||||
|
||||
// ResourceClass is used by administrators to influence how resources
|
||||
// are allocated.
|
||||
//
|
||||
// This is an alpha type and requires enabling the DynamicResourceAllocation
|
||||
// feature gate.
|
||||
type ResourceClass struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object metadata
|
||||
// +optional
|
||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// DriverName defines the name of the dynamic resource driver that is
|
||||
// used for allocation of a ResourceClaim that uses this class.
|
||||
//
|
||||
// Resource drivers have a unique name in forward domain order
|
||||
// (acme.example.com).
|
||||
DriverName string `json:"driverName" protobuf:"bytes,2,name=driverName"`
|
||||
|
||||
// ParametersRef references an arbitrary separate object that may hold
|
||||
// parameters that will be used by the driver when allocating a
|
||||
// resource that uses this class. A dynamic resource driver can
|
||||
// distinguish between parameters stored here and and those stored in
|
||||
// ResourceClaimSpec.
|
||||
// +optional
|
||||
ParametersRef *ResourceClassParametersReference `json:"parametersRef,omitempty" protobuf:"bytes,3,opt,name=parametersRef"`
|
||||
|
||||
// Only nodes matching the selector will be considered by the scheduler
|
||||
// when trying to find a Node that fits a Pod when that Pod uses
|
||||
// a ResourceClaim that has not been allocated yet.
|
||||
//
|
||||
// Setting this field is optional. If null, all nodes are candidates.
|
||||
// +optional
|
||||
SuitableNodes *v1.NodeSelector `json:"suitableNodes,omitempty" protobuf:"bytes,4,opt,name=suitableNodes"`
|
||||
}
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.26
|
||||
|
||||
// ResourceClassList is a collection of classes.
|
||||
type ResourceClassList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard list metadata
|
||||
// +optional
|
||||
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Items is the list of resource classes.
|
||||
Items []ResourceClass `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||
}
|
||||
|
||||
// ResourceClassParametersReference contains enough information to let you
|
||||
// locate the parameters for a ResourceClass.
|
||||
type ResourceClassParametersReference struct {
|
||||
// APIGroup is the group for the resource being referenced. It is
|
||||
// empty for the core API. This matches the group in the APIVersion
|
||||
// that is used when creating the resources.
|
||||
// +optional
|
||||
APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"`
|
||||
// Kind is the type of resource being referenced. This is the same
|
||||
// value as in the parameter object's metadata.
|
||||
Kind string `json:"kind" protobuf:"bytes,2,name=kind"`
|
||||
// Name is the name of resource being referenced.
|
||||
Name string `json:"name" protobuf:"bytes,3,name=name"`
|
||||
// Namespace that contains the referenced resource. Must be empty
|
||||
// for cluster-scoped resources and non-empty for namespaced
|
||||
// resources.
|
||||
// +optional
|
||||
Namespace string `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"`
|
||||
}
|
||||
|
||||
// ResourceClaimParametersReference contains enough information to let you
|
||||
// locate the parameters for a ResourceClaim. The object must be in the same
|
||||
// namespace as the ResourceClaim.
|
||||
type ResourceClaimParametersReference struct {
|
||||
// APIGroup is the group for the resource being referenced. It is
|
||||
// empty for the core API. This matches the group in the APIVersion
|
||||
// that is used when creating the resources.
|
||||
// +optional
|
||||
APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"`
|
||||
// Kind is the type of resource being referenced. This is the same
|
||||
// value as in the parameter object's metadata, for example "ConfigMap".
|
||||
Kind string `json:"kind" protobuf:"bytes,2,name=kind"`
|
||||
// Name is the name of resource being referenced.
|
||||
Name string `json:"name" protobuf:"bytes,3,name=name"`
|
||||
}
|
||||
|
||||
// ResourceClaimConsumerReference contains enough information to let you
|
||||
// locate the consumer of a ResourceClaim. The user must be a resource in the same
|
||||
// namespace as the ResourceClaim.
|
||||
type ResourceClaimConsumerReference struct {
|
||||
// APIGroup is the group for the resource being referenced. It is
|
||||
// empty for the core API. This matches the group in the APIVersion
|
||||
// that is used when creating the resources.
|
||||
// +optional
|
||||
APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"`
|
||||
// Resource is the type of resource being referenced, for example "pods".
|
||||
Resource string `json:"resource" protobuf:"bytes,3,name=resource"`
|
||||
// Name is the name of resource being referenced.
|
||||
Name string `json:"name" protobuf:"bytes,4,name=name"`
|
||||
// UID identifies exactly one incarnation of the resource.
|
||||
UID types.UID `json:"uid" protobuf:"bytes,5,name=uid"`
|
||||
}
|
||||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.26
|
||||
|
||||
// ResourceClaimTemplate is used to produce ResourceClaim objects.
|
||||
type ResourceClaimTemplate struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object metadata
|
||||
// +optional
|
||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Describes the ResourceClaim that is to be generated.
|
||||
//
|
||||
// This field is immutable. A ResourceClaim will get created by the
|
||||
// control plane for a Pod when needed and then not get updated
|
||||
// anymore.
|
||||
Spec ResourceClaimTemplateSpec `json:"spec" protobuf:"bytes,2,name=spec"`
|
||||
}
|
||||
|
||||
// ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
|
||||
type ResourceClaimTemplateSpec struct {
|
||||
// ObjectMeta may contain labels and annotations that will be copied into the PVC
|
||||
// when creating it. No other fields are allowed and will be rejected during
|
||||
// validation.
|
||||
// +optional
|
||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Spec for the ResourceClaim. The entire content is copied unchanged
|
||||
// into the ResourceClaim that gets created from this template. The
|
||||
// same fields as in a ResourceClaim are also valid here.
|
||||
Spec ResourceClaimSpec `json:"spec" protobuf:"bytes,2,name=spec"`
|
||||
}
|
||||
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.26
|
||||
|
||||
// ResourceClaimTemplateList is a collection of claim templates.
|
||||
type ResourceClaimTemplateList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard list metadata
|
||||
// +optional
|
||||
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Items is the list of resource claim templates.
|
||||
Items []ResourceClaimTemplate `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||
}
|
222
staging/src/k8s.io/api/resource/v1alpha1/types_swagger_doc_generated.go
generated
Normal file
222
staging/src/k8s.io/api/resource/v1alpha1/types_swagger_doc_generated.go
generated
Normal file
@@ -0,0 +1,222 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1alpha1
|
||||
|
||||
// This file contains a collection of methods that can be used from go-restful to
|
||||
// generate Swagger API documentation for its models. Please read this PR for more
|
||||
// information on the implementation: https://github.com/emicklei/go-restful/pull/215
|
||||
//
|
||||
// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
|
||||
// they are on one line! For multiple line or blocks that you want to ignore use ---.
|
||||
// Any context after a --- is ignored.
|
||||
//
|
||||
// Those methods can be generated by using hack/update-generated-swagger-docs.sh
|
||||
|
||||
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
||||
var map_AllocationResult = map[string]string{
|
||||
"": "AllocationResult contains attributed of an allocated resource.",
|
||||
"resourceHandle": "ResourceHandle contains arbitrary data returned by the driver after a successful allocation. This is opaque for Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced.",
|
||||
"availableOnNodes": "This field will get set by the resource driver after it has allocated the resource driver to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere.",
|
||||
"shareable": "Shareable determines whether the resource supports more than one consumer at a time.",
|
||||
}
|
||||
|
||||
func (AllocationResult) SwaggerDoc() map[string]string {
|
||||
return map_AllocationResult
|
||||
}
|
||||
|
||||
var map_PodScheduling = map[string]string{
|
||||
"": "PodScheduling objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
|
||||
"metadata": "Standard object metadata",
|
||||
"spec": "Spec describes where resources for the Pod are needed.",
|
||||
"status": "Status describes where resources for the Pod can be allocated.",
|
||||
}
|
||||
|
||||
func (PodScheduling) SwaggerDoc() map[string]string {
|
||||
return map_PodScheduling
|
||||
}
|
||||
|
||||
var map_PodSchedulingList = map[string]string{
|
||||
"": "PodSchedulingList is a collection of Pod scheduling objects.",
|
||||
"metadata": "Standard list metadata",
|
||||
"items": "Items is the list of PodScheduling objects.",
|
||||
}
|
||||
|
||||
func (PodSchedulingList) SwaggerDoc() map[string]string {
|
||||
return map_PodSchedulingList
|
||||
}
|
||||
|
||||
var map_PodSchedulingSpec = map[string]string{
|
||||
"": "PodSchedulingSpec describes where resources for the Pod are needed.",
|
||||
"selectedNode": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted.",
|
||||
"potentialNodes": "PotentialNodes lists nodes where the Pod might be able to run.\n\nThe size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.",
|
||||
}
|
||||
|
||||
func (PodSchedulingSpec) SwaggerDoc() map[string]string {
|
||||
return map_PodSchedulingSpec
|
||||
}
|
||||
|
||||
var map_PodSchedulingStatus = map[string]string{
|
||||
"": "PodSchedulingStatus describes where resources for the Pod can be allocated.",
|
||||
"resourceClaims": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.",
|
||||
}
|
||||
|
||||
func (PodSchedulingStatus) SwaggerDoc() map[string]string {
|
||||
return map_PodSchedulingStatus
|
||||
}
|
||||
|
||||
var map_ResourceClaim = map[string]string{
|
||||
"": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
|
||||
"metadata": "Standard object metadata",
|
||||
"spec": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim.",
|
||||
"status": "Status describes whether the resource is available and with which attributes.",
|
||||
}
|
||||
|
||||
func (ResourceClaim) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaim
|
||||
}
|
||||
|
||||
var map_ResourceClaimConsumerReference = map[string]string{
|
||||
"": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.",
|
||||
"apiGroup": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
|
||||
"resource": "Resource is the type of resource being referenced, for example \"pods\".",
|
||||
"name": "Name is the name of resource being referenced.",
|
||||
"uid": "UID identifies exactly one incarnation of the resource.",
|
||||
}
|
||||
|
||||
func (ResourceClaimConsumerReference) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimConsumerReference
|
||||
}
|
||||
|
||||
var map_ResourceClaimList = map[string]string{
|
||||
"": "ResourceClaimList is a collection of claims.",
|
||||
"metadata": "Standard list metadata",
|
||||
"items": "Items is the list of resource claims.",
|
||||
}
|
||||
|
||||
func (ResourceClaimList) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimList
|
||||
}
|
||||
|
||||
var map_ResourceClaimParametersReference = map[string]string{
|
||||
"": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.",
|
||||
"apiGroup": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
|
||||
"kind": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\".",
|
||||
"name": "Name is the name of resource being referenced.",
|
||||
}
|
||||
|
||||
func (ResourceClaimParametersReference) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimParametersReference
|
||||
}
|
||||
|
||||
var map_ResourceClaimSchedulingStatus = map[string]string{
|
||||
"": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.",
|
||||
"name": "Name matches the pod.spec.resourceClaims[*].Name field.",
|
||||
"unsuitableNodes": "UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.\n\nThe size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.",
|
||||
}
|
||||
|
||||
func (ResourceClaimSchedulingStatus) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimSchedulingStatus
|
||||
}
|
||||
|
||||
var map_ResourceClaimSpec = map[string]string{
|
||||
"": "ResourceClaimSpec defines how a resource is to be allocated.",
|
||||
"resourceClassName": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.",
|
||||
"parametersRef": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim.",
|
||||
"allocationMode": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.",
|
||||
}
|
||||
|
||||
func (ResourceClaimSpec) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimSpec
|
||||
}
|
||||
|
||||
var map_ResourceClaimStatus = map[string]string{
|
||||
"": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.",
|
||||
"driverName": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.",
|
||||
"allocation": "Allocation is set by the resource driver once a resource has been allocated successfully. If this is not specified, the resource is not yet allocated.",
|
||||
"reservedFor": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.",
|
||||
"deallocationRequested": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor.",
|
||||
}
|
||||
|
||||
func (ResourceClaimStatus) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimStatus
|
||||
}
|
||||
|
||||
var map_ResourceClaimTemplate = map[string]string{
|
||||
"": "ResourceClaimTemplate is used to produce ResourceClaim objects.",
|
||||
"metadata": "Standard object metadata",
|
||||
"spec": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.",
|
||||
}
|
||||
|
||||
func (ResourceClaimTemplate) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimTemplate
|
||||
}
|
||||
|
||||
var map_ResourceClaimTemplateList = map[string]string{
|
||||
"": "ResourceClaimTemplateList is a collection of claim templates.",
|
||||
"metadata": "Standard list metadata",
|
||||
"items": "Items is the list of resource claim templates.",
|
||||
}
|
||||
|
||||
func (ResourceClaimTemplateList) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimTemplateList
|
||||
}
|
||||
|
||||
var map_ResourceClaimTemplateSpec = map[string]string{
|
||||
"": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.",
|
||||
"metadata": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.",
|
||||
"spec": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.",
|
||||
}
|
||||
|
||||
func (ResourceClaimTemplateSpec) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClaimTemplateSpec
|
||||
}
|
||||
|
||||
var map_ResourceClass = map[string]string{
|
||||
"": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
|
||||
"metadata": "Standard object metadata",
|
||||
"driverName": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com).",
|
||||
"parametersRef": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec.",
|
||||
"suitableNodes": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates.",
|
||||
}
|
||||
|
||||
func (ResourceClass) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClass
|
||||
}
|
||||
|
||||
var map_ResourceClassList = map[string]string{
|
||||
"": "ResourceClassList is a collection of classes.",
|
||||
"metadata": "Standard list metadata",
|
||||
"items": "Items is the list of resource classes.",
|
||||
}
|
||||
|
||||
func (ResourceClassList) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClassList
|
||||
}
|
||||
|
||||
var map_ResourceClassParametersReference = map[string]string{
|
||||
"": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.",
|
||||
"apiGroup": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
|
||||
"kind": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.",
|
||||
"name": "Name is the name of resource being referenced.",
|
||||
"namespace": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.",
|
||||
}
|
||||
|
||||
func (ResourceClassParametersReference) SwaggerDoc() map[string]string {
|
||||
return map_ResourceClassParametersReference
|
||||
}
|
||||
|
||||
// AUTO-GENERATED FUNCTIONS END HERE
|
477
staging/src/k8s.io/api/resource/v1alpha1/zz_generated.deepcopy.go
generated
Normal file
477
staging/src/k8s.io/api/resource/v1alpha1/zz_generated.deepcopy.go
generated
Normal file
@@ -0,0 +1,477 @@
|
||||
//go:build !ignore_autogenerated
|
||||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by deepcopy-gen. DO NOT EDIT.
|
||||
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/api/core/v1"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AllocationResult) DeepCopyInto(out *AllocationResult) {
|
||||
*out = *in
|
||||
if in.AvailableOnNodes != nil {
|
||||
in, out := &in.AvailableOnNodes, &out.AvailableOnNodes
|
||||
*out = new(v1.NodeSelector)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResult.
|
||||
func (in *AllocationResult) DeepCopy() *AllocationResult {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(AllocationResult)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PodScheduling) DeepCopyInto(out *PodScheduling) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
in.Status.DeepCopyInto(&out.Status)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodScheduling.
|
||||
func (in *PodScheduling) DeepCopy() *PodScheduling {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(PodScheduling)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *PodScheduling) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PodSchedulingList) DeepCopyInto(out *PodSchedulingList) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||||
if in.Items != nil {
|
||||
in, out := &in.Items, &out.Items
|
||||
*out = make([]PodScheduling, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingList.
|
||||
func (in *PodSchedulingList) DeepCopy() *PodSchedulingList {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(PodSchedulingList)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *PodSchedulingList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PodSchedulingSpec) DeepCopyInto(out *PodSchedulingSpec) {
|
||||
*out = *in
|
||||
if in.PotentialNodes != nil {
|
||||
in, out := &in.PotentialNodes, &out.PotentialNodes
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingSpec.
|
||||
func (in *PodSchedulingSpec) DeepCopy() *PodSchedulingSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(PodSchedulingSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PodSchedulingStatus) DeepCopyInto(out *PodSchedulingStatus) {
|
||||
*out = *in
|
||||
if in.ResourceClaims != nil {
|
||||
in, out := &in.ResourceClaims, &out.ResourceClaims
|
||||
*out = make([]ResourceClaimSchedulingStatus, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingStatus.
|
||||
func (in *PodSchedulingStatus) DeepCopy() *PodSchedulingStatus {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(PodSchedulingStatus)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaim) DeepCopyInto(out *ResourceClaim) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
in.Status.DeepCopyInto(&out.Status)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaim.
|
||||
func (in *ResourceClaim) DeepCopy() *ResourceClaim {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaim)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ResourceClaim) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimConsumerReference) DeepCopyInto(out *ResourceClaimConsumerReference) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimConsumerReference.
|
||||
func (in *ResourceClaimConsumerReference) DeepCopy() *ResourceClaimConsumerReference {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimConsumerReference)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimList) DeepCopyInto(out *ResourceClaimList) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||||
if in.Items != nil {
|
||||
in, out := &in.Items, &out.Items
|
||||
*out = make([]ResourceClaim, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimList.
|
||||
func (in *ResourceClaimList) DeepCopy() *ResourceClaimList {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimList)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ResourceClaimList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimParametersReference) DeepCopyInto(out *ResourceClaimParametersReference) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersReference.
|
||||
func (in *ResourceClaimParametersReference) DeepCopy() *ResourceClaimParametersReference {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimParametersReference)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimSchedulingStatus) DeepCopyInto(out *ResourceClaimSchedulingStatus) {
|
||||
*out = *in
|
||||
if in.UnsuitableNodes != nil {
|
||||
in, out := &in.UnsuitableNodes, &out.UnsuitableNodes
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSchedulingStatus.
|
||||
func (in *ResourceClaimSchedulingStatus) DeepCopy() *ResourceClaimSchedulingStatus {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimSchedulingStatus)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimSpec) DeepCopyInto(out *ResourceClaimSpec) {
|
||||
*out = *in
|
||||
if in.ParametersRef != nil {
|
||||
in, out := &in.ParametersRef, &out.ParametersRef
|
||||
*out = new(ResourceClaimParametersReference)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSpec.
|
||||
func (in *ResourceClaimSpec) DeepCopy() *ResourceClaimSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimStatus) DeepCopyInto(out *ResourceClaimStatus) {
|
||||
*out = *in
|
||||
if in.Allocation != nil {
|
||||
in, out := &in.Allocation, &out.Allocation
|
||||
*out = new(AllocationResult)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.ReservedFor != nil {
|
||||
in, out := &in.ReservedFor, &out.ReservedFor
|
||||
*out = make([]ResourceClaimConsumerReference, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimStatus.
|
||||
func (in *ResourceClaimStatus) DeepCopy() *ResourceClaimStatus {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimStatus)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimTemplate) DeepCopyInto(out *ResourceClaimTemplate) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplate.
|
||||
func (in *ResourceClaimTemplate) DeepCopy() *ResourceClaimTemplate {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimTemplate)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ResourceClaimTemplate) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimTemplateList) DeepCopyInto(out *ResourceClaimTemplateList) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||||
if in.Items != nil {
|
||||
in, out := &in.Items, &out.Items
|
||||
*out = make([]ResourceClaimTemplate, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateList.
|
||||
func (in *ResourceClaimTemplateList) DeepCopy() *ResourceClaimTemplateList {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimTemplateList)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ResourceClaimTemplateList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec) {
|
||||
*out = *in
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateSpec.
|
||||
func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClaimTemplateSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClass) DeepCopyInto(out *ResourceClass) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
if in.ParametersRef != nil {
|
||||
in, out := &in.ParametersRef, &out.ParametersRef
|
||||
*out = new(ResourceClassParametersReference)
|
||||
**out = **in
|
||||
}
|
||||
if in.SuitableNodes != nil {
|
||||
in, out := &in.SuitableNodes, &out.SuitableNodes
|
||||
*out = new(v1.NodeSelector)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClass.
|
||||
func (in *ResourceClass) DeepCopy() *ResourceClass {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClass)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ResourceClass) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClassList) DeepCopyInto(out *ResourceClassList) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||||
if in.Items != nil {
|
||||
in, out := &in.Items, &out.Items
|
||||
*out = make([]ResourceClass, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassList.
|
||||
func (in *ResourceClassList) DeepCopy() *ResourceClassList {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClassList)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ResourceClassList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ResourceClassParametersReference) DeepCopyInto(out *ResourceClassParametersReference) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersReference.
|
||||
func (in *ResourceClassParametersReference) DeepCopy() *ResourceClassParametersReference {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ResourceClassParametersReference)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
@@ -66,6 +66,7 @@ import (
|
||||
rbacv1 "k8s.io/api/rbac/v1"
|
||||
rbacv1alpha1 "k8s.io/api/rbac/v1alpha1"
|
||||
rbacv1beta1 "k8s.io/api/rbac/v1beta1"
|
||||
resourcev1alpha1 "k8s.io/api/resource/v1alpha1"
|
||||
schedulingv1 "k8s.io/api/scheduling/v1"
|
||||
schedulingv1alpha1 "k8s.io/api/scheduling/v1alpha1"
|
||||
schedulingv1beta1 "k8s.io/api/scheduling/v1beta1"
|
||||
@@ -128,6 +129,7 @@ var groups = []runtime.SchemeBuilder{
|
||||
rbacv1alpha1.SchemeBuilder,
|
||||
rbacv1beta1.SchemeBuilder,
|
||||
rbacv1.SchemeBuilder,
|
||||
resourcev1alpha1.SchemeBuilder,
|
||||
schedulingv1alpha1.SchemeBuilder,
|
||||
schedulingv1beta1.SchemeBuilder,
|
||||
schedulingv1.SchemeBuilder,
|
||||
|
@@ -452,7 +452,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -539,7 +544,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -811,7 +821,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1083,7 +1098,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1632,6 +1652,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -313,6 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -514,6 +516,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -717,6 +721,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -799,6 +805,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -967,6 +978,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -453,7 +453,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -540,7 +545,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -812,7 +822,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1084,7 +1099,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1633,6 +1653,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -321,6 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -522,6 +524,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -725,6 +729,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -807,6 +813,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -975,6 +986,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -454,7 +454,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -541,7 +546,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -813,7 +823,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1085,7 +1100,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1634,6 +1654,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@@ -313,6 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -514,6 +516,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -717,6 +721,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -799,6 +805,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -967,6 +978,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -453,7 +453,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -540,7 +545,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -812,7 +822,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1084,7 +1099,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1633,6 +1653,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -1704,7 +1733,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
|
Binary file not shown.
@@ -321,6 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -522,6 +524,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -725,6 +729,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -807,6 +813,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -975,6 +986,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -1187,6 +1200,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -453,7 +453,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -540,7 +545,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -812,7 +822,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1084,7 +1099,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1633,6 +1653,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -323,6 +323,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -524,6 +526,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -727,6 +731,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -809,6 +815,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -977,6 +988,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -453,7 +453,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -540,7 +545,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -812,7 +822,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1084,7 +1099,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1633,6 +1653,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -1704,7 +1733,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
|
Binary file not shown.
@@ -321,6 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -522,6 +524,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -725,6 +729,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -807,6 +813,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -975,6 +986,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -1187,6 +1200,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -452,7 +452,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -539,7 +544,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -811,7 +821,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1083,7 +1098,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1632,6 +1652,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -313,6 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -514,6 +516,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -717,6 +721,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -799,6 +805,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -967,6 +978,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -453,7 +453,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -540,7 +545,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -812,7 +822,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1084,7 +1099,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1633,6 +1653,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -321,6 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -522,6 +524,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -725,6 +729,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -807,6 +813,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -975,6 +986,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -454,7 +454,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -541,7 +546,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -813,7 +823,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1085,7 +1100,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1634,6 +1654,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@@ -313,6 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -514,6 +516,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -717,6 +721,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -799,6 +805,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -967,6 +978,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -453,7 +453,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -540,7 +545,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -812,7 +822,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1084,7 +1099,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1633,6 +1653,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -1704,7 +1733,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
|
Binary file not shown.
@@ -321,6 +321,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -522,6 +524,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -725,6 +729,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -807,6 +813,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -975,6 +986,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -1187,6 +1200,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -526,7 +526,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -613,7 +618,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -885,7 +895,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1157,7 +1172,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1706,6 +1726,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -365,6 +365,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -566,6 +568,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -769,6 +773,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -851,6 +857,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -1019,6 +1030,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -477,7 +477,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -564,7 +569,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -836,7 +846,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1108,7 +1123,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1657,6 +1677,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
BIN
staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.pb
vendored
BIN
staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.pb
vendored
Binary file not shown.
@@ -329,6 +329,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -530,6 +532,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -733,6 +737,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -815,6 +821,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -983,6 +994,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -526,7 +526,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -613,7 +618,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -885,7 +895,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1157,7 +1172,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1706,6 +1726,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -365,6 +365,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -566,6 +568,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -769,6 +773,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -851,6 +857,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -1019,6 +1030,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -520,7 +520,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -607,7 +612,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -879,7 +889,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1151,7 +1166,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1700,6 +1720,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -362,6 +362,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -563,6 +565,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -766,6 +770,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -848,6 +854,11 @@ template:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -1016,6 +1027,8 @@ template:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -67,7 +67,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
|
Binary file not shown.
@@ -45,6 +45,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -394,7 +394,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -481,7 +486,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -753,7 +763,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1025,7 +1040,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1574,6 +1594,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
|
BIN
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb
vendored
BIN
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb
vendored
Binary file not shown.
@@ -269,6 +269,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -470,6 +472,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -673,6 +677,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -755,6 +761,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -923,6 +934,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -437,7 +437,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -524,7 +529,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -796,7 +806,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1068,7 +1083,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1617,6 +1637,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@@ -302,6 +302,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -503,6 +505,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -706,6 +710,8 @@ template:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -788,6 +794,11 @@ template:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -956,6 +967,8 @@ template:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -443,7 +443,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -530,7 +535,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -802,7 +812,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1074,7 +1089,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1623,6 +1643,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@@ -307,6 +307,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -508,6 +510,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -711,6 +715,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -793,6 +799,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -961,6 +972,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -452,7 +452,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -539,7 +544,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -811,7 +821,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1083,7 +1098,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1632,6 +1652,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -313,6 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -514,6 +516,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -717,6 +721,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -799,6 +805,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -967,6 +978,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -453,7 +453,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -540,7 +545,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -812,7 +822,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1084,7 +1099,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1633,6 +1653,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Binary file not shown.
@@ -323,6 +323,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -524,6 +526,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -727,6 +731,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -809,6 +815,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -977,6 +988,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
@@ -454,7 +454,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeName": "volumeNameValue",
|
||||
"storageClassName": "storageClassNameValue",
|
||||
@@ -541,7 +546,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -813,7 +823,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1085,7 +1100,12 @@
|
||||
},
|
||||
"requests": {
|
||||
"requestsKey": "0"
|
||||
}
|
||||
},
|
||||
"claims": [
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
@@ -1634,6 +1654,15 @@
|
||||
{
|
||||
"name": "nameValue"
|
||||
}
|
||||
],
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@@ -313,6 +313,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -514,6 +516,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -717,6 +721,8 @@ spec:
|
||||
terminationGracePeriodSeconds: 7
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
@@ -799,6 +805,11 @@ spec:
|
||||
priorityClassName: priorityClassNameValue
|
||||
readinessGates:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
@@ -967,6 +978,8 @@ spec:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
resources:
|
||||
claims:
|
||||
- name: nameValue
|
||||
limits:
|
||||
limitsKey: "0"
|
||||
requests:
|
||||
|
62
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.PodScheduling.json
vendored
Normal file
62
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.PodScheduling.json
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"kind": "PodScheduling",
|
||||
"apiVersion": "resource.k8s.io/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "nameValue",
|
||||
"generateName": "generateNameValue",
|
||||
"namespace": "namespaceValue",
|
||||
"selfLink": "selfLinkValue",
|
||||
"uid": "uidValue",
|
||||
"resourceVersion": "resourceVersionValue",
|
||||
"generation": 7,
|
||||
"creationTimestamp": "2008-01-01T01:01:01Z",
|
||||
"deletionTimestamp": "2009-01-01T01:01:01Z",
|
||||
"deletionGracePeriodSeconds": 10,
|
||||
"labels": {
|
||||
"labelsKey": "labelsValue"
|
||||
},
|
||||
"annotations": {
|
||||
"annotationsKey": "annotationsValue"
|
||||
},
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apiVersionValue",
|
||||
"kind": "kindValue",
|
||||
"name": "nameValue",
|
||||
"uid": "uidValue",
|
||||
"controller": true,
|
||||
"blockOwnerDeletion": true
|
||||
}
|
||||
],
|
||||
"finalizers": [
|
||||
"finalizersValue"
|
||||
],
|
||||
"managedFields": [
|
||||
{
|
||||
"manager": "managerValue",
|
||||
"operation": "operationValue",
|
||||
"apiVersion": "apiVersionValue",
|
||||
"time": "2004-01-01T01:01:01Z",
|
||||
"fieldsType": "fieldsTypeValue",
|
||||
"fieldsV1": {},
|
||||
"subresource": "subresourceValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"selectedNode": "selectedNodeValue",
|
||||
"potentialNodes": [
|
||||
"potentialNodesValue"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"unsuitableNodes": [
|
||||
"unsuitableNodesValue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.PodScheduling.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.PodScheduling.pb
vendored
Normal file
Binary file not shown.
43
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.PodScheduling.yaml
vendored
Normal file
43
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.PodScheduling.yaml
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
apiVersion: resource.k8s.io/v1alpha1
|
||||
kind: PodScheduling
|
||||
metadata:
|
||||
annotations:
|
||||
annotationsKey: annotationsValue
|
||||
creationTimestamp: "2008-01-01T01:01:01Z"
|
||||
deletionGracePeriodSeconds: 10
|
||||
deletionTimestamp: "2009-01-01T01:01:01Z"
|
||||
finalizers:
|
||||
- finalizersValue
|
||||
generateName: generateNameValue
|
||||
generation: 7
|
||||
labels:
|
||||
labelsKey: labelsValue
|
||||
managedFields:
|
||||
- apiVersion: apiVersionValue
|
||||
fieldsType: fieldsTypeValue
|
||||
fieldsV1: {}
|
||||
manager: managerValue
|
||||
operation: operationValue
|
||||
subresource: subresourceValue
|
||||
time: "2004-01-01T01:01:01Z"
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
ownerReferences:
|
||||
- apiVersion: apiVersionValue
|
||||
blockOwnerDeletion: true
|
||||
controller: true
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
uid: uidValue
|
||||
resourceVersion: resourceVersionValue
|
||||
selfLink: selfLinkValue
|
||||
uid: uidValue
|
||||
spec:
|
||||
potentialNodes:
|
||||
- potentialNodesValue
|
||||
selectedNode: selectedNodeValue
|
||||
status:
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
unsuitableNodes:
|
||||
- unsuitableNodesValue
|
95
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaim.json
vendored
Normal file
95
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaim.json
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"kind": "ResourceClaim",
|
||||
"apiVersion": "resource.k8s.io/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "nameValue",
|
||||
"generateName": "generateNameValue",
|
||||
"namespace": "namespaceValue",
|
||||
"selfLink": "selfLinkValue",
|
||||
"uid": "uidValue",
|
||||
"resourceVersion": "resourceVersionValue",
|
||||
"generation": 7,
|
||||
"creationTimestamp": "2008-01-01T01:01:01Z",
|
||||
"deletionTimestamp": "2009-01-01T01:01:01Z",
|
||||
"deletionGracePeriodSeconds": 10,
|
||||
"labels": {
|
||||
"labelsKey": "labelsValue"
|
||||
},
|
||||
"annotations": {
|
||||
"annotationsKey": "annotationsValue"
|
||||
},
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apiVersionValue",
|
||||
"kind": "kindValue",
|
||||
"name": "nameValue",
|
||||
"uid": "uidValue",
|
||||
"controller": true,
|
||||
"blockOwnerDeletion": true
|
||||
}
|
||||
],
|
||||
"finalizers": [
|
||||
"finalizersValue"
|
||||
],
|
||||
"managedFields": [
|
||||
{
|
||||
"manager": "managerValue",
|
||||
"operation": "operationValue",
|
||||
"apiVersion": "apiVersionValue",
|
||||
"time": "2004-01-01T01:01:01Z",
|
||||
"fieldsType": "fieldsTypeValue",
|
||||
"fieldsV1": {},
|
||||
"subresource": "subresourceValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"resourceClassName": "resourceClassNameValue",
|
||||
"parametersRef": {
|
||||
"apiGroup": "apiGroupValue",
|
||||
"kind": "kindValue",
|
||||
"name": "nameValue"
|
||||
},
|
||||
"allocationMode": "allocationModeValue"
|
||||
},
|
||||
"status": {
|
||||
"driverName": "driverNameValue",
|
||||
"allocation": {
|
||||
"resourceHandle": "resourceHandleValue",
|
||||
"availableOnNodes": {
|
||||
"nodeSelectorTerms": [
|
||||
{
|
||||
"matchExpressions": [
|
||||
{
|
||||
"key": "keyValue",
|
||||
"operator": "operatorValue",
|
||||
"values": [
|
||||
"valuesValue"
|
||||
]
|
||||
}
|
||||
],
|
||||
"matchFields": [
|
||||
{
|
||||
"key": "keyValue",
|
||||
"operator": "operatorValue",
|
||||
"values": [
|
||||
"valuesValue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"shareable": true
|
||||
},
|
||||
"reservedFor": [
|
||||
{
|
||||
"apiGroup": "apiGroupValue",
|
||||
"resource": "resourceValue",
|
||||
"name": "nameValue",
|
||||
"uid": "uidValue"
|
||||
}
|
||||
],
|
||||
"deallocationRequested": true
|
||||
}
|
||||
}
|
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaim.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaim.pb
vendored
Normal file
Binary file not shown.
64
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaim.yaml
vendored
Normal file
64
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaim.yaml
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
apiVersion: resource.k8s.io/v1alpha1
|
||||
kind: ResourceClaim
|
||||
metadata:
|
||||
annotations:
|
||||
annotationsKey: annotationsValue
|
||||
creationTimestamp: "2008-01-01T01:01:01Z"
|
||||
deletionGracePeriodSeconds: 10
|
||||
deletionTimestamp: "2009-01-01T01:01:01Z"
|
||||
finalizers:
|
||||
- finalizersValue
|
||||
generateName: generateNameValue
|
||||
generation: 7
|
||||
labels:
|
||||
labelsKey: labelsValue
|
||||
managedFields:
|
||||
- apiVersion: apiVersionValue
|
||||
fieldsType: fieldsTypeValue
|
||||
fieldsV1: {}
|
||||
manager: managerValue
|
||||
operation: operationValue
|
||||
subresource: subresourceValue
|
||||
time: "2004-01-01T01:01:01Z"
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
ownerReferences:
|
||||
- apiVersion: apiVersionValue
|
||||
blockOwnerDeletion: true
|
||||
controller: true
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
uid: uidValue
|
||||
resourceVersion: resourceVersionValue
|
||||
selfLink: selfLinkValue
|
||||
uid: uidValue
|
||||
spec:
|
||||
allocationMode: allocationModeValue
|
||||
parametersRef:
|
||||
apiGroup: apiGroupValue
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
resourceClassName: resourceClassNameValue
|
||||
status:
|
||||
allocation:
|
||||
availableOnNodes:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: keyValue
|
||||
operator: operatorValue
|
||||
values:
|
||||
- valuesValue
|
||||
matchFields:
|
||||
- key: keyValue
|
||||
operator: operatorValue
|
||||
values:
|
||||
- valuesValue
|
||||
resourceHandle: resourceHandleValue
|
||||
shareable: true
|
||||
deallocationRequested: true
|
||||
driverName: driverNameValue
|
||||
reservedFor:
|
||||
- apiGroup: apiGroupValue
|
||||
name: nameValue
|
||||
resource: resourceValue
|
||||
uid: uidValue
|
99
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaimTemplate.json
vendored
Normal file
99
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaimTemplate.json
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"kind": "ResourceClaimTemplate",
|
||||
"apiVersion": "resource.k8s.io/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "nameValue",
|
||||
"generateName": "generateNameValue",
|
||||
"namespace": "namespaceValue",
|
||||
"selfLink": "selfLinkValue",
|
||||
"uid": "uidValue",
|
||||
"resourceVersion": "resourceVersionValue",
|
||||
"generation": 7,
|
||||
"creationTimestamp": "2008-01-01T01:01:01Z",
|
||||
"deletionTimestamp": "2009-01-01T01:01:01Z",
|
||||
"deletionGracePeriodSeconds": 10,
|
||||
"labels": {
|
||||
"labelsKey": "labelsValue"
|
||||
},
|
||||
"annotations": {
|
||||
"annotationsKey": "annotationsValue"
|
||||
},
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apiVersionValue",
|
||||
"kind": "kindValue",
|
||||
"name": "nameValue",
|
||||
"uid": "uidValue",
|
||||
"controller": true,
|
||||
"blockOwnerDeletion": true
|
||||
}
|
||||
],
|
||||
"finalizers": [
|
||||
"finalizersValue"
|
||||
],
|
||||
"managedFields": [
|
||||
{
|
||||
"manager": "managerValue",
|
||||
"operation": "operationValue",
|
||||
"apiVersion": "apiVersionValue",
|
||||
"time": "2004-01-01T01:01:01Z",
|
||||
"fieldsType": "fieldsTypeValue",
|
||||
"fieldsV1": {},
|
||||
"subresource": "subresourceValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"metadata": {
|
||||
"name": "nameValue",
|
||||
"generateName": "generateNameValue",
|
||||
"namespace": "namespaceValue",
|
||||
"selfLink": "selfLinkValue",
|
||||
"uid": "uidValue",
|
||||
"resourceVersion": "resourceVersionValue",
|
||||
"generation": 7,
|
||||
"creationTimestamp": "2008-01-01T01:01:01Z",
|
||||
"deletionTimestamp": "2009-01-01T01:01:01Z",
|
||||
"deletionGracePeriodSeconds": 10,
|
||||
"labels": {
|
||||
"labelsKey": "labelsValue"
|
||||
},
|
||||
"annotations": {
|
||||
"annotationsKey": "annotationsValue"
|
||||
},
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apiVersionValue",
|
||||
"kind": "kindValue",
|
||||
"name": "nameValue",
|
||||
"uid": "uidValue",
|
||||
"controller": true,
|
||||
"blockOwnerDeletion": true
|
||||
}
|
||||
],
|
||||
"finalizers": [
|
||||
"finalizersValue"
|
||||
],
|
||||
"managedFields": [
|
||||
{
|
||||
"manager": "managerValue",
|
||||
"operation": "operationValue",
|
||||
"apiVersion": "apiVersionValue",
|
||||
"time": "2004-01-01T01:01:01Z",
|
||||
"fieldsType": "fieldsTypeValue",
|
||||
"fieldsV1": {},
|
||||
"subresource": "subresourceValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"resourceClassName": "resourceClassNameValue",
|
||||
"parametersRef": {
|
||||
"apiGroup": "apiGroupValue",
|
||||
"kind": "kindValue",
|
||||
"name": "nameValue"
|
||||
},
|
||||
"allocationMode": "allocationModeValue"
|
||||
}
|
||||
}
|
||||
}
|
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaimTemplate.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaimTemplate.pb
vendored
Normal file
Binary file not shown.
74
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaimTemplate.yaml
vendored
Normal file
74
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClaimTemplate.yaml
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
apiVersion: resource.k8s.io/v1alpha1
|
||||
kind: ResourceClaimTemplate
|
||||
metadata:
|
||||
annotations:
|
||||
annotationsKey: annotationsValue
|
||||
creationTimestamp: "2008-01-01T01:01:01Z"
|
||||
deletionGracePeriodSeconds: 10
|
||||
deletionTimestamp: "2009-01-01T01:01:01Z"
|
||||
finalizers:
|
||||
- finalizersValue
|
||||
generateName: generateNameValue
|
||||
generation: 7
|
||||
labels:
|
||||
labelsKey: labelsValue
|
||||
managedFields:
|
||||
- apiVersion: apiVersionValue
|
||||
fieldsType: fieldsTypeValue
|
||||
fieldsV1: {}
|
||||
manager: managerValue
|
||||
operation: operationValue
|
||||
subresource: subresourceValue
|
||||
time: "2004-01-01T01:01:01Z"
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
ownerReferences:
|
||||
- apiVersion: apiVersionValue
|
||||
blockOwnerDeletion: true
|
||||
controller: true
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
uid: uidValue
|
||||
resourceVersion: resourceVersionValue
|
||||
selfLink: selfLinkValue
|
||||
uid: uidValue
|
||||
spec:
|
||||
metadata:
|
||||
annotations:
|
||||
annotationsKey: annotationsValue
|
||||
creationTimestamp: "2008-01-01T01:01:01Z"
|
||||
deletionGracePeriodSeconds: 10
|
||||
deletionTimestamp: "2009-01-01T01:01:01Z"
|
||||
finalizers:
|
||||
- finalizersValue
|
||||
generateName: generateNameValue
|
||||
generation: 7
|
||||
labels:
|
||||
labelsKey: labelsValue
|
||||
managedFields:
|
||||
- apiVersion: apiVersionValue
|
||||
fieldsType: fieldsTypeValue
|
||||
fieldsV1: {}
|
||||
manager: managerValue
|
||||
operation: operationValue
|
||||
subresource: subresourceValue
|
||||
time: "2004-01-01T01:01:01Z"
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
ownerReferences:
|
||||
- apiVersion: apiVersionValue
|
||||
blockOwnerDeletion: true
|
||||
controller: true
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
uid: uidValue
|
||||
resourceVersion: resourceVersionValue
|
||||
selfLink: selfLinkValue
|
||||
uid: uidValue
|
||||
spec:
|
||||
allocationMode: allocationModeValue
|
||||
parametersRef:
|
||||
apiGroup: apiGroupValue
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
resourceClassName: resourceClassNameValue
|
77
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClass.json
vendored
Normal file
77
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClass.json
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"kind": "ResourceClass",
|
||||
"apiVersion": "resource.k8s.io/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "nameValue",
|
||||
"generateName": "generateNameValue",
|
||||
"namespace": "namespaceValue",
|
||||
"selfLink": "selfLinkValue",
|
||||
"uid": "uidValue",
|
||||
"resourceVersion": "resourceVersionValue",
|
||||
"generation": 7,
|
||||
"creationTimestamp": "2008-01-01T01:01:01Z",
|
||||
"deletionTimestamp": "2009-01-01T01:01:01Z",
|
||||
"deletionGracePeriodSeconds": 10,
|
||||
"labels": {
|
||||
"labelsKey": "labelsValue"
|
||||
},
|
||||
"annotations": {
|
||||
"annotationsKey": "annotationsValue"
|
||||
},
|
||||
"ownerReferences": [
|
||||
{
|
||||
"apiVersion": "apiVersionValue",
|
||||
"kind": "kindValue",
|
||||
"name": "nameValue",
|
||||
"uid": "uidValue",
|
||||
"controller": true,
|
||||
"blockOwnerDeletion": true
|
||||
}
|
||||
],
|
||||
"finalizers": [
|
||||
"finalizersValue"
|
||||
],
|
||||
"managedFields": [
|
||||
{
|
||||
"manager": "managerValue",
|
||||
"operation": "operationValue",
|
||||
"apiVersion": "apiVersionValue",
|
||||
"time": "2004-01-01T01:01:01Z",
|
||||
"fieldsType": "fieldsTypeValue",
|
||||
"fieldsV1": {},
|
||||
"subresource": "subresourceValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
"driverName": "driverNameValue",
|
||||
"parametersRef": {
|
||||
"apiGroup": "apiGroupValue",
|
||||
"kind": "kindValue",
|
||||
"name": "nameValue",
|
||||
"namespace": "namespaceValue"
|
||||
},
|
||||
"suitableNodes": {
|
||||
"nodeSelectorTerms": [
|
||||
{
|
||||
"matchExpressions": [
|
||||
{
|
||||
"key": "keyValue",
|
||||
"operator": "operatorValue",
|
||||
"values": [
|
||||
"valuesValue"
|
||||
]
|
||||
}
|
||||
],
|
||||
"matchFields": [
|
||||
{
|
||||
"key": "keyValue",
|
||||
"operator": "operatorValue",
|
||||
"values": [
|
||||
"valuesValue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClass.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClass.pb
vendored
Normal file
Binary file not shown.
52
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClass.yaml
vendored
Normal file
52
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.ResourceClass.yaml
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
apiVersion: resource.k8s.io/v1alpha1
|
||||
driverName: driverNameValue
|
||||
kind: ResourceClass
|
||||
metadata:
|
||||
annotations:
|
||||
annotationsKey: annotationsValue
|
||||
creationTimestamp: "2008-01-01T01:01:01Z"
|
||||
deletionGracePeriodSeconds: 10
|
||||
deletionTimestamp: "2009-01-01T01:01:01Z"
|
||||
finalizers:
|
||||
- finalizersValue
|
||||
generateName: generateNameValue
|
||||
generation: 7
|
||||
labels:
|
||||
labelsKey: labelsValue
|
||||
managedFields:
|
||||
- apiVersion: apiVersionValue
|
||||
fieldsType: fieldsTypeValue
|
||||
fieldsV1: {}
|
||||
manager: managerValue
|
||||
operation: operationValue
|
||||
subresource: subresourceValue
|
||||
time: "2004-01-01T01:01:01Z"
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
ownerReferences:
|
||||
- apiVersion: apiVersionValue
|
||||
blockOwnerDeletion: true
|
||||
controller: true
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
uid: uidValue
|
||||
resourceVersion: resourceVersionValue
|
||||
selfLink: selfLinkValue
|
||||
uid: uidValue
|
||||
parametersRef:
|
||||
apiGroup: apiGroupValue
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
suitableNodes:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: keyValue
|
||||
operator: operatorValue
|
||||
values:
|
||||
- valuesValue
|
||||
matchFields:
|
||||
- key: keyValue
|
||||
operator: operatorValue
|
||||
values:
|
||||
- valuesValue
|
28
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.Status.json
vendored
Normal file
28
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.Status.json
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"kind": "Status",
|
||||
"apiVersion": "resource.k8s.io/v1alpha1",
|
||||
"metadata": {
|
||||
"selfLink": "selfLinkValue",
|
||||
"resourceVersion": "resourceVersionValue",
|
||||
"continue": "continueValue",
|
||||
"remainingItemCount": 4
|
||||
},
|
||||
"status": "statusValue",
|
||||
"message": "messageValue",
|
||||
"reason": "reasonValue",
|
||||
"details": {
|
||||
"name": "nameValue",
|
||||
"group": "groupValue",
|
||||
"kind": "kindValue",
|
||||
"uid": "uidValue",
|
||||
"causes": [
|
||||
{
|
||||
"reason": "reasonValue",
|
||||
"message": "messageValue",
|
||||
"field": "fieldValue"
|
||||
}
|
||||
],
|
||||
"retryAfterSeconds": 5
|
||||
},
|
||||
"code": 6
|
||||
}
|
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.Status.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.Status.pb
vendored
Normal file
Binary file not shown.
21
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.Status.yaml
vendored
Normal file
21
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha1.Status.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: resource.k8s.io/v1alpha1
|
||||
code: 6
|
||||
details:
|
||||
causes:
|
||||
- field: fieldValue
|
||||
message: messageValue
|
||||
reason: reasonValue
|
||||
group: groupValue
|
||||
kind: kindValue
|
||||
name: nameValue
|
||||
retryAfterSeconds: 5
|
||||
uid: uidValue
|
||||
kind: Status
|
||||
message: messageValue
|
||||
metadata:
|
||||
continue: continueValue
|
||||
remainingItemCount: 4
|
||||
resourceVersion: resourceVersionValue
|
||||
selfLink: selfLinkValue
|
||||
reason: reasonValue
|
||||
status: statusValue
|
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||
|
||||
package v1
|
||||
|
||||
// ClaimSourceApplyConfiguration represents an declarative configuration of the ClaimSource type for use
|
||||
// with apply.
|
||||
type ClaimSourceApplyConfiguration struct {
|
||||
ResourceClaimName *string `json:"resourceClaimName,omitempty"`
|
||||
ResourceClaimTemplateName *string `json:"resourceClaimTemplateName,omitempty"`
|
||||
}
|
||||
|
||||
// ClaimSourceApplyConfiguration constructs an declarative configuration of the ClaimSource type for use with
|
||||
// apply.
|
||||
func ClaimSource() *ClaimSourceApplyConfiguration {
|
||||
return &ClaimSourceApplyConfiguration{}
|
||||
}
|
||||
|
||||
// WithResourceClaimName sets the ResourceClaimName field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the ResourceClaimName field is set to the value of the last call.
|
||||
func (b *ClaimSourceApplyConfiguration) WithResourceClaimName(value string) *ClaimSourceApplyConfiguration {
|
||||
b.ResourceClaimName = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithResourceClaimTemplateName sets the ResourceClaimTemplateName field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the ResourceClaimTemplateName field is set to the value of the last call.
|
||||
func (b *ClaimSourceApplyConfiguration) WithResourceClaimTemplateName(value string) *ClaimSourceApplyConfiguration {
|
||||
b.ResourceClaimTemplateName = &value
|
||||
return b
|
||||
}
|
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||
|
||||
package v1
|
||||
|
||||
// PodResourceClaimApplyConfiguration represents an declarative configuration of the PodResourceClaim type for use
|
||||
// with apply.
|
||||
type PodResourceClaimApplyConfiguration struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Source *ClaimSourceApplyConfiguration `json:"source,omitempty"`
|
||||
}
|
||||
|
||||
// PodResourceClaimApplyConfiguration constructs an declarative configuration of the PodResourceClaim type for use with
|
||||
// apply.
|
||||
func PodResourceClaim() *PodResourceClaimApplyConfiguration {
|
||||
return &PodResourceClaimApplyConfiguration{}
|
||||
}
|
||||
|
||||
// WithName sets the Name field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the Name field is set to the value of the last call.
|
||||
func (b *PodResourceClaimApplyConfiguration) WithName(value string) *PodResourceClaimApplyConfiguration {
|
||||
b.Name = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithSource sets the Source field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the Source field is set to the value of the last call.
|
||||
func (b *PodResourceClaimApplyConfiguration) WithSource(value *ClaimSourceApplyConfiguration) *PodResourceClaimApplyConfiguration {
|
||||
b.Source = value
|
||||
return b
|
||||
}
|
@@ -63,6 +63,7 @@ type PodSpecApplyConfiguration struct {
|
||||
OS *PodOSApplyConfiguration `json:"os,omitempty"`
|
||||
HostUsers *bool `json:"hostUsers,omitempty"`
|
||||
SchedulingGates []PodSchedulingGateApplyConfiguration `json:"schedulingGates,omitempty"`
|
||||
ResourceClaims []PodResourceClaimApplyConfiguration `json:"resourceClaims,omitempty"`
|
||||
}
|
||||
|
||||
// PodSpecApplyConfiguration constructs an declarative configuration of the PodSpec type for use with
|
||||
@@ -430,3 +431,16 @@ func (b *PodSpecApplyConfiguration) WithSchedulingGates(values ...*PodScheduling
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
// WithResourceClaims adds the given value to the ResourceClaims field in the declarative configuration
|
||||
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
|
||||
// If called multiple times, values provided by each call will be appended to the ResourceClaims field.
|
||||
func (b *PodSpecApplyConfiguration) WithResourceClaims(values ...*PodResourceClaimApplyConfiguration) *PodSpecApplyConfiguration {
|
||||
for i := range values {
|
||||
if values[i] == nil {
|
||||
panic("nil value passed to WithResourceClaims")
|
||||
}
|
||||
b.ResourceClaims = append(b.ResourceClaims, *values[i])
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||
|
||||
package v1
|
||||
|
||||
// ResourceClaimApplyConfiguration represents an declarative configuration of the ResourceClaim type for use
|
||||
// with apply.
|
||||
type ResourceClaimApplyConfiguration struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
// ResourceClaimApplyConfiguration constructs an declarative configuration of the ResourceClaim type for use with
|
||||
// apply.
|
||||
func ResourceClaim() *ResourceClaimApplyConfiguration {
|
||||
return &ResourceClaimApplyConfiguration{}
|
||||
}
|
||||
|
||||
// WithName sets the Name field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the Name field is set to the value of the last call.
|
||||
func (b *ResourceClaimApplyConfiguration) WithName(value string) *ResourceClaimApplyConfiguration {
|
||||
b.Name = &value
|
||||
return b
|
||||
}
|
@@ -25,8 +25,9 @@ import (
|
||||
// ResourceRequirementsApplyConfiguration represents an declarative configuration of the ResourceRequirements type for use
|
||||
// with apply.
|
||||
type ResourceRequirementsApplyConfiguration struct {
|
||||
Limits *v1.ResourceList `json:"limits,omitempty"`
|
||||
Requests *v1.ResourceList `json:"requests,omitempty"`
|
||||
Limits *v1.ResourceList `json:"limits,omitempty"`
|
||||
Requests *v1.ResourceList `json:"requests,omitempty"`
|
||||
Claims []ResourceClaimApplyConfiguration `json:"claims,omitempty"`
|
||||
}
|
||||
|
||||
// ResourceRequirementsApplyConfiguration constructs an declarative configuration of the ResourceRequirements type for use with
|
||||
@@ -50,3 +51,16 @@ func (b *ResourceRequirementsApplyConfiguration) WithRequests(value v1.ResourceL
|
||||
b.Requests = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithClaims adds the given value to the Claims field in the declarative configuration
|
||||
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
|
||||
// If called multiple times, values provided by each call will be appended to the Claims field.
|
||||
func (b *ResourceRequirementsApplyConfiguration) WithClaims(values ...*ResourceClaimApplyConfiguration) *ResourceRequirementsApplyConfiguration {
|
||||
for i := range values {
|
||||
if values[i] == nil {
|
||||
panic("nil value passed to WithClaims")
|
||||
}
|
||||
b.Claims = append(b.Claims, *values[i])
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
@@ -3916,6 +3916,15 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: io.k8s.api.core.v1.ClaimSource
|
||||
map:
|
||||
fields:
|
||||
- name: resourceClaimName
|
||||
type:
|
||||
scalar: string
|
||||
- name: resourceClaimTemplateName
|
||||
type:
|
||||
scalar: string
|
||||
- name: io.k8s.api.core.v1.ClientIPConfig
|
||||
map:
|
||||
fields:
|
||||
@@ -5884,6 +5893,17 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: io.k8s.api.core.v1.PodResourceClaim
|
||||
map:
|
||||
fields:
|
||||
- name: name
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: source
|
||||
type:
|
||||
namedType: io.k8s.api.core.v1.ClaimSource
|
||||
default: {}
|
||||
- name: io.k8s.api.core.v1.PodSchedulingGate
|
||||
map:
|
||||
fields:
|
||||
@@ -6038,6 +6058,14 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
elementType:
|
||||
namedType: io.k8s.api.core.v1.PodReadinessGate
|
||||
elementRelationship: atomic
|
||||
- name: resourceClaims
|
||||
type:
|
||||
list:
|
||||
elementType:
|
||||
namedType: io.k8s.api.core.v1.PodResourceClaim
|
||||
elementRelationship: associative
|
||||
keys:
|
||||
- name
|
||||
- name: restartPolicy
|
||||
type:
|
||||
scalar: string
|
||||
@@ -6443,6 +6471,13 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
type:
|
||||
scalar: numeric
|
||||
default: 0
|
||||
- name: io.k8s.api.core.v1.ResourceClaim
|
||||
map:
|
||||
fields:
|
||||
- name: name
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: io.k8s.api.core.v1.ResourceFieldSelector
|
||||
map:
|
||||
fields:
|
||||
@@ -6512,6 +6547,12 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: io.k8s.api.core.v1.ResourceRequirements
|
||||
map:
|
||||
fields:
|
||||
- name: claims
|
||||
type:
|
||||
list:
|
||||
elementType:
|
||||
namedType: io.k8s.api.core.v1.ResourceClaim
|
||||
elementRelationship: associative
|
||||
- name: limits
|
||||
type:
|
||||
map:
|
||||
@@ -11466,6 +11507,226 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: namespace
|
||||
type:
|
||||
scalar: string
|
||||
- name: io.k8s.api.resource.v1alpha1.AllocationResult
|
||||
map:
|
||||
fields:
|
||||
- name: availableOnNodes
|
||||
type:
|
||||
namedType: io.k8s.api.core.v1.NodeSelector
|
||||
- name: resourceHandle
|
||||
type:
|
||||
scalar: string
|
||||
- name: shareable
|
||||
type:
|
||||
scalar: boolean
|
||||
- name: io.k8s.api.resource.v1alpha1.PodScheduling
|
||||
map:
|
||||
fields:
|
||||
- name: apiVersion
|
||||
type:
|
||||
scalar: string
|
||||
- name: kind
|
||||
type:
|
||||
scalar: string
|
||||
- name: metadata
|
||||
type:
|
||||
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
|
||||
default: {}
|
||||
- name: spec
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.PodSchedulingSpec
|
||||
default: {}
|
||||
- name: status
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.PodSchedulingStatus
|
||||
default: {}
|
||||
- name: io.k8s.api.resource.v1alpha1.PodSchedulingSpec
|
||||
map:
|
||||
fields:
|
||||
- name: potentialNodes
|
||||
type:
|
||||
list:
|
||||
elementType:
|
||||
scalar: string
|
||||
elementRelationship: associative
|
||||
- name: selectedNode
|
||||
type:
|
||||
scalar: string
|
||||
- name: io.k8s.api.resource.v1alpha1.PodSchedulingStatus
|
||||
map:
|
||||
fields:
|
||||
- name: resourceClaims
|
||||
type:
|
||||
list:
|
||||
elementType:
|
||||
namedType: io.k8s.api.resource.v1alpha1.ResourceClaimSchedulingStatus
|
||||
elementRelationship: associative
|
||||
keys:
|
||||
- name
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClaim
|
||||
map:
|
||||
fields:
|
||||
- name: apiVersion
|
||||
type:
|
||||
scalar: string
|
||||
- name: kind
|
||||
type:
|
||||
scalar: string
|
||||
- name: metadata
|
||||
type:
|
||||
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
|
||||
default: {}
|
||||
- name: spec
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.ResourceClaimSpec
|
||||
default: {}
|
||||
- name: status
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.ResourceClaimStatus
|
||||
default: {}
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClaimConsumerReference
|
||||
map:
|
||||
fields:
|
||||
- name: apiGroup
|
||||
type:
|
||||
scalar: string
|
||||
- name: name
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: resource
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: uid
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClaimParametersReference
|
||||
map:
|
||||
fields:
|
||||
- name: apiGroup
|
||||
type:
|
||||
scalar: string
|
||||
- name: kind
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: name
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClaimSchedulingStatus
|
||||
map:
|
||||
fields:
|
||||
- name: name
|
||||
type:
|
||||
scalar: string
|
||||
- name: unsuitableNodes
|
||||
type:
|
||||
list:
|
||||
elementType:
|
||||
scalar: string
|
||||
elementRelationship: associative
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClaimSpec
|
||||
map:
|
||||
fields:
|
||||
- name: allocationMode
|
||||
type:
|
||||
scalar: string
|
||||
- name: parametersRef
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.ResourceClaimParametersReference
|
||||
- name: resourceClassName
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClaimStatus
|
||||
map:
|
||||
fields:
|
||||
- name: allocation
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.AllocationResult
|
||||
- name: deallocationRequested
|
||||
type:
|
||||
scalar: boolean
|
||||
- name: driverName
|
||||
type:
|
||||
scalar: string
|
||||
- name: reservedFor
|
||||
type:
|
||||
list:
|
||||
elementType:
|
||||
namedType: io.k8s.api.resource.v1alpha1.ResourceClaimConsumerReference
|
||||
elementRelationship: associative
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClaimTemplate
|
||||
map:
|
||||
fields:
|
||||
- name: apiVersion
|
||||
type:
|
||||
scalar: string
|
||||
- name: kind
|
||||
type:
|
||||
scalar: string
|
||||
- name: metadata
|
||||
type:
|
||||
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
|
||||
default: {}
|
||||
- name: spec
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.ResourceClaimTemplateSpec
|
||||
default: {}
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClaimTemplateSpec
|
||||
map:
|
||||
fields:
|
||||
- name: metadata
|
||||
type:
|
||||
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
|
||||
default: {}
|
||||
- name: spec
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.ResourceClaimSpec
|
||||
default: {}
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClass
|
||||
map:
|
||||
fields:
|
||||
- name: apiVersion
|
||||
type:
|
||||
scalar: string
|
||||
- name: driverName
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: kind
|
||||
type:
|
||||
scalar: string
|
||||
- name: metadata
|
||||
type:
|
||||
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
|
||||
default: {}
|
||||
- name: parametersRef
|
||||
type:
|
||||
namedType: io.k8s.api.resource.v1alpha1.ResourceClassParametersReference
|
||||
- name: suitableNodes
|
||||
type:
|
||||
namedType: io.k8s.api.core.v1.NodeSelector
|
||||
- name: io.k8s.api.resource.v1alpha1.ResourceClassParametersReference
|
||||
map:
|
||||
fields:
|
||||
- name: apiGroup
|
||||
type:
|
||||
scalar: string
|
||||
- name: kind
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: name
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: namespace
|
||||
type:
|
||||
scalar: string
|
||||
- name: io.k8s.api.scheduling.v1.PriorityClass
|
||||
map:
|
||||
fields:
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user