Skip to content

hubble-relay: add configurable log format and level via Helm#43644

Merged
julianwiedmann merged 1 commit intocilium:mainfrom
puwun:feature/hubble-relay-json-logging
Jan 23, 2026
Merged

hubble-relay: add configurable log format and level via Helm#43644
julianwiedmann merged 1 commit intocilium:mainfrom
puwun:feature/hubble-relay-json-logging

Conversation

@puwun
Copy link
Copy Markdown
Contributor

@puwun puwun commented Jan 9, 2026

Add support for configuring Hubble Relay log format and level through Helm values, similar to the existing logOptions support in cilium-agent and cilium-operator.

This allows users to enable JSON logging for Hubble Relay, which is useful for log aggregation tools in environments like AWS EKS.

New Helm values:

  • hubble.relay.logOptions.format: text, text-ts, json, json-ts
  • hubble.relay.logOptions.level: debug, info, warn, error

Fixes: #43009

Changes:

  • Added hubble.relay.logOptions section to values.yaml with format and level options
  • Updated hubble-relay/configmap.yaml template to conditionally include log-format and log-level
  • Modified hubble-relay/cmd/root.go to read log options from config and pass to SetupLogging()
hubble-relay: Add `hubble.relay.logOptions.format` and `hubble.relay.logOptions.level` Helm values to configure log format (text, text-ts, json, json-ts) and level (debug, info, warn, error)

@puwun puwun requested review from a team as code owners January 9, 2026 12:25
@puwun puwun requested review from Artyop and glibsm January 9, 2026 12:25
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jan 9, 2026
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Jan 9, 2026
@puwun puwun force-pushed the feature/hubble-relay-json-logging branch 2 times, most recently from 7c7c6ac to 8cb34f3 Compare January 9, 2026 12:54
Copy link
Copy Markdown
Contributor

@Artyop Artyop left a comment

Choose a reason for hiding this comment

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

smoke tests are failing on the helm chart check, looks like you need to run make -C install/kubernetes

@puwun puwun force-pushed the feature/hubble-relay-json-logging branch 3 times, most recently from c45a286 to 6b41432 Compare January 9, 2026 18:11
@joestringer joestringer added the dont-merge/wait-until-release Freeze window for current release is blocking non-bugfix PRs label Jan 9, 2026
@puwun puwun force-pushed the feature/hubble-relay-json-logging branch from 6b41432 to ce8ce04 Compare January 9, 2026 18:37
Add support for configuring Hubble Relay log format and level through Helm values, similar to the existing logOptions support in cilium-agent and cilium-operator.

This allows users to enable JSON logging for Hubble Relay, which is useful for log aggregation tools in environments like AWS EKS.

New Helm values:
- hubble.relay.logOptions.format: text, text-ts, json, json-ts
- hubble.relay.logOptions.level: debug, info, warn, error

Fixes: cilium#43009
Signed-off-by: Pavan More <pavansmore05@gmail.com>
@puwun puwun force-pushed the feature/hubble-relay-json-logging branch from ce8ce04 to beed602 Compare January 10, 2026 06:32
@Artyop
Copy link
Copy Markdown
Contributor

Artyop commented Jan 13, 2026

/test

@aanm aanm removed the dont-merge/wait-until-release Freeze window for current release is blocking non-bugfix PRs label Jan 14, 2026
@devodev devodev added kind/feature This introduces new functionality. area/monitor Impacts monitoring, access logging, flow logging, visibility of datapath traffic. release-note/minor This PR changes functionality that users may find relevant to operating Cilium. area/helm Impacts helm charts and user deployment experience area/hubble Impacts hubble server or relay and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jan 23, 2026
@devodev devodev added this to the 1.20 milestone Jan 23, 2026
@devodev devodev added the needs-backport/1.18 This PR / issue needs backporting to the v1.18 branch label Jan 23, 2026
@devodev devodev added the needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch label Jan 23, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jan 23, 2026
@julianwiedmann julianwiedmann added this pull request to the merge queue Jan 23, 2026
Merged via the queue into cilium:main with commit 063e40c Jan 23, 2026
76 checks passed
@mhofstetter mhofstetter mentioned this pull request Jan 26, 2026
9 tasks
@mhofstetter mhofstetter added backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. and removed needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch labels Jan 26, 2026
@mhofstetter mhofstetter mentioned this pull request Jan 26, 2026
2 tasks
@mhofstetter mhofstetter added backport-pending/1.18 The backport for Cilium 1.18.x for this PR is in progress. and removed needs-backport/1.18 This PR / issue needs backporting to the v1.18 branch labels Jan 26, 2026
@github-actions github-actions bot added backport-done/1.18 The backport for Cilium 1.18.x for this PR is done. backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. and removed backport-pending/1.18 The backport for Cilium 1.18.x for this PR is in progress. backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. labels Jan 26, 2026
@cilium-release-bot cilium-release-bot bot moved this to Released in cilium v1.19.0 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/helm Impacts helm charts and user deployment experience area/hubble Impacts hubble server or relay area/monitor Impacts monitoring, access logging, flow logging, visibility of datapath traffic. backport-done/1.18 The backport for Cilium 1.18.x for this PR is done. backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. kind/community-contribution This was a contribution made by a community member. kind/feature This introduces new functionality. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.

Projects

No open projects
Status: Released

Development

Successfully merging this pull request may close these issues.

Helm chart: JSON log format support for Hubble Relay and Hubble UI components

8 participants