Kong / kubernetes-ingress-controller

:gorilla: Kong for Kubernetes: The official Ingress Controller for Kubernetes.
https://docs.konghq.com/kubernetes-ingress-controller/
Apache License 2.0
2.15k stars 591 forks source link

Log metadata for Konnect requests and provide KIC metadata with requests to Konnect #6240

Open rainest opened 4 days ago

rainest commented 4 days ago

Partially copied from https://github.com/Kong/team-k8s/issues/307. That internal issue has some additional background.

Brief version is that KIC sends requests to Konnect to obtain licenses, push configuration, push metrics, etc. These requests sometimes go wrong. When those requests fail, we would like to identify related events in logs on both the KIC and Konnect sides. We can log Konnect request metadata and include our own metadata in these requests to assist correlation.

AC:

czeslavo commented 3 days ago

Kind of a duplicate for https://github.com/Kong/kubernetes-ingress-controller/issues/6236. I think we can use #6236 to define a final scope of what we'd like to do in #6240.