Install Kubedge Blinkt Application on the PI Cluster
helm repo add kubedge1 "https://raw.githubusercontent.com/kubedge/helmrepos/arm32v7/kubedge1"
helm repo update
Ensure the right labels have been applied to the nodes where Blinkt is installed
For instance:
kubectl label nodes kubemaster-pi blinktInstalled=true
kubectl label nodes home-pi blinktInstalled=true
kubectl label nodes nas-pi blinktInstalled=true
If you feel lucky:
helm install kubedge1/kubesim-blinkt-arm32v7 --name blinkt
If you want to better understand the setup:
cd $MY_LOCAL_HELM_CHARTS
helm fetch kubedge1/kubesim-blinkt-arm32v7
tar xvf kubesim-blinkt-arm32v7-0.1.0.tgz
cd kubesim-blinkt-arm32v7/
helm install . --name blinkt
Ensure the right labels have been applied to the nodes where Blinkt is installed
helm upgrade blinkt kubedge1/kubesim-blinkt-arm32v7 --set image.pullPolicy=IfNotPresent --set blinkt.algorithm=blinkt5 --set replicaCount=2
helm upgrade blinkt kubedge1/kubesim-blinkt-arm32v7 --set image.pullPolicy=IfNotPresent --set blinkt.algorithm=blinkt5 --set replicaCount=3
helm upgrade blinkt kubedge1/kubesim-blinkt-arm32v7 --set image.pullPolicy=IfNotPresent --set blinkt.algorithm=blinkt5 --set replicaCount=0
Use blinkt coloring to highlight rolling upgrade
helm upgrade blinkt kubedge1/kubesim-blinkt-arm32v7 --set image.pullPolicy=IfNotPresent --set replicaCount=3 --set blinkt.release=green
helm upgrade blinkt kubedge1/kubesim-blinkt-arm32v7 --set image.pullPolicy=IfNotPresent --set replicaCount=3 --set blinkt.release=blue
helm upgrade blinkt kubedge1/kubesim-blinkt-arm32v7 --set image.pullPolicy=IfNotPresent --set replicaCount=3 --set blinkt.release=red
$ helm history blinkt
REVISION UPDATED STATUS CHART DESCRIPTION
....
16 Fri Nov 2 21:33:30 2018 SUPERSEDED kubesim-blinkt-arm32v7-0.1.0 Upgrade complete
17 Sat Nov 3 02:00:18 2018 SUPERSEDED kubesim-blinkt-arm32v7-0.1.0 Upgrade complete
18 Sat Nov 3 02:22:11 2018 SUPERSEDED kubesim-blinkt-arm32v7-0.1.0 Upgrade complete
19 Sat Nov 3 02:23:11 2018 SUPERSEDED kubesim-blinkt-arm32v7-0.1.0 Upgrade complete
20 Sun Nov 4 15:16:33 2018 SUPERSEDED kubesim-blinkt-arm32v7-0.1.0 Upgrade complete
21 Mon Nov 5 00:11:42 2018 SUPERSEDED kubesim-blinkt-arm32v7-0.1.0 Upgrade complete
22 Mon Nov 5 00:11:56 2018 SUPERSEDED kubesim-blinkt-arm32v7-0.1.0 Upgrade complete
23 Mon Nov 5 00:13:41 2018 DEPLOYED kubesim-blinkt-arm32v7-0.1.0 Upgrade complete
$ helm rollback blinkt 18
Rollback was a success! Happy Helming!
The images creation scripts are availble under:
$ helm delete --purge blinkt
release "blinkt" deleted
WIP