...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/compute_v1beta1_computenodetemplate.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/crds

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: stable
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: computenodetemplates.compute.cnrm.cloud.google.com
    27spec:
    28  group: compute.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: ComputeNodeTemplate
    33    plural: computenodetemplates
    34    shortNames:
    35    - gcpcomputenodetemplate
    36    - gcpcomputenodetemplates
    37    singular: computenodetemplate
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1beta1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            properties:
    74              cpuOvercommitType:
    75                description: 'Immutable. CPU overcommit. Default value: "NONE" Possible
    76                  values: ["ENABLED", "NONE"].'
    77                type: string
    78              description:
    79                description: Immutable. An optional textual description of the resource.
    80                type: string
    81              nodeType:
    82                description: |-
    83                  Immutable. Node type to use for nodes group that are created from this template.
    84                  Only one of nodeTypeFlexibility and nodeType can be specified.
    85                type: string
    86              nodeTypeFlexibility:
    87                description: |-
    88                  Immutable. Flexible properties for the desired node type. Node groups that
    89                  use this node template will create nodes of a type that matches
    90                  these properties. Only one of nodeTypeFlexibility and nodeType can
    91                  be specified.
    92                properties:
    93                  cpus:
    94                    description: Immutable. Number of virtual CPUs to use.
    95                    type: string
    96                  localSsd:
    97                    description: Use local SSD.
    98                    type: string
    99                  memory:
   100                    description: Immutable. Physical memory available to the node,
   101                      defined in MB.
   102                    type: string
   103                type: object
   104              region:
   105                description: |-
   106                  Immutable. Region where nodes using the node template will be created.
   107                  If it is not provided, the provider region is used.
   108                type: string
   109              resourceID:
   110                description: Immutable. Optional. The name of the resource. Used for
   111                  creation and acquisition. When unset, the value of `metadata.name`
   112                  is used as the default.
   113                type: string
   114              serverBinding:
   115                description: |-
   116                  Immutable. The server binding policy for nodes using this template. Determines
   117                  where the nodes should restart following a maintenance event.
   118                properties:
   119                  type:
   120                    description: |-
   121                      Immutable. Type of server binding policy. If 'RESTART_NODE_ON_ANY_SERVER',
   122                      nodes using this template will restart on any physical server
   123                      following a maintenance event.
   124
   125                      If 'RESTART_NODE_ON_MINIMAL_SERVER', nodes using this template
   126                      will restart on the same physical server following a maintenance
   127                      event, instead of being live migrated to or restarted on a new
   128                      physical server. This option may be useful if you are using
   129                      software licenses tied to the underlying server characteristics
   130                      such as physical sockets or cores, to avoid the need for
   131                      additional licenses when maintenance occurs. However, VMs on such
   132                      nodes will experience outages while maintenance is applied. Possible values: ["RESTART_NODE_ON_ANY_SERVER", "RESTART_NODE_ON_MINIMAL_SERVERS"].
   133                    type: string
   134                required:
   135                - type
   136                type: object
   137            required:
   138            - region
   139            type: object
   140          status:
   141            properties:
   142              conditions:
   143                description: Conditions represent the latest available observation
   144                  of the resource's current state.
   145                items:
   146                  properties:
   147                    lastTransitionTime:
   148                      description: Last time the condition transitioned from one status
   149                        to another.
   150                      type: string
   151                    message:
   152                      description: Human-readable message indicating details about
   153                        last transition.
   154                      type: string
   155                    reason:
   156                      description: Unique, one-word, CamelCase reason for the condition's
   157                        last transition.
   158                      type: string
   159                    status:
   160                      description: Status is the status of the condition. Can be True,
   161                        False, Unknown.
   162                      type: string
   163                    type:
   164                      description: Type is the type of the condition.
   165                      type: string
   166                  type: object
   167                type: array
   168              creationTimestamp:
   169                description: Creation timestamp in RFC3339 text format.
   170                type: string
   171              observedGeneration:
   172                description: ObservedGeneration is the generation of the resource
   173                  that was most recently observed by the Config Connector controller.
   174                  If this is equal to metadata.generation, then that means that the
   175                  current reported status reflects the most recent desired state of
   176                  the resource.
   177                type: integer
   178              selfLink:
   179                type: string
   180            type: object
   181        required:
   182        - spec
   183        type: object
   184    served: true
   185    storage: true
   186    subresources:
   187      status: {}
   188status:
   189  acceptedNames:
   190    kind: ""
   191    plural: ""
   192  conditions: []
   193  storedVersions: []

View as plain text