...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/bigtable_v1beta1_bigtableinstance.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: bigtableinstances.bigtable.cnrm.cloud.google.com
    27spec:
    28  group: bigtable.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: BigtableInstance
    33    plural: bigtableinstances
    34    shortNames:
    35    - gcpbigtableinstance
    36    - gcpbigtableinstances
    37    singular: bigtableinstance
    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              cluster:
    75                description: A block of cluster configuration options. This can be
    76                  specified at least once.
    77                items:
    78                  properties:
    79                    autoscalingConfig:
    80                      description: A list of Autoscaling configurations. Only one
    81                        element is used and allowed.
    82                      properties:
    83                        cpuTarget:
    84                          description: The target CPU utilization for autoscaling.
    85                            Value must be between 10 and 80.
    86                          type: integer
    87                        maxNodes:
    88                          description: The maximum number of nodes for autoscaling.
    89                          type: integer
    90                        minNodes:
    91                          description: The minimum number of nodes for autoscaling.
    92                          type: integer
    93                        storageTarget:
    94                          description: The target storage utilization for autoscaling,
    95                            in GB, for each node in a cluster. This number is limited
    96                            between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster
    97                            and between 8192 (8TiB) and 16384 (16 TiB) for an HDD
    98                            cluster. If not set, whatever is already set for the cluster
    99                            will not change, or if the cluster is just being created,
   100                            it will use the default value of 2560 for SSD clusters
   101                            and 8192 for HDD clusters.
   102                          type: integer
   103                      required:
   104                      - cpuTarget
   105                      - maxNodes
   106                      - minNodes
   107                      type: object
   108                    clusterId:
   109                      description: The ID of the Cloud Bigtable cluster. Must be 6-30
   110                        characters and must only contain hyphens, lowercase letters
   111                        and numbers.
   112                      type: string
   113                    kmsKeyRef:
   114                      description: |-
   115                        Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable
   116                        cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains
   117                        this cluster must be granted the cloudkms.cryptoKeyEncrypterDecrypter role on the CMEK key.
   118                        2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster.
   119                        3) All clusters within an instance must use the same CMEK key access to this encryption key.
   120                      oneOf:
   121                      - not:
   122                          required:
   123                          - external
   124                        required:
   125                        - name
   126                      - not:
   127                          anyOf:
   128                          - required:
   129                            - name
   130                          - required:
   131                            - namespace
   132                        required:
   133                        - external
   134                      properties:
   135                        external:
   136                          description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
   137                            resource.'
   138                          type: string
   139                        name:
   140                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   141                          type: string
   142                        namespace:
   143                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   144                          type: string
   145                      type: object
   146                    numNodes:
   147                      description: The number of nodes in your Cloud Bigtable cluster.
   148                        Required, with a minimum of 1 for each cluster in an instance.
   149                      type: integer
   150                    storageType:
   151                      description: The storage type to use. One of "SSD" or "HDD".
   152                        Defaults to "SSD".
   153                      type: string
   154                    zone:
   155                      description: The zone to create the Cloud Bigtable cluster in.
   156                        Each cluster must have a different zone in the same region.
   157                        Zones that support Bigtable instances are noted on the Cloud
   158                        Bigtable locations page.
   159                      type: string
   160                  required:
   161                  - clusterId
   162                  - zone
   163                  type: object
   164                type: array
   165              deletionProtection:
   166                description: DEPRECATED. This field no longer serves any function
   167                  and is intended to be dropped in a later version of the resource.
   168                type: boolean
   169              displayName:
   170                description: The human-readable display name of the Bigtable instance.
   171                  Defaults to the instance name.
   172                type: string
   173              instanceType:
   174                description: DEPRECATED. It is recommended to leave this field unspecified
   175                  since the distinction between "DEVELOPMENT" and "PRODUCTION" instances
   176                  is going away, and all instances will become "PRODUCTION" instances.
   177                  This means that new and existing "DEVELOPMENT" instances will be
   178                  converted to "PRODUCTION" instances. It is recommended for users
   179                  to use "PRODUCTION" instances in any case, since a 1-node "PRODUCTION"
   180                  instance is functionally identical to a "DEVELOPMENT" instance,
   181                  but without the accompanying restrictions. The instance type to
   182                  create. One of "DEVELOPMENT" or "PRODUCTION". Defaults to "PRODUCTION".
   183                type: string
   184              resourceID:
   185                description: Immutable. Optional. The name of the resource. Used for
   186                  creation and acquisition. When unset, the value of `metadata.name`
   187                  is used as the default.
   188                type: string
   189            type: object
   190          status:
   191            properties:
   192              conditions:
   193                description: Conditions represent the latest available observation
   194                  of the resource's current state.
   195                items:
   196                  properties:
   197                    lastTransitionTime:
   198                      description: Last time the condition transitioned from one status
   199                        to another.
   200                      type: string
   201                    message:
   202                      description: Human-readable message indicating details about
   203                        last transition.
   204                      type: string
   205                    reason:
   206                      description: Unique, one-word, CamelCase reason for the condition's
   207                        last transition.
   208                      type: string
   209                    status:
   210                      description: Status is the status of the condition. Can be True,
   211                        False, Unknown.
   212                      type: string
   213                    type:
   214                      description: Type is the type of the condition.
   215                      type: string
   216                  type: object
   217                type: array
   218              observedGeneration:
   219                description: ObservedGeneration is the generation of the resource
   220                  that was most recently observed by the Config Connector controller.
   221                  If this is equal to metadata.generation, then that means that the
   222                  current reported status reflects the most recent desired state of
   223                  the resource.
   224                type: integer
   225            type: object
   226        type: object
   227    served: true
   228    storage: true
   229    subresources:
   230      status: {}
   231status:
   232  acceptedNames:
   233    kind: ""
   234    plural: ""
   235  conditions: []
   236  storedVersions: []

View as plain text