Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Helm Install for IoT Edge Resources
#Install Helm
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
kubectl create serviceaccount tiller --namespace kube-system
kubectl create -f tiller-clusterrolebinding.yaml
#tiller-clusterrolebinding.yaml - Save file and create tiller
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: tiller-clusterrolebinding
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: ""
#Helm repo for IoT Edge
helm install --repo https://edgek8s.blob.core.windows.net/staging \
edge-crd \
edge-kubernetes-crd
# Create namespace for Edge Device
kubectl create namespace raspi-master
# Install and run modules on Devices
helm install --repo https://edgek8s.blob.core.windows.net/staging \
raspi-master \
edge-kubernetes \
--namespace raspi-master \
--set "provisioning.deviceConnectionString=<IoT Edge Connection String>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment