Skip to content

yengliong93/helm-for-inbm-thingsboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Helm-for-INBM-Thingsboard

Table of Contents

There are two helm charts in the helm folder.

  1. INBM
  2. Thingsboard

Installation

  1. Ensure that K8s cluster and Helm are installed on the system.

  2. 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*
    
  3. Install Thingsboard with Helm command.

    sudo helm install tb helm/thingsboard
    
  4. Check the cluster IP of Thingsboard. Record down the cluster IP.

    sudo kubectl get svc | grep tb

  5. Login to Thingsboard with the cluster IP and port 9090. The username and password as below:

    Username: tenant@thingsboard.org
    Password: tenant 
    
  6. Download intel_manageability_widgets_version_3.3.json and intel_manageability_devices_version_3.3.json.

  7. Import widgets bundle into Thingsboard.

  8. Import dashboard into Thingsboard.

  9. 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.

  10. Go to Devices and create new device. Enter the name of device and select the device profile added just now.

  11. Click the newly added device and record down the access token.

  1. Go to inbm configmap. Under mqtt configuration, update the username as your access token and the hostname as your Thingsboard's cluster IP.

  1. Install inbm with Helm command.
    sudo helm install tb helm/inbm
    
  2. Go to Dashboard > INB-Intel Manageability Devices > Open dashboard. Check the dashboard.

Build INBM Image

  1. Checkout INBM
git clone https://github.com/intel/intel-inb-manageability.git
cd intel-inb-manageability/
git checkout v3.0.14
cd manageability-docker/
  1. 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
  1. 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=
  1. Run the script to build inb container.

    sudo ./run.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages