github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1beta1/provider.giantswarm.io_kvmconfigs.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.2.4
     8    creationTimestamp: null
     9    name: kvmconfigs.provider.giantswarm.io
    10  spec:
    11    group: provider.giantswarm.io
    12    names:
    13      categories:
    14      - giantswarm
    15      - kvm
    16      kind: KVMConfig
    17      listKind: KVMConfigList
    18      plural: kvmconfigs
    19      singular: kvmconfig
    20    scope: Namespaced
    21    subresources:
    22      status: {}
    23    validation:
    24      openAPIV3Schema:
    25        properties:
    26          apiVersion:
    27            description: 'APIVersion defines the versioned schema of this representation
    28              of an object. Servers should convert recognized schemas to the latest
    29              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    30            type: string
    31          kind:
    32            description: 'Kind is a string value representing the REST resource this
    33              object represents. Servers may infer this from the endpoint the client
    34              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    35            type: string
    36          metadata:
    37            type: object
    38          spec:
    39            properties:
    40              cluster:
    41                properties:
    42                  calico:
    43                    properties:
    44                      cidr:
    45                        type: integer
    46                      mtu:
    47                        type: integer
    48                      subnet:
    49                        type: string
    50                    required:
    51                    - cidr
    52                    - mtu
    53                    - subnet
    54                    type: object
    55                  customer:
    56                    properties:
    57                      id:
    58                        type: string
    59                    required:
    60                    - id
    61                    type: object
    62                  docker:
    63                    properties:
    64                      daemon:
    65                        properties:
    66                          cidr:
    67                            type: string
    68                        required:
    69                        - cidr
    70                        type: object
    71                    required:
    72                    - daemon
    73                    type: object
    74                  etcd:
    75                    properties:
    76                      altNames:
    77                        type: string
    78                      domain:
    79                        type: string
    80                      port:
    81                        type: integer
    82                      prefix:
    83                        type: string
    84                    required:
    85                    - altNames
    86                    - domain
    87                    - port
    88                    - prefix
    89                    type: object
    90                  id:
    91                    type: string
    92                  kubernetes:
    93                    properties:
    94                      api:
    95                        properties:
    96                          clusterIPRange:
    97                            type: string
    98                          domain:
    99                            type: string
   100                          securePort:
   101                            type: integer
   102                        required:
   103                        - clusterIPRange
   104                        - domain
   105                        - securePort
   106                        type: object
   107                      cloudProvider:
   108                        type: string
   109                      dns:
   110                        properties:
   111                          ip:
   112                            type: string
   113                        required:
   114                        - ip
   115                        type: object
   116                      domain:
   117                        type: string
   118                      ingressController:
   119                        properties:
   120                          docker:
   121                            properties:
   122                              image:
   123                                type: string
   124                            required:
   125                            - image
   126                            type: object
   127                          domain:
   128                            type: string
   129                          insecurePort:
   130                            type: integer
   131                          securePort:
   132                            type: integer
   133                          wildcardDomain:
   134                            type: string
   135                        required:
   136                        - docker
   137                        - domain
   138                        - insecurePort
   139                        - securePort
   140                        - wildcardDomain
   141                        type: object
   142                      kubelet:
   143                        properties:
   144                          altNames:
   145                            type: string
   146                          domain:
   147                            type: string
   148                          labels:
   149                            type: string
   150                          port:
   151                            type: integer
   152                        required:
   153                        - altNames
   154                        - domain
   155                        - labels
   156                        - port
   157                        type: object
   158                      networkSetup:
   159                        properties:
   160                          docker:
   161                            properties:
   162                              image:
   163                                type: string
   164                            required:
   165                            - image
   166                            type: object
   167                          kubeProxy:
   168                            description: ClusterKubernetesNetworkSetupKubeProxy describes
   169                              values passed to the kube-proxy running in a tenant cluster.
   170                            properties:
   171                              conntrackMaxPerCore:
   172                                description: Maximum number of NAT connections to track
   173                                  per CPU core (0 to leave the limit as-is and ignore
   174                                  conntrack-min). Passed to kube-proxy as --conntrack-max-per-core.
   175                                type: integer
   176                            required:
   177                            - conntrackMaxPerCore
   178                            type: object
   179                        required:
   180                        - docker
   181                        - kubeProxy
   182                        type: object
   183                      ssh:
   184                        properties:
   185                          userList:
   186                            items:
   187                              properties:
   188                                name:
   189                                  type: string
   190                                publicKey:
   191                                  type: string
   192                              required:
   193                              - name
   194                              - publicKey
   195                              type: object
   196                            type: array
   197                        required:
   198                        - userList
   199                        type: object
   200                    required:
   201                    - api
   202                    - cloudProvider
   203                    - dns
   204                    - domain
   205                    - ingressController
   206                    - kubelet
   207                    - networkSetup
   208                    - ssh
   209                    type: object
   210                  masters:
   211                    items:
   212                      properties:
   213                        id:
   214                          type: string
   215                      required:
   216                      - id
   217                      type: object
   218                    type: array
   219                  scaling:
   220                    properties:
   221                      max:
   222                        description: Max defines maximum number of worker nodes guest
   223                          cluster is allowed to have.
   224                        type: integer
   225                      min:
   226                        description: Min defines minimum number of worker nodes required
   227                          to be present in guest cluster.
   228                        type: integer
   229                    required:
   230                    - max
   231                    - min
   232                    type: object
   233                  version:
   234                    description: Version is DEPRECATED and should just be dropped.
   235                    type: string
   236                  workers:
   237                    items:
   238                      properties:
   239                        id:
   240                          type: string
   241                      required:
   242                      - id
   243                      type: object
   244                    type: array
   245                required:
   246                - calico
   247                - customer
   248                - docker
   249                - etcd
   250                - id
   251                - kubernetes
   252                - masters
   253                - scaling
   254                - version
   255                type: object
   256              kvm:
   257                properties:
   258                  endpointUpdater:
   259                    properties:
   260                      docker:
   261                        properties:
   262                          image:
   263                            type: string
   264                        required:
   265                        - image
   266                        type: object
   267                    required:
   268                    - docker
   269                    type: object
   270                  k8sKVM:
   271                    properties:
   272                      docker:
   273                        properties:
   274                          image:
   275                            type: string
   276                        required:
   277                        - image
   278                        type: object
   279                      storageType:
   280                        type: string
   281                    required:
   282                    - docker
   283                    - storageType
   284                    type: object
   285                  masters:
   286                    items:
   287                      properties:
   288                        cpus:
   289                          type: integer
   290                        disk:
   291                          format: double
   292                          type: number
   293                        dockerVolumeSizeGB:
   294                          type: integer
   295                        memory:
   296                          type: string
   297                      required:
   298                      - cpus
   299                      - disk
   300                      - dockerVolumeSizeGB
   301                      - memory
   302                      type: object
   303                    type: array
   304                  network:
   305                    properties:
   306                      flannel:
   307                        properties:
   308                          vni:
   309                            type: integer
   310                        required:
   311                        - vni
   312                        type: object
   313                    required:
   314                    - flannel
   315                    type: object
   316                  nodeController:
   317                    description: NOTE THIS IS DEPRECATED
   318                    properties:
   319                      docker:
   320                        description: NOTE THIS IS DEPRECATED
   321                        properties:
   322                          image:
   323                            type: string
   324                        required:
   325                        - image
   326                        type: object
   327                    required:
   328                    - docker
   329                    type: object
   330                  portMappings:
   331                    items:
   332                      properties:
   333                        name:
   334                          type: string
   335                        nodePort:
   336                          type: integer
   337                        targetPort:
   338                          type: integer
   339                      required:
   340                      - name
   341                      - nodePort
   342                      - targetPort
   343                      type: object
   344                    type: array
   345                  workers:
   346                    items:
   347                      properties:
   348                        cpus:
   349                          type: integer
   350                        disk:
   351                          format: double
   352                          type: number
   353                        dockerVolumeSizeGB:
   354                          type: integer
   355                        memory:
   356                          type: string
   357                      required:
   358                      - cpus
   359                      - disk
   360                      - dockerVolumeSizeGB
   361                      - memory
   362                      type: object
   363                    type: array
   364                required:
   365                - endpointUpdater
   366                - k8sKVM
   367                - masters
   368                - network
   369                - nodeController
   370                - portMappings
   371                - workers
   372                type: object
   373              versionBundle:
   374                properties:
   375                  version:
   376                    type: string
   377                required:
   378                - version
   379                type: object
   380            required:
   381            - cluster
   382            - kvm
   383            - versionBundle
   384            type: object
   385          status:
   386            properties:
   387              cluster:
   388                properties:
   389                  conditions:
   390                    description: Conditions is a list of status information expressing
   391                      the current conditional state of a guest cluster. This may reflect
   392                      the status of the guest cluster being updating or being up to
   393                      date.
   394                    items:
   395                      description: StatusClusterCondition expresses the conditions in
   396                        which a guest cluster may is.
   397                      properties:
   398                        lastTransitionTime:
   399                          description: LastTransitionTime is the last time the condition
   400                            transitioned from one status to another.
   401                          format: date-time
   402                          nullable: true
   403                          type: string
   404                        status:
   405                          description: Status may be True, False or Unknown.
   406                          type: string
   407                        type:
   408                          description: Type may be Creating, Created, Scaling, Scaled,
   409                            Draining, Drained, Updating, Updated, Deleting, Deleted.
   410                          type: string
   411                      type: object
   412                    nullable: true
   413                    type: array
   414                  network:
   415                    description: StatusClusterNetwork expresses the network segment
   416                      that is allocated for a guest cluster.
   417                    nullable: true
   418                    properties:
   419                      cidr:
   420                        type: string
   421                    type: object
   422                  nodes:
   423                    description: Nodes is a list of guest cluster node information reflecting
   424                      the current state of the guest cluster nodes.
   425                    items:
   426                      description: StatusClusterNode holds information about a guest
   427                        cluster node.
   428                      properties:
   429                        labels:
   430                          additionalProperties:
   431                            type: string
   432                          description: Labels contains the kubernetes labels for corresponding
   433                            node.
   434                          nullable: true
   435                          type: object
   436                        lastTransitionTime:
   437                          description: LastTransitionTime is the last time the condition
   438                            transitioned from one status to another.
   439                          format: date-time
   440                          nullable: true
   441                          type: string
   442                        name:
   443                          description: Name referrs to a tenant cluster node name.
   444                          type: string
   445                        version:
   446                          description: Version referrs to the version used by the node
   447                            as mandated by the provider operator.
   448                          type: string
   449                      type: object
   450                    nullable: true
   451                    type: array
   452                  resources:
   453                    description: Resources is a list of arbitrary conditions of operatorkit
   454                      resource implementations.
   455                    items:
   456                      description: Resource is structure holding arbitrary conditions
   457                        of operatorkit resource implementations. Imagine an operator
   458                        implements an instance resource. This resource may operates
   459                        sequentially but has to operate based on a certain system state
   460                        it manages. So it tracks the status as needed here specific
   461                        to its own implementation and means in order to fulfil its premise.
   462                      properties:
   463                        conditions:
   464                          items:
   465                            description: StatusClusterResourceCondition expresses the
   466                              conditions in which an operatorkit resource may is.
   467                            properties:
   468                              lastTransitionTime:
   469                                description: LastTransitionTime is the last time the
   470                                  condition transitioned from one status to another.
   471                                format: date-time
   472                                nullable: true
   473                                type: string
   474                              status:
   475                                description: Status may be True, False or Unknown.
   476                                type: string
   477                              type:
   478                                description: Type may be anything an operatorkit resource
   479                                  may define.
   480                                type: string
   481                            type: object
   482                          nullable: true
   483                          type: array
   484                        name:
   485                          type: string
   486                      type: object
   487                    nullable: true
   488                    type: array
   489                  scaling:
   490                    description: StatusClusterScaling expresses the current status of
   491                      desired number of worker nodes in guest cluster.
   492                    nullable: true
   493                    properties:
   494                      desiredCapacity:
   495                        type: integer
   496                    type: object
   497                  versions:
   498                    description: Versions is a list that acts like a historical track
   499                      record of versions a guest cluster went through. A version is
   500                      only added to the list as soon as the guest cluster successfully
   501                      migrated to the version added here.
   502                    items:
   503                      description: StatusClusterVersion expresses the versions in which
   504                        a guest cluster was and may still be.
   505                      properties:
   506                        date:
   507                          description: "TODO date is deprecated due to LastTransitionTime
   508                            This can be removed ones the new properties are properly
   509                            used in all tenant clusters. \n     https://github.com/giantswarm/giantswarm/issues/3988"
   510                          format: date-time
   511                          nullable: true
   512                          type: string
   513                        lastTransitionTime:
   514                          description: LastTransitionTime is the last time the condition
   515                            transitioned from one status to another.
   516                          format: date-time
   517                          nullable: true
   518                          type: string
   519                        semver:
   520                          description: Semver is some semver version, e.g. 1.0.0.
   521                          type: string
   522                      type: object
   523                    nullable: true
   524                    type: array
   525                type: object
   526              kvm:
   527                properties:
   528                  nodeIndexes:
   529                    additionalProperties:
   530                      type: integer
   531                    description: NodeIndexes is a map from nodeID -> nodeIndex. This
   532                      is used to create deterministic iSCSI initiator names.
   533                    nullable: true
   534                    type: object
   535                type: object
   536            required:
   537            - cluster
   538            - kvm
   539            type: object
   540        required:
   541        - metadata
   542        - spec
   543        type: object
   544    version: v1alpha1
   545    versions:
   546    - name: v1alpha1
   547      served: true
   548      storage: true
   549  status:
   550    acceptedNames:
   551      kind: ""
   552      plural: ""
   553    conditions: []
   554    storedVersions: []