Open luizrojo opened 6 months ago
Thread on slack that originated this issue
The doc just looks wrong to me; it runs calico-node -felix
which will run only felix, not the startup scripts that would initialise the datastore as it suggests.
Best workaround is probably to run Step 5 here: https://docs.tigera.io/calico/latest/getting-started/bare-metal/installation/binary#step-5-initialize-the-datastore I.e. just write the Node resource to the datastore yourself. I'm not sure if the startup scripts will work outside of Kubernetes.
Expected Behavior
Configuring calico-node on non cluster hosts should register the host endpoints into ETCD and on the Calico Cluster.
Current Behavior
Running calico-node does not add the host endpoints, not properly setting things up.
Possible Solution
Looks like the documentation is incorrect/missing some steps to set things up.
Steps to Reproduce (for bugs)
Running the container with the
-startup
parameter seems to register the host as a node, but it is not added as a hostendpoint (which I think is expected), but it also initializes the default IPAMContext
I am running a POC to set up calico as a FW management on VM/Baremetal server outside the K8s clusters we have in place
Your Environment