You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
I think the tutorial to install Kubernetes in Container Linux is missing a step. The step by step tutorial does not mention anything about the following situation:
After installing the Kubernetes cluster using the tutorial, the pods fail to start with the following messages:
Events:
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
6m 6m 1 default-scheduler Normal Scheduled Successfully assigned mypodXXXX to x.x.x.x
6m 3m 117 kubelet, x.x.x.x Warning FailedSync Error syncing pod, skipping: failed to "SetupNetwork" for "mypodXXXX" with SetupNetworkError: "Failed to setup network for pod \"mypodXXXX\" using network plugins \"cni\": failed to find plugin \"loopback\" in path [/opt/loopback/bin /opt/cni/bin]; Skipping pod"
3m 2s 224 kubelet, x.x.x.x Warning FailedSync Error syncing pod, skipping: failed to "SetupNetwork" for "mypodXXXX" with SetupNetworkError: "Failed to setup network for pod \"mypodXXXX\" using network plugins \"cni\": failed to find plugin \"bridge\" in path [/opt/cni/bin /opt/flannel/bin]; Skipping pod"
You actually don't have to manually download CNI plugins. They are embedded in hypercube images. If you just remove following lines from the kubelet.service CNI should work fine:
I think the tutorial to install Kubernetes in Container Linux is missing a step. The step by step tutorial does not mention anything about the following situation:
After installing the Kubernetes cluster using the tutorial, the pods fail to start with the following messages:
After manually downloading the cni plugin binaries v0.4.0 package from https://github.com/containernetworking/cni/releases/tag/v0.4.0 and unpacking it to
/opt/cni/bin
the pods deploy correctly.
More details:
Operating System: Container Linux by CoreOS stable (1353.7.0)
Tutorial Version 1.5.4
Kubernetes Version 1.5.4
The text was updated successfully, but these errors were encountered: