Skip to content
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

The configuration of Calico network when joining a Windows node to the Kubernetes cluster is not effective. #9426

Open
DongWli opened this issue Oct 31, 2024 · 1 comment

Comments

@DongWli
Copy link

DongWli commented Oct 31, 2024

I first configured a Kubernetes Linux cluster and then added a Windows worker node according to the documentation.

Official documentation: https://docs.tigera.io/calico/latest/getting-started/kubernetes/windows-calico/requirements

Under the title "Linux platform requirements," I used the command kubectl patch ippool default-ipv4-ippool -p '{"spec":{"ipipMode":"Never","vxlanMode":"Always"}}'. During two validation processes, the first time I disabled the BGP network mode, and the command did not take effect. Later, I switched to the BGP network and modified the command to kubectl patch ippool default-ipv4-ippool -p '{"spec":{"ipipMode":"Never","vxlanMode":"Never"}}', but this command also did not work.

However, by directly modifying spec.encapsulation: None through kubectl edit installation default -o yaml -n tigera-operator, I was able to see that the network information changed after running kubectl get ippool default-ipv4-ippool -o yaml. This issue has been resolved, and I am only providing this test record as feedback.
fcb4460f591e4c4b861dd9a742c7db32
397c5c9bfab14eacb99130c0415c0be3

@caseydavenport
Copy link
Member

Thanks for raising this - sounds like our documentation still asks users to modify the IP pools directly, instead of modifying the operator Installation yaml.

This will vary based on install method - for operator-based installations, IP pools should be edited via the Installation.

For manifest based installs, you will need to modify the IP pools directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants