k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/enterprise/kcp/ee.kubermatic.k8c.io_resourcequotas.yaml (about)

     1  # This file has been generated by hack/update-codegen.sh, DO NOT EDIT.
     2  
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.12.0
     8    name: resourcequotas.ee.kubermatic.k8c.io
     9  spec:
    10    group: ee.kubermatic.k8c.io
    11    names:
    12      kind: ResourceQuota
    13      listKind: ResourceQuotaList
    14      plural: resourcequotas
    15      singular: resourcequota
    16    scope: Cluster
    17    versions:
    18      - additionalPrinterColumns:
    19          - jsonPath: .metadata.creationTimestamp
    20            name: Age
    21            type: date
    22          - jsonPath: .spec.subject.name
    23            name: Subject Name
    24            type: string
    25          - jsonPath: .spec.subject.kind
    26            name: Subject Kind
    27            type: string
    28        name: v1
    29        schema:
    30          openAPIV3Schema:
    31            description: ResourceQuota specifies the amount of cluster resources a workspace can use.
    32            properties:
    33              apiVersion:
    34                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'
    35                type: string
    36              kind:
    37                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'
    38                type: string
    39              metadata:
    40                type: object
    41              spec:
    42                description: ResourceQuotaSpec describes the desired state of a resource quota.
    43                properties:
    44                  quota:
    45                    description: Quota specifies the current maximum allowed usage of resources.
    46                    properties:
    47                      cpu:
    48                        anyOf:
    49                          - type: integer
    50                          - type: string
    51                        description: CPU holds the quantity of CPU. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
    52                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
    53                        x-kubernetes-int-or-string: true
    54                      memory:
    55                        anyOf:
    56                          - type: integer
    57                          - type: string
    58                        description: Memory represents the quantity of RAM size. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
    59                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
    60                        x-kubernetes-int-or-string: true
    61                      storage:
    62                        anyOf:
    63                          - type: integer
    64                          - type: string
    65                        description: Storage represents the disk size. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
    66                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
    67                        x-kubernetes-int-or-string: true
    68                    type: object
    69                  subject:
    70                    description: Subject specifies to which entity the quota applies to.
    71                    properties:
    72                      kind:
    73                        default: project
    74                        description: Kind of the quota subject.
    75                        enum:
    76                          - project
    77                        type: string
    78                      name:
    79                        description: Name of the quota subject.
    80                        type: string
    81                    required:
    82                      - kind
    83                      - name
    84                    type: object
    85                required:
    86                  - quota
    87                  - subject
    88                type: object
    89              status:
    90                description: ResourceQuotaStatus describes the current state of a resource quota.
    91                properties:
    92                  globalUsage:
    93                    description: GlobalUsage is holds the current usage of resources for all seeds.
    94                    properties:
    95                      cpu:
    96                        anyOf:
    97                          - type: integer
    98                          - type: string
    99                        description: CPU holds the quantity of CPU. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
   100                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   101                        x-kubernetes-int-or-string: true
   102                      memory:
   103                        anyOf:
   104                          - type: integer
   105                          - type: string
   106                        description: Memory represents the quantity of RAM size. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
   107                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   108                        x-kubernetes-int-or-string: true
   109                      storage:
   110                        anyOf:
   111                          - type: integer
   112                          - type: string
   113                        description: Storage represents the disk size. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
   114                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   115                        x-kubernetes-int-or-string: true
   116                    type: object
   117                  localUsage:
   118                    description: LocalUsage is holds the current usage of resources for the local seed.
   119                    properties:
   120                      cpu:
   121                        anyOf:
   122                          - type: integer
   123                          - type: string
   124                        description: CPU holds the quantity of CPU. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
   125                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   126                        x-kubernetes-int-or-string: true
   127                      memory:
   128                        anyOf:
   129                          - type: integer
   130                          - type: string
   131                        description: Memory represents the quantity of RAM size. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
   132                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   133                        x-kubernetes-int-or-string: true
   134                      storage:
   135                        anyOf:
   136                          - type: integer
   137                          - type: string
   138                        description: Storage represents the disk size. For the format, please check k8s.io/apimachinery/pkg/api/resource.Quantity.
   139                        pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   140                        x-kubernetes-int-or-string: true
   141                    type: object
   142                type: object
   143            type: object
   144        served: true
   145        storage: true
   146        subresources:
   147          status: {}