feat(loki): loki版本升级
这个提交包含在:
@@ -7,7 +7,6 @@ spec:
|
||||
repo: https://grafana.github.io/helm-charts
|
||||
chart: loki
|
||||
targetNamespace: infra-monitor
|
||||
version: 6.25.1
|
||||
valuesContent: |-
|
||||
deploymentMode: SingleBinary
|
||||
gateway:
|
||||
@@ -18,6 +17,8 @@ spec:
|
||||
extraArgs:
|
||||
# 降低测试日志生成条数
|
||||
- -interval=30s
|
||||
- -labelname=service_name
|
||||
- -labelvalue=loki-canary
|
||||
resultsCache:
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: clawhk
|
||||
@@ -33,6 +34,7 @@ spec:
|
||||
limits_config:
|
||||
reject_old_samples_max_age: 168h
|
||||
max_query_series: 10000
|
||||
volume_enabled: true
|
||||
storage:
|
||||
type: 'filesystem'
|
||||
schemaConfig:
|
||||
|
||||
@@ -7,7 +7,6 @@ spec:
|
||||
repo: https://grafana.github.io/helm-charts
|
||||
chart: promtail
|
||||
targetNamespace: infra-monitor
|
||||
version: 6.16.6
|
||||
valuesContent: |-
|
||||
nodeSelector:
|
||||
svccontroller.k3s.cattle.io/enablelb: "true"
|
||||
|
||||
@@ -7,7 +7,7 @@ spec:
|
||||
repo: https://prometheus-community.github.io/helm-charts
|
||||
chart: kube-prometheus-stack
|
||||
targetNamespace: infra-monitor
|
||||
version: 69.2.0
|
||||
version: 71.0.0
|
||||
valuesContent: |-
|
||||
kubeControllerManager:
|
||||
enabled: false
|
||||
|
||||
@@ -6,7 +6,7 @@ metadata:
|
||||
spec:
|
||||
repo: https://kubernetes.github.io/ingress-nginx
|
||||
chart: ingress-nginx
|
||||
version: 4.11.5
|
||||
version: 4.11.6
|
||||
targetNamespace: infra-net
|
||||
valuesContent: |-
|
||||
fullnameOverride: ingress-nginx
|
||||
@@ -100,13 +100,14 @@ spec:
|
||||
"geoip_city": "$geoip2_city",
|
||||
"geoip_org": "$geoip2_org",
|
||||
"geoip_longitude": "$geoip2_longitude",
|
||||
"geoip_latitude": "$geoip2_latitude"
|
||||
"geoip_latitude": "$geoip2_latitude",
|
||||
"level": "info"
|
||||
}'
|
||||
# crowdsec插件配置
|
||||
plugins: "crowdsec"
|
||||
lua-shared-dicts: "crowdsec_cache: 50m"
|
||||
# 启用geoip2模块
|
||||
maxmindLicenseKey: "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"
|
||||
maxmindLicenseKey: "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"
|
||||
extraArgs:
|
||||
default-ssl-certificate: "infra-net/dev-cm-crt"
|
||||
# crowdsec插件配置
|
||||
|
||||
在新议题中引用
屏蔽一个用户