Browse Source

Merge pull request #2903 from vzikratyi-tb/k8s-3.0.0-changes

Set correct cassandra datacenter
pull/2915/head
Igor Kulikov 6 years ago
committed by GitHub
parent
commit
0233f861e8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      k8s/.env
  2. 2
      k8s/common/cassandra.yml

2
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).

2
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

Loading…
Cancel
Save