caelus icon indicating copy to clipboard operation
caelus copied to clipboard

question: which tc filter worked in netqos

Open lucming opened this issue 1 year ago • 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

lucming avatar May 17 '23 03:05 lucming

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.

ddongchen avatar Aug 16 '23 14:08 ddongchen

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

lucming avatar Aug 17 '23 04:08 lucming

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.

ddongchen avatar Sep 20 '23 01:09 ddongchen