diff --git a/deploy/modules/aliyun/tidb-operator/operator.tf b/deploy/modules/aliyun/tidb-operator/operator.tf index 670e83b109..f119f14577 100644 --- a/deploy/modules/aliyun/tidb-operator/operator.tf +++ b/deploy/modules/aliyun/tidb-operator/operator.tf @@ -59,6 +59,6 @@ resource "helm_release" "tidb-operator" { set { name = "scheduler.kubeSchedulerImageName" - value = "gcr.akscn.io/google_containers/hyperkube" + value = "registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler-amd64" } -} \ No newline at end of file +} diff --git a/deploy/modules/gcp/tidb-cluster/main.tf b/deploy/modules/gcp/tidb-cluster/main.tf index c38973a0c3..7166ee7787 100644 --- a/deploy/modules/gcp/tidb-cluster/main.tf +++ b/deploy/modules/gcp/tidb-cluster/main.tf @@ -145,6 +145,7 @@ module "tidb-cluster" { kubeconfig_filename = var.kubeconfig_path base_values = file("${path.module}/values/default.yaml") wait_on_resource = [google_container_node_pool.tidb_pool, var.tidb_operator_id] + service_ingress_key = "ip" } resource "null_resource" "wait-lb-ip" {