-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Problem with calico-node on Kubernetes+Vagrant #418
Comments
@frankgreco you can specify which IP to use when you start calico/node with # Auto-detect the BGP IP address.
- name: IP
value: "" |
@gunjan5 how would I specify this dynamically though so I can get the ip for each node that the DaemonSet pod is brought up on? |
@frankgreco There's actually an open issue tracking this :) We're looking to improve the way we do IP auto detection by provide multiple detection "strategies". See here: https://github.com/projectcalico/calicoctl/issues/873. Once projectcalico/calicoctl#1411 is complete we'll be good to go on implementing one of the additional strategies mentioned in that issue. Until then, I think you would have to edit the Calico Node API resources to have the correct IP address using calicoctl. e.g
|
Removes Google analytics (again) and Calico header
I am attempting to create a Kubernetes cluster using Calico v2.0 inside of Vagrant via Ansible. I am using
machine.vm.network :private_network, type: "dhcp"
to setup Vagrant networking. Because of this, the primary network ip is always10.0.2.15
. Hence, I usekubeadm init --api-server-addresses=< secondary network ip >
so that my nodes can successfully join usingkubeadm join
.However, I run into problems when I apply the Calico configuration. The
calico-node
DaemonSet provisions a pod on each node however because the primary network ip is10.0.2.15
on all of the nodes, all of the DaemonSet pods have an ip of10.0.2.15
. I believe it gets this ip by auto detecting it.Is there a way to specify what is to be used for these DaemonSet pods so that I can get around this issue? Or, is there a better way to get around this issue?
The text was updated successfully, but these errors were encountered: