Skip to content

Instantly share code, notes, and snippets.

View noodlensk's full-sized avatar

Dmitry Makarenko noodlensk

  • Stockholm, Sweden
View GitHub Profile
# Create the clusterrole and clusterrolebinding:
# $ kubectl create -f kube-flannel-rbac.yml
# Create the pod using the same namespace used by the flannel serviceaccount:
# $ kubectl create --namespace kube-system -f kube-flannel.yml
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: flannel
rules: