Understand the kube-flannel.yaml manifest components
masterThe standard kube-flannel.yaml manifest deploys the following components:
- kube-flannel Pod: Set to
privilegedPodSecurity level. - RBAC:
ClusterRoleandClusterRoleBindingfor permissions. - Service Account: Dedicated account for
flannel. - ConfigMap: Contains CNI configuration and
flannelconfiguration. Thenetworkkey in theflannelconfiguration must match your pod network CIDR. Thebackenddefaults toVXLAN. - DaemonSet: Deploys the
flannelpod on every node. It includes theflanneldaemon container and aninitContainerto deploy CNI configurations for thekubelet.