From 0d78d521cc89d58e3450dd5abd583e3c5e4c0f4b Mon Sep 17 00:00:00 2001 From: vzikratyi Date: Wed, 3 Jun 2020 10:38:00 +0300 Subject: [PATCH] Set correct cassandra datacenter --- k8s/.env | 2 +- k8s/common/cassandra.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/.env b/k8s/.env index 7d185ebc84..4f0478683b 100644 --- a/k8s/.env +++ b/k8s/.env @@ -1,6 +1,6 @@ # Can be either basic (with single instance of Zookeeper, Kafka and Redis) or high-availability (with Zookeeper, Kafka and Redis in cluster modes). # According to the deployment type corresponding kubernetes resources will be deployed (see content of the directories ./basic and ./high-availability for details). -DEPLOYMENT_TYPE=high-availability +DEPLOYMENT_TYPE=basic # Database used by ThingsBoard, can be either postgres (PostgreSQL) or hybrid (PostgreSQL for entities database and Cassandra for timeseries database). # According to the database type corresponding kubernetes resources will be deployed (see postgres.yml, cassandra.yml for details). diff --git a/k8s/common/cassandra.yml b/k8s/common/cassandra.yml index cefeb8ed18..32bc8e5271 100644 --- a/k8s/common/cassandra.yml +++ b/k8s/common/cassandra.yml @@ -114,7 +114,7 @@ spec: - name: CASSANDRA_CLUSTER_NAME value: "Thingsboard Cluster" - name: CASSANDRA_DC - value: "DC1-Thingsboard-Cluster" + value: "datacenter1" - name: CASSANDRA_RACK value: "Rack-Thingsboard-Cluster" - name: CASSANDRA_AUTO_BOOTSTRAP