Tencent/caelus

question: which tc filter worked in netqos

lucming opened this issue · 3 comments

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

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.

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

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.