[root@master ~]# kubectl -n kube-system logs kube-flannel-ds-cpp6x
I1124 11:40:25.519273 1 main.go:518] Determining IP address of default interface
I1124 11:40:25.519509 1 main.go:531] Using interface with name enp0s8 and address 10.0.2.5
I1124 11:40:25.519517 1 main.go:548] Defaulting external address to interface address (10.0.2.5)
W1124 11:40:25.519527 1 client_config.go:517] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
E1124 11:40:25.618304 1 main.go:243] Failed to create SubnetManager: error retrieving pod spec for 'kube-system/kube-flannel-ds-cpp6x': pods "kube-flannel-ds-cpp6x" is forbidden: User "system:serviceaccount:kube-system:flannel" cannot get resource "pods" in API group "" in the namespace "kube-system"
[root@master ~]#
[root@node1 ~]# kubectl -n kube-system logs kube-flannel-ds-cpp6x
I1124 11:45:27.617855 1 main.go:518] Determining IP address of default interface
I1124 11:45:27.712733 1 main.go:531] Using interface with name enp0s8 and address 10.0.2.5
I1124 11:45:27.712910 1 main.go:548] Defaulting external address to interface address (10.0.2.5)
W1124 11:45:27.713076 1 client_config.go:517] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
E1124 11:45:27.721546 1 main.go:243] Failed to create SubnetManager: error retrieving pod spec for 'kube-system/kube-flannel-ds-cpp6x': pods "kube-flannel-ds-cpp6x" is forbidden: User "system:serviceaccount:kube-system:flannel" cannot get resource "pods" in API group "" in the namespace "kube-system"