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
# 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: |