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