hello... we're running hydra v2.1.1 in a gke clus...
# general
b
hello... we're running hydra v2.1.1 in a gke cluster and are unable to silence the request_logs for health/alive and health/ready despite having this in the config :
Copy code
apiVersion: v1
kind: ConfigMap
data:
  hydra.yaml: |
    clients:
      http:
        disallow_private_ip_ranges: true
    log:
      format: text
      leak_sensitive_values: false
      level: debug
    serve:
      admin:
        port: 4445
        request_log:
          disable_for_health: true
also tried setting the env var on the pod spec:
Copy code
env:
            - name: SERVE_ADMIN_REQUEST_LOG_DISABLE_FOR_HEALTH
              value: 'true'
with both settings we still see:
Copy code
time=2023-05-11T01:30:37Z level=info msg=completed handling request http_request=map[headers:map[accept:*/* user-agent:kube-probe/1.24] host:[redacted] method:GET path:/health/alive query:<nil> remote:10.248.240.82:41960 scheme:https] http_response=map[headers:map[content-type:application/json; charset=utf-8] size:16 status:200 text_status:OK took:340.561µs]
time=2023-05-11T01:30:37Z level=info msg=started handling request http_request=map[headers:map[accept:*/* user-agent:kube-probe/1.24] host:[redacted] method:GET path:/health/ready query:<nil> remote:10.248.240.82:41968 scheme:https]
time=2023-05-11T01:30:37Z level=info msg=completed handling request http_request=map[headers:map[accept:*/* user-agent:kube-probe/1.24] host:[redacted] method:GET path:/health/ready query:<nil> remote:10.248.240.82:41968 scheme:https] http_response=map[headers:map[content-type:application/json; charset=utf-8] size:16 status:200 text_status:OK took:3.451065ms]