-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings-kubernetes-template.py
More file actions
28 lines (22 loc) · 1.01 KB
/
settings-kubernetes-template.py
File metadata and controls
28 lines (22 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# public IP address through which it is possible to access the default zone of k8s cluster
default_gateway_IP = ""
# MQTT settings (possibly two brokers one for control and another one for control messages)
MQTT_data_broker_IP = "vernemq-mqtt.default.svc.cluster.local"
MQTT_data_broker_port = 1883
MQTT_control_broker_svc_name = "vernemq-mqtt"
MQTT_control_broker_IP = MQTT_control_broker_svc_name + ".default.svc.cluster.local"
MQTT_control_broker_port = 1883
# Mongo settings
# mongoDb Service Name
mongodb_svc_name = "db-svc-mc-noauth"
mongo_IP = mongodb_svc_name + ".default.svc.cluster.local"
mongo_port = 27017
# container_manager [DOCKER, KUBERNETES]
container_manager = "KUBERNETES"
# True if master controller running as a container inside a Pod
# False if master controller running as a python script
master_controller_in_container = True
# Namespace for kubernetes element
working_namespace = "default"
#Authentication settings
JWT_SECRET_KEY = "UYG867ti867f(/&$SWRUco)(YPO/T" # secret key used to encrypt password