Can't find access log #5989
-
Hi, We have an application complaining about lost request. I can see the request on the external load balancer, now I would like to check on contour/envoy if everything is OK. Reading the documentation I can see that it's native but I don't see anything on logs, or I don't look at the right place. Can you help me to find the logs please ? $ kubectl get httpproxy -A -> I would like to trace connections to that (it's a test cluster but I have exacly the same thing in production with a real app). $ kubectl logs -l app=envoy -n projectcontour I'm using k8s 1.24.14 and contour v1.23.6 with the default configuration (https://raw.githubusercontent.com/projectcontour/contour/release-1.23/examples/render/contour.yaml), I just changed that : livenessProbe: | livenessProbe:httpGet: | httpGet:path: /healthz | path: /healthzport: 8090 | port: 8090initialDelaySeconds: 3 | initialDelaySeconds: 3periodSeconds: 10 | periodSeconds: 10
Regards. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The access logs are in envoy container of the envoy pod. Did you try |
Beta Was this translation helpful? Give feedback.
-
No I didn't try that, thank you it's better ! 👍 |
Beta Was this translation helpful? Give feedback.
The access logs are in envoy container of the envoy pod. Did you try
kubectl logs -l app=envoy -n projectcontour -c envoy
?