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