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

question: which tc filter worked in netqos #60

Open
lucming opened this issue May 17, 2023 · 3 comments
Open

question: which tc filter worked in netqos #60

lucming opened this issue May 17, 2023 · 3 comments

Comments

@lucming
Copy link

lucming commented May 17, 2023

hi, I found that the netqos implementation creates two types of tc filters, tc+cgroup and tc+ipset, so which one worked in the end

@ddongchen
Copy link
Collaborator

hi, @lucming The tc + cgroup is used for container using host network mode, which we could use net_cls.classid to mark offline traffic. and the tc + ipset is used for not using host network mode, such as floating IP, then we could use ipset to mark for batch of offline containers.

@lucming
Copy link
Author

lucming commented Aug 17, 2023

thanks for your reply. do you know why classid will lost when container.NetworkMode not host?

@ddongchen
Copy link
Collaborator

thanks for your reply. do you know why classid will lost when container.NetworkMode not host?

this may be due to network packages have been packaged again, and you could have a try.

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