sigs.k8s.io/kueue@v0.6.2/charts/kueue/templates/crd/kueue.x-k8s.io_provisioningrequestconfigs.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      {{- if .Values.enableCertManager }}
     7      cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "kueue.fullname" . }}-serving-cert
     8      {{- end }}
     9      controller-gen.kubebuilder.io/version: v0.14.0
    10    name: provisioningrequestconfigs.kueue.x-k8s.io
    11  spec:
    12    conversion:
    13      strategy: Webhook
    14      webhook:
    15        clientConfig:
    16          service:
    17            name: {{ include "kueue.fullname" . }}-webhook-service
    18            namespace: '{{ .Release.Namespace }}'
    19            path: /convert
    20        conversionReviewVersions:
    21        - v1
    22    group: kueue.x-k8s.io
    23    names:
    24      kind: ProvisioningRequestConfig
    25      listKind: ProvisioningRequestConfigList
    26      plural: provisioningrequestconfigs
    27      singular: provisioningrequestconfig
    28    scope: Cluster
    29    versions:
    30    - name: v1beta1
    31      schema:
    32        openAPIV3Schema:
    33          description: ProvisioningRequestConfig is the Schema for the provisioningrequestconfig
    34            API
    35          properties:
    36            apiVersion:
    37              description: |-
    38                APIVersion defines the versioned schema of this representation of an object.
    39                Servers should convert recognized schemas to the latest internal value, and
    40                may reject unrecognized values.
    41                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    42              type: string
    43            kind:
    44              description: |-
    45                Kind is a string value representing the REST resource this object represents.
    46                Servers may infer this from the endpoint the client submits requests to.
    47                Cannot be updated.
    48                In CamelCase.
    49                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    50              type: string
    51            metadata:
    52              type: object
    53            spec:
    54              description: ProvisioningRequestConfigSpec defines the desired state of
    55                ProvisioningRequestConfig
    56              properties:
    57                managedResources:
    58                  description: |-
    59                    managedResources contains the list of resources managed by the autoscaling.
    60  
    61  
    62                    If empty, all resources are considered managed.
    63  
    64  
    65                    If not empty, the ProvisioningRequest will contain only the podsets that are
    66                    requesting at least one of them.
    67  
    68  
    69                    If none of the workloads podsets is requesting at least a managed resource,
    70                    the workload is considered ready.
    71                  items:
    72                    description: ResourceName is the name identifying various resources
    73                      in a ResourceList.
    74                    type: string
    75                  maxItems: 100
    76                  type: array
    77                  x-kubernetes-list-type: set
    78                parameters:
    79                  additionalProperties:
    80                    description: Parameter is limited to 255 characters.
    81                    maxLength: 255
    82                    type: string
    83                  description: Parameters contains all other parameters classes may
    84                    require.
    85                  maxProperties: 100
    86                  type: object
    87                provisioningClassName:
    88                  description: |-
    89                    ProvisioningClassName describes the different modes of provisioning the resources.
    90                    Check autoscaling.x-k8s.io ProvisioningRequestSpec.ProvisioningClassName for details.
    91                  maxLength: 253
    92                  pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
    93                  type: string
    94              required:
    95              - provisioningClassName
    96              type: object
    97          type: object
    98      served: true
    99      storage: true