-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calico 3.8 fails to install under CoreOS stable #2712
Comments
I fixed it by setting the correct flexvolume dir:
It needs to be a dir inside the kubelet setting: The default path is not writable on coreos. |
@bmcstdio Does @mmack's workaround solved your issue? |
@rafaelvanoni yes, it does solve it. However, it requires (as @mmack mentions) that the |
What's the proposed solution here? I think we have a conflict where Calico wants to enable this feature by default, but the default that Kubernetes uses isn't compatible with CoreOS (and probably some other environments as well). I think our options are:
I don't know of a way we could auto-detect this and magic the problem away. Does anyone have any ideas? |
In the meantime, we've documented this issue and workaround in |
I'm not sure there's anything more we can do besides document this, so going to close this for now. |
projectcalico/calico#2712 (comment) Signed-off-by: Yuji Ito <[email protected]>
Expected Behavior
Running
kubectl apply -f https://docs.projectcalico.org/v3.8/manifests/calico.yaml
eventually results in acalico-node-X
pod in theRunning
status.Current Behavior
Running
kubectl apply -f https://docs.projectcalico.org/v3.8/manifests/calico.yaml
results incalico-node-X
stuck forever in theInit:0/3
status.Possible Solution
I got the following output from
kubectl describe
:This makes me think that the installation manifest should maybe use a different path to install the FlexVolume driver?
Steps to Reproduce (for bugs)
kubeadm init --pod-network-cidr=192.168.0.0/16
.kubectl
according to the instructions.kubectl apply -f https://docs.projectcalico.org/v3.8/manifests/calico.yaml
.Context
I was trying to deploy Calico 3.8 in a brand new (bare-metal) Kubernetes 1.15.0 cluster bootstrapped by Kubeadm.
I am not entirely sure, but this may be related to #2699 somehow, even though Calico 3.7 installs without any issues.
Your Environment
Container Linux by CoreOS stable (2135.5.0)
The text was updated successfully, but these errors were encountered: