BigtableTable


Property Value
Google Cloud Service Name Cloud Bigtable
Google Cloud Service Documentation /bigtable/docs/
Google Cloud REST Resource Name bigtableadmin/v2/projects.instances.tables
Google Cloud REST Resource Documentation /bigtable/docs/reference/admin/rest/v2/projects.instances.tables
Config Connector Resource Short Names gcpbigtabletable
gcpbigtabletables
bigtabletable
Config Connector Service Name bigtableadmin.googleapis.com
Config Connector Resource Fully Qualified Name bigtabletables.bigtable.cnrm.cloud.google.com
Can Be Referenced by IAMPolicy/IAMPolicyMember Yes
Supports IAM Conditions Yes
Supports IAM Audit Configs No
IAM External Reference Format

projects/{{project}}/instances/{{instance_name}}/tables/{{name}}

Config Connector Default Average Reconcile Interval In Seconds 3600

Custom Resource Definition Properties

Annotations

Fields
cnrm.cloud.google.com/project-id

Spec

Schema

changeStreamRetention: string
columnFamily:
- family: string
deletionProtection: string
instanceRef:
  external: string
  name: string
  namespace: string
resourceID: string
splitKeys:
- string
Fields

changeStreamRetention

Optional

string

Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.

columnFamily

Optional

list (object)

A group of columns within a table which share a common configuration. This can be specified multiple times.

columnFamily[]

Optional

object

columnFamily[].family

Required*

string

The name of the column family.

deletionProtection

Optional

string

A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, currently deletion protection will be set to UNPROTECTED as it is the API default value.

instanceRef

Required

object

The name of the Bigtable instance.

instanceRef.external

Optional

string

Allowed value: The `name` field of a `BigtableInstance` resource.

instanceRef.name

Optional

string

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

instanceRef.namespace

Optional

string

Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

resourceID

Optional

string

Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default.

splitKeys

Optional

list (string)

splitKeys[]

Optional

string

* Field is required when parent field is specified

Status

Schema

conditions:
- lastTransitionTime: string
  message: string
  reason: string
  status: string
  type: string
observedGeneration: integer
Fields
conditions

list (object)

Conditions represent the latest available observation of the resource's current state.

conditions[]

object

conditions[].lastTransitionTime

string

Last time the condition transitioned from one status to another.

conditions[].message

string

Human-readable message indicating details about last transition.

conditions[].reason

string

Unique, one-word, CamelCase reason for the condition's last transition.

conditions[].status

string

Status is the status of the condition. Can be True, False, Unknown.

conditions[].type

string

Type is the type of the condition.

observedGeneration

integer

ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource.

Sample YAML(s)

Typical Use Case

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: bigtable.cnrm.cloud.google.com/v1beta1
kind: BigtableTable
metadata:
  name: bigtabletable-sample
spec:
  columnFamily:
  - family: family1
  - family: family2
  instanceRef:
    name: bigtabletable-dep
  splitKeys:
  - a
---
apiVersion: bigtable.cnrm.cloud.google.com/v1beta1
kind: BigtableInstance
metadata:
  name: bigtabletable-dep
spec:
  displayName: BigtableSample
  cluster:
  - clusterId: cluster1
    zone: us-central1-a
    numNodes: 3
  - clusterId: cluster2
    zone: us-west1-a
    numNodes: 3