From b7e43cdfdfc3827d47775ae6acb88d289d944a34 Mon Sep 17 00:00:00 2001 From: Rohow Date: Fri, 1 Nov 2024 20:10:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(reflector):=20=E6=B7=BB=E5=8A=A0=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E8=AF=81=E4=B9=A6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/infra/devops/reflector/helmchart.yaml | 24 ++++++++++++++++++++++ apps/infra/net/nginx/helmchart.yaml | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 apps/infra/devops/reflector/helmchart.yaml diff --git a/apps/infra/devops/reflector/helmchart.yaml b/apps/infra/devops/reflector/helmchart.yaml new file mode 100644 index 0000000..dc9fb19 --- /dev/null +++ b/apps/infra/devops/reflector/helmchart.yaml @@ -0,0 +1,24 @@ +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: reflector + namespace: infra-devops +spec: + repo: https://emberstack.github.io/helm-charts + chart: reflector + targetNamespace: infra-devops + version: v7.1.288 + valuesContent: |- + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/master + operator: In + values: + - "true" + tolerations: + - key: "node-role.kubernetes.io/master" + operator: "Exists" + effect: "NoSchedule" diff --git a/apps/infra/net/nginx/helmchart.yaml b/apps/infra/net/nginx/helmchart.yaml index 4c7fb40..bf306da 100644 --- a/apps/infra/net/nginx/helmchart.yaml +++ b/apps/infra/net/nginx/helmchart.yaml @@ -49,7 +49,7 @@ spec: resolver 169.254.20.10 10.43.0.10 ipv6=off; location-snippet: | # 限速配置 - limit_req zone=global_limit burst=20 nodelay; + limit_req zone=global_limit burst=30 nodelay; # 启用geoip2模块 use-geoip: "false" use-geoip2: "true"