From 7ca5e879b476a5856a308ec3c77b7645f4f8e2d7 Mon Sep 17 00:00:00 2001 From: Kimi CLI Date: Sun, 8 Mar 2026 15:21:18 +0800 Subject: [PATCH] chore: add Npgsql log level config to suppress GSSAPI warnings - Set Logging__LogLevel__Npgsql to Error in ConfigMap - Prevents libgssapi_krb5.so.2 warning spam in logs --- k8s/test/configmap.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 k8s/test/configmap.yaml diff --git a/k8s/test/configmap.yaml b/k8s/test/configmap.yaml new file mode 100644 index 0000000..a09ad1f --- /dev/null +++ b/k8s/test/configmap.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: fengling-gateway-config + namespace: fengling-test + labels: + app: fengling-gateway +data: + ASPNETCORE_ENVIRONMENT: "Production" + Kestrel__Endpoints__Http__Url: "http://0.0.0.0:8080" + Logging__LogLevel__Default: "Information" + Logging__LogLevel__Microsoft__AspNetCore: "Warning" + Logging__LogLevel__Npgsql: "Error" # 隐藏 GSSAPI è­Šć‘Š + Logging__LogLevel__Yarp__ReverseProxy: "Information" + ServiceDiscovery__UseInClusterConfig: "true" + ServiceDiscovery__Namespace: "fengling-test" + ServiceDiscovery__LabelSelector: "app-router-name"