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

Support for traffic shaping using the calico operator? #3450

Open
vchan2002 opened this issue Aug 1, 2024 · 1 comment
Open

Support for traffic shaping using the calico operator? #3450

vchan2002 opened this issue Aug 1, 2024 · 1 comment

Comments

@vchan2002
Copy link

vchan2002 commented Aug 1, 2024

We are using EKS and Calico, installed using the operator v3.26.1

If I'm reading the documentation correctly...

The traffic shaping plugin should be enabled by default. I verified that the bandwidth binary is present in /opt/cin/bin

I have tried to set a annotation for a pod, and tested it using the following annotations. However, I used iperf to test, and, it does not limit the bandwidth as the annotation is supposed to do.

kubernetes.io/ingress-bandwidth: 1M
kubernetes.io/egress-bandwidth: 1M

Can someone help me understand how the operator sets up the config... are there extra steps required?

@tmjd
Copy link
Member

tmjd commented Aug 1, 2024

Are you using Calico as the CNI type or are you using the Amazon VPC CNI plugin?
If you look at the Installation resource (kubectl get installation default -o yaml), what is the value in the spec.cni.type field. If that field is not Calico then the the operator is not handling the CNI configuration.

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

No branches or pull requests

2 participants