-
Notifications
You must be signed in to change notification settings - Fork 23
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
[WIP] first pass at calico/ipv6 kind setup #74
Conversation
I think you're missing a bit of config:
Not sure the best way to edit the configmap. Maybe kustomize (since its built into kubectl)? |
9ba5ca8
to
3ab11f4
Compare
hack/kind/calico-ipv6/setup-kind.sh
Outdated
#kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml | ||
|
||
kubectl -n kube-system set env daemonset/calico-node FELIX_XDPENABLED=false | ||
kubectl -n kube-system set env daemonset/calico-node FELIX_IPV6SUPPORT=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could just make this change in calico.yaml now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 awesome! looks like this is working on my mac now 😄
saving a copy of the calico yaml seems like the easiest approach, is that a horrible idea?
really appreciate the help, 🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saving a copy of the calico yaml seems like the easiest approach, is that a horrible idea?
It'll work, but it means you'll need to raise a PR every time Calico does a release to get the latest.
I've recently been using kustomize for stuff - it might be more elegant here to:
- create a dir to hold the yaml and kustomize config - let's call it
kustom
- download
calico.yaml
intokustom/calico.yaml
- create a
kustom/kustomize.yaml
file - use
kubectl apply -k kustom
to modify and apply it in one step
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, thanks for the suggestion! Opened #109 to track this 😄
0b91125
to
5e64a62
Compare
TCP requests to services on IPV6/KinD clusters seem to be slower than UDP/SCTP requests, and also slower than IPV4 requests -- in the two Linux environments I ran this PR on. This seems to be general KinD/IPV6 behavior -- unrelated to Calico. Follow up in #108 to figure out why. In the meantime, this works but is slower! https://github.com/mattfenwick/cyclonus/runs/2371412592?check_suite_focus=true |
No description provided.