There are two helm charts in the helm folder.
- INBM
- Thingsboard
-
Ensure that K8s cluster and Helm are installed on the system.
-
Create Thingsboard storage.
sudo mkdir -p /mnt/data/tbdata/ sudo mkdir -p /mnt/data/tblogs/ sudo chmod o+rw /mnt/data sudo chmod o+rw /mnt/data/tb* -
Install Thingsboard with Helm command.
sudo helm install tb helm/thingsboard -
Check the cluster IP of Thingsboard. Record down the cluster IP.
sudo kubectl get svc | grep tb -
Login to Thingsboard with the cluster IP and port 9090. The username and password as below:
Username: tenant@thingsboard.org Password: tenant -
Download intel_manageability_widgets_version_3.3.json and intel_manageability_devices_version_3.3.json.
-
Go to Profiles and create device profile. Select "INB-intel Manageability Devices" as mobile dasboard.
NOTE: The name of device profile must be INB in order to match with entity aliases.
-
Go to Devices and create new device. Enter the name of device and select the device profile added just now.
-
Click the newly added device and record down the access token.
- Go to inbm configmap. Under mqtt configuration, update the username as your access token and the hostname as your Thingsboard's cluster IP.
- Install inbm with Helm command.
sudo helm install tb helm/inbm - Go to Dashboard > INB-Intel Manageability Devices > Open dashboard. Check the dashboard.
- Checkout INBM
git clone https://github.com/intel/intel-inb-manageability.git
cd intel-inb-manageability/
git checkout v3.0.14
cd manageability-docker/
-
Run script to build thingsboard container.
./build-thingsboard-container.sh
NOTE: If it failed to resolve proxy, try steps below.
sudo rm /etc/systemd/system/docker.service.d/im*
sudo nano /etc/systemd/system/docker.service.d/http-proxy.conf
- Once build complete, unzip the output and update thingsboard conf file.
cp output/inb_thingsboard_container.zip .
unzip -o inb_thingsboard_container.zip
Update thingsboard_conf_file
TB_IP_ADDR=
TB_PORT=
DEVICE_TOKEN=
TLS=n
TLS_PEM_FILE_LOCATION=
x509_DEVICE_CERT=
-
Run the script to build inb container.
sudo ./run.sh