dos-group / gardening-adventure

Apache License 2.0
4 stars 2 forks source link

Configure Kubernetes Environment #34

Closed P2W2 closed 4 years ago

P2W2 commented 4 years ago

Deploy: Grafana, telegraf, influxDB and Mosquitto-mqtt on the master node.

Deploy sensor Docker images on the raspberry's pi

P2W2 commented 4 years ago

Assosiate Node with pod

kubectl label nodes peewee-thinkpad dasboard=grafana --overwrite

Grafana

helm install grafana-garden -f grafana.yaml --set nodeSelector.dasboard=grafana stable/grafana

InfluxDB

helm install influxdd-garden -f influxdb.yaml --set nodeSelector.databases=influxdb stable/influxdb

Mosquitto

helm install mosquitto-garden -f mosquitto.yaml --set nodeSelector.mqttt=mosquitto smizy/mosquitto kubectl expose pod ll mosquitto-garden... --port=1883 --target-port=188

Telegraf

helm install telegraf-garden -f telegraf.yaml stable/telegraf

rajasiman commented 4 years ago

https://github.com/smizy/charts/issues/4

FYI