From 4e8e004b666da8f4ee7bc61879898c49c638ea41 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Mon, 29 Jul 2024 12:49:38 +0800 Subject: [PATCH] fix(query): missing .cluster.local for meta endpoints (#99) --- charts/databend-query/Chart.yaml | 2 +- charts/databend-query/values.yaml | 7 ++++--- examples/query-cluster-with-s3.yaml | 2 -- examples/query-with-meta.yaml | 3 --- 4 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 examples/query-with-meta.yaml diff --git a/charts/databend-query/Chart.yaml b/charts/databend-query/Chart.yaml index c0b7383..69777a2 100644 --- a/charts/databend-query/Chart.yaml +++ b/charts/databend-query/Chart.yaml @@ -25,7 +25,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.10.1 +version: 0.10.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/databend-query/values.yaml b/charts/databend-query/values.yaml index b8e15cc..a9c58a0 100644 --- a/charts/databend-query/values.yaml +++ b/charts/databend-query/values.yaml @@ -95,9 +95,10 @@ config: meta: # Set endpoints to use remote meta service endpoints: - - "databend-meta-0.databend-meta.databend-meta.svc:9191" - - "databend-meta-1.databend-meta.databend-meta.svc:9191" - - "databend-meta-2.databend-meta.databend-meta.svc:9191" + # ...svc.cluster.local:9191 + - "databend-meta-0.databend-meta.databend-meta.svc.cluster.local:9191" + - "databend-meta-1.databend-meta.databend-meta.svc.cluster.local:9191" + - "databend-meta-2.databend-meta.databend-meta.svc.cluster.local:9191" username: "root" password: "root" clientTimeoutInSecond: 60 diff --git a/examples/query-cluster-with-s3.yaml b/examples/query-cluster-with-s3.yaml index 335f714..b9555c0 100644 --- a/examples/query-cluster-with-s3.yaml +++ b/examples/query-cluster-with-s3.yaml @@ -1,8 +1,6 @@ replicaCount: 3 config: clsuterId: cluster1 - meta: - address: db-databend-meta:9191 storage: type: s3 s3: diff --git a/examples/query-with-meta.yaml b/examples/query-with-meta.yaml deleted file mode 100644 index 8ed2162..0000000 --- a/examples/query-with-meta.yaml +++ /dev/null @@ -1,3 +0,0 @@ -config: - meta: - address: db-databend-meta:9191