Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

envoy: Add response headers access logging #16013

Merged

Conversation

jrajahalme
Copy link
Member

Use cilium-envoy image that adds response headers to response access
log messages.

Hubble logs for HTTP responses now include HTTP response headers.

@jrajahalme jrajahalme added kind/enhancement This would improve or streamline existing functionality. area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. release-note/minor This PR changes functionality that users may find relevant to operating Cilium. labels May 4, 2021
@jrajahalme jrajahalme requested a review from a team as a code owner May 4, 2021 21:23
@jrajahalme jrajahalme marked this pull request as draft May 4, 2021 21:24
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.10.0-rc2 May 4, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.10 May 4, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.9.7 May 4, 2021
@jrajahalme
Copy link
Member Author

test-me-please

@jrajahalme
Copy link
Member Author

gke-stable hit by a known unrelated flake: #16004, no other errors

@@ -8,7 +8,7 @@ ARG CILIUM_RUNTIME_IMAGE=quay.io/cilium/cilium-runtime:8fe001a11f25ad9e6676c19b0

# cilium-envoy from github.com/cilium/proxy
#
FROM quay.io/cilium/cilium-envoy:b3bb275dcaf4a74ae956e52fa408b196c0d52152@sha256:f3c7645c0ff1d7552b79927023cf540f82b40263780644f75291ed0bb1965bee as cilium-envoy
FROM quay.io/cilium/cilium-envoy-dev:59ac5af7d75273c2f2c0080be55eed4b07b4a1d8@sha256:48e6eb6024c84cc1114c7135bd42eb2e7797ec05d9366ae603a375a039f05188 as cilium-envoy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a very basic question but what's the difference between quay.io/cilium/cilium-envoy and quay.io/cilium/cilium-envoy-dev?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cilium-envoy-dev repo has PR builds, cilium-envoy has master builds. We should not merge any cilium-envoy-dev builds, hence I kept this PR as a draft until now.

@jrajahalme
Copy link
Member Author

k8ss-1.16-kernel-netnext hit by known flake #12511, no other failures

@jrajahalme
Copy link
Member Author

k8s-1.21-kernel-4.9 hit by known flake #15097, no other failures

Use cilium-envoy image that adds response headers to response access
log messages.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme force-pushed the envoy-accesslog-response-headers branch from 72882f5 to ae65636 Compare May 10, 2021 19:51
@jrajahalme jrajahalme marked this pull request as ready for review May 10, 2021 19:52
@jrajahalme jrajahalme requested a review from a team as a code owner May 10, 2021 19:52
@jrajahalme
Copy link
Member Author

test-me-please

@jrajahalme jrajahalme merged commit 094d141 into cilium:master May 12, 2021
@jrajahalme jrajahalme deleted the envoy-accesslog-response-headers branch May 12, 2021 03:23
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.7 May 12, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.7 May 12, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.9 to Backport done to v1.9 in 1.9.7 May 12, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Backport done to v1.8 in 1.8.10 May 12, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.10.0-rc2 May 14, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.10.0-rc2 May 14, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Needs backport from master in 1.10.0-rc2 May 14, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Needs backport from master in 1.10.0-rc2 May 14, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.10.0-rc2 May 14, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.10.0-rc2 May 14, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Backport done to v1.10 in 1.10.0-rc2 May 17, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Backport done to v1.10 in 1.10.0-rc2 May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. kind/enhancement This would improve or streamline existing functionality. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
No open projects
1.10.0-rc2
Backport done to v1.10
1.8.10
Backport done to v1.8
1.9.7
Backport done to v1.9
Development

Successfully merging this pull request may close these issues.

None yet

6 participants