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"