Rate This Document
Findability
Accuracy
Completeness
Readability

Adding the Flannel Network Plugin

  1. On the master node, obtain the YAML file of the Flannel network plugin.
    1
    wget https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml --no-check-certificate
    
  2. Install the Flannel network plugin on the master node.
    1
    kubectl apply -f kube-flannel.yml
    

    If the network plugin kube-flannel keeps trying to restart, sometimes the restart is normal, and sometimes "CrashLoopBackOff" or "OOMKilled" is displayed, try to resolve the problem by following instructions in Troubleshooting.