tests.system.google.cloud.bigtable.example_bigtable

示例 Airflow DAG,它在 Cloud Bigtable 上创建并执行以下操作:- 创建实例 - 创建表 - 更新集群 - 等待表复制完成 - 删除表 - 删除实例

此 DAG 依赖于以下环境变量

模块内容

tests.system.google.cloud.bigtable.example_bigtable.ENV_ID[source]
tests.system.google.cloud.bigtable.example_bigtable.PROJECT_ID[source]
tests.system.google.cloud.bigtable.example_bigtable.DAG_ID = 'bigtable'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_BASE[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_1[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_2[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_DISPLAY_NAME = 'instance-name'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_DISPLAY_NAME_UPDATED[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_TYPE[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_TYPE_PROD[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_LABELS: dict[str, str][source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_LABELS_UPDATED[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_ID = 'bigtable-cluster-id'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_ZONE = 'europe-west1-b'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_NODES = 3[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_NODES_UPDATED = 5[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_STORAGE_TYPE[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_TABLE_ID = 'bigtable-table-id'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_POKE_INTERVAL = 60[source]
tests.system.google.cloud.bigtable.example_bigtable.create_instance_task[source]
tests.system.google.cloud.bigtable.example_bigtable.test_run[source]

此条目是否有帮助?