-
Hi. I am looking for some help getting the HTTP access logs working. I am just getting started with
I then deployed a pod into that namespace that is running a single container, which provides a very simply HTTP/HTTPS based service. In general it seems to work and I can see the proxy-logs (when I turn the level up to I am using:
Any ideas what I am doing wrong here? Am I side-stepping the proxy with the port-forward, or something else? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That's right, port-forward goes straight into the container's port, bypassing the proxy. Also remember you have to restart the pod for the namespace annotations to be picked up 😉 |
Beta Was this translation helpful? Give feedback.
-
@aleb Thank you. I thought this might be the case. Is there an easy way for me to send traffic through the proxy without a second service or do I need to set that up to generate any HTTP logging? |
Beta Was this translation helpful? Give feedback.
That's right, port-forward goes straight into the container's port, bypassing the proxy. Also remember you have to restart the pod for the namespace annotations to be picked up 😉