-
-
Save mysticrenji/d891fe3df6509a0b9eb6b37d9bd0659f to your computer and use it in GitHub Desktop.
Helm Install for IoT Edge Resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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