Skip to content

Commit

Permalink
fix job CRD metadata.annotations: Too long error
Browse files Browse the repository at this point in the history
Signed-off-by: Xuzheng Chang <[email protected]>
  • Loading branch information
Monokaix committed Nov 13, 2023
1 parent 58f87a5 commit 062b142
Showing 1 changed file with 0 additions and 177 deletions.
177 changes: 0 additions & 177 deletions installer/volcano-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6040,27 +6040,6 @@ spec:
as this pod.
type: string
resourceClaimTemplateName:
description: "ResourceClaimTemplateName is
the name of a ResourceClaimTemplate object
in the same namespace as this pod. \n 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). \n 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.
\n This field is immutable and no changes
will be made to the corresponding ResourceClaim
by the control plane after creating the
ResourceClaim."
type: string
type: object
required:
Expand Down Expand Up @@ -6092,14 +6071,6 @@ spec:
will be dispatched by default scheduler.
type: string
schedulingGates:
description: "SchedulingGates is an opaque list of values
that if specified will block scheduling the pod. If
schedulingGates is not empty, the pod will stay in
the SchedulingGated state and the scheduler will not
attempt to schedule the pod. \n SchedulingGates can
only be set at pod creation time, and be removed only
afterwards. \n This is a beta feature enabled by the
PodSchedulingReadiness feature gate."
items:
description: PodSchedulingGate is associated to a
Pod to guard its scheduling.
Expand Down Expand Up @@ -7292,15 +7263,6 @@ spec:
the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties:
claims:
description: "Claims lists the
names of resources, defined
in spec.resourceClaims, that
are used by this container.
\n This is an alpha field and
requires enabling the DynamicResourceAllocation
feature gate. \n This field
is immutable. It can only be
set for containers."
items:
description: ResourceClaim references
one entry in PodSpec.ResourceClaims.
Expand Down Expand Up @@ -8482,17 +8444,6 @@ spec:
type: string
type: array
dataSource:
description: 'dataSource field can be used to specify either:
* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
* An existing PVC (PersistentVolumeClaim) If the provisioner
or an external controller can support the specified data
source, it will create a new volume based on the contents
of the specified data source. When the AnyVolumeDataSource
feature gate is enabled, dataSource contents will be copied
to dataSourceRef, and dataSourceRef contents will be copied
to dataSource when dataSourceRef.namespace is not specified.
If the namespace is specified, then dataSourceRef will
not be copied to dataSource.'
properties:
apiGroup:
description: APIGroup is the group for the resource
Expand All @@ -8511,33 +8462,6 @@ spec:
- name
type: object
dataSourceRef:
description: 'dataSourceRef specifies the object from which
to populate the volume with data, if a non-empty volume
is desired. This may be any object from a non-empty API
group (non core object) or a PersistentVolumeClaim object.
When this field is specified, volume binding will only
succeed if the type of the specified object matches some
installed volume populator or dynamic provisioner. This
field will replace the functionality of the dataSource
field and as such if both fields are non-empty, they must
have the same value. For backwards compatibility, when
namespace isn''t specified in dataSourceRef, both fields
(dataSource and dataSourceRef) will be set to the same
value automatically if one of them is empty and the other
is non-empty. When namespace is specified in dataSourceRef,
dataSource isn''t set to the same value and must be empty.
There are three important differences between dataSource
and dataSourceRef: * While dataSource only allows two
specific types of objects, dataSourceRef allows any
non-core object, as well as PersistentVolumeClaim objects.
* While dataSource ignores disallowed values (dropping
them), dataSourceRef preserves all values, and generates
an error if a disallowed value is specified. * While
dataSource only allows local objects, dataSourceRef allows
objects in any namespaces. (Beta) Using this field requires
the AnyVolumeDataSource feature gate to be enabled. (Alpha)
Using the namespace field of dataSourceRef requires the
CrossNamespaceVolumeDataSource feature gate to be enabled.'
properties:
apiGroup:
description: APIGroup is the group for the resource
Expand All @@ -8552,26 +8476,12 @@ spec:
description: Name is the name of resource being referenced
type: string
namespace:
description: Namespace is the namespace of resource
being referenced Note that when a namespace is specified,
a gateway.networking.k8s.io/ReferenceGrant object
is required in the referent namespace to allow that
namespace's owner to accept the reference. See the
ReferenceGrant documentation for details. (Alpha)
This field requires the CrossNamespaceVolumeDataSource
feature gate to be enabled.
type: string
required:
- kind
- name
type: object
resources:
description: 'resources represents the minimum resources
the volume should have. If RecoverVolumeExpansionFailure
feature is enabled users are allowed to specify resource
requirements that are lower than previous value but must
still be higher than capacity recorded in the status field
of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties:
claims:
description: "Claims lists the names of resources, defined
Expand Down Expand Up @@ -8803,93 +8713,6 @@ status:
conditions: []
storedVersions: []
---
# Source: volcano/templates/bus_v1alpha1_command.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.6.0
creationTimestamp: null
name: commands.bus.volcano.sh
spec:
group: bus.volcano.sh
names:
kind: Command
listKind: CommandList
plural: commands
singular: command
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Command defines command structure.
properties:
action:
description: Action defines the action that will be took to the target
object.
type: string
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
message:
description: Human-readable message indicating details of this command.
type: string
metadata:
type: object
reason:
description: Unique, one-word, CamelCase reason for this command.
type: string
target:
description: TargetObject defines the target object of this command.
properties:
apiVersion:
description: API version of the referent.
type: string
blockOwnerDeletion:
description: If true, AND if the owner has the "foregroundDeletion"
finalizer, then the owner cannot be deleted from the key-value store
until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion
for how the garbage collector interacts with this field and enforces
the foreground deletion. Defaults to false. To set this field, a
user needs "delete" permission of the owner, otherwise 422 (Unprocessable
Entity) will be returned.
type: boolean
controller:
description: If true, this reference points to the managing controller.
type: boolean
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names'
type: string
uid:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids'
type: string
required:
- apiVersion
- kind
- name
- uid
type: object
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
# Source: volcano/templates/controllers.yaml
apiVersion: v1
kind: ServiceAccount
Expand Down

0 comments on commit 062b142

Please sign in to comment.