{"id":1216,"date":"2023-04-06T16:28:07","date_gmt":"2023-04-06T08:28:07","guid":{"rendered":"https:\/\/www.linuxdevops.cn\/?p=1216"},"modified":"2023-04-07T09:52:04","modified_gmt":"2023-04-07T01:52:04","slug":"how-to-implement-global-speed-limiting-with-k8-nginx-ingress","status":"publish","type":"post","link":"https:\/\/www.linuxdevops.cn\/2023\/04\/how-to-implement-global-speed-limiting-with-k8-nginx-ingress\/","title":{"rendered":"\u4f7f\u7528 Kubernetes NGINX Ingress\u8fdb\u884c\u5168\u5c40\u901f\u7387\u9650\u5236"},"content":{"rendered":"

K8S NGINX Ingress\u5982\u4f55\u5b9e\u73b0\u5168\u5c40\u9650\u901f<\/h2>\n

\u6700\u8fd1\u6211\u9700\u8981\u5728\u751f\u4ea7\u7cfb\u7edf\u4e0a\u4e3a Kubernetes \u90e8\u7f72\u5b9e\u65bd\u5168\u5c40\u901f\u7387\u9650\u5236\u3002\u6709\u8bb8\u591a\u89e3\u51b3\u65b9\u6848\uff0c\u4f8b\u5982 Azure WAF\uff0c\u5b83\u63d0\u4f9b\u901f\u7387\u9650\u5236\uff0c\u4f46\u5b83\u4eec\u90fd\u662f\u9488\u5bf9\u6bcf\u4e2a\u5ba2\u6237\u7aef\u7684\u901f\u7387\u9650\u5236\uff0c\u8fd9\u610f\u5473\u7740\u6211\u4eec\u5e94\u7528\u7684\u4efb\u4f55\u89c4\u5219\u90fd\u5c06\u5e94\u7528\u4e8e\u5355\u4e2a\u5ba2\u6237\u7aef\uff0c\u8fd9\u662f\u8fdb\u884c\u901f\u7387\u9650\u5236\u7684\u4e00\u79cd\u65b9\u5f0f\uff0c\u4f46\u6211\u4eec\u9700\u8981\u5168\u5c40\u901f\u7387-\u4e5f\u6709\u9650\u5236\u3002<\/p>\n

\"img\"<\/p>\n

Image from https:\/\/articles.bplans.com<\/a><\/p>\n

\u4e3a\u4ec0\u4e48\u8981\u8fdb\u884c\u5168\u5c40\u901f\u7387\u9650\u5236\uff1f<\/h1>\n

\u4e8b\u5b9e\u8bc1\u660e\uff0c\u6700\u8457\u540d\u7684\u901f\u7387\u9650\u5236\u65b9\u6cd5\u662fPer Client Rate Limiting<\/strong>\u3002\u6839\u636e Azure \u652f\u6301\uff0c\u7531\u4e8e DDoS \u4fdd\u62a4\uff0c\u6211\u4eec\u4e0d\u9700\u8981\u5168\u5c40\u901f\u7387\u9650\u5236\u3002\u53ea\u6709\u5f53\u6211\u4eec\u770b\u5230\u5927\u91cf\u975e\u6cd5\u6d41\u91cf\u8bd5\u56fe\u5230\u8fbe\u670d\u52a1\u5668\u65f6\uff0cDDoS \u624d\u4f1a\u751f\u6548\u3002\u4f46\u662f\uff0c\u5982\u679c\u6211\u4eec\u7684\u5e94\u7528\u7a0b\u5e8f\u65e0\u6cd5\u63d0\u4f9b\u5927\u91cf\u5408\u6cd5\u6d41\u91cf\u600e\u4e48\u529e\uff1f\u8fd9\u5c31\u662f\u5168\u5c40\u901f\u7387\u9650\u5236\u53d1\u6325\u4f5c\u7528\u7684\u5730\u65b9\u3002\u5b83\u4fdd\u62a4\u6211\u4eec\u514d\u53d7\u4e24\u4ef6\u4e8b\u7684\u4f24\u5bb3\u3002<\/p>\n