Skip to content

config: bind readiness probe to localhost#2

Merged
nddq merged 1 commit intocilium:masterfrom
nddq:config-readiness-localhost
Feb 18, 2026
Merged

config: bind readiness probe to localhost#2
nddq merged 1 commit intocilium:masterfrom
nddq:config-readiness-localhost

Conversation

@nddq
Copy link
Copy Markdown
Member

@nddq nddq commented Feb 4, 2026

Change readiness_addr from binding to 0.0.0.0 (all interfaces) to 127.0.0.1 (localhost only). Since ztunnel runs with hostNetwork: true, binding to all interfaces unnecessarily exposes the readiness endpoint to the network. The kubelet runs on the same node and can reach localhost for health probes.

This reduces attack surface for hostNetwork pods.

Change readiness_addr from binding to 0.0.0.0 (all interfaces) to
127.0.0.1 (localhost only). Since ztunnel runs with hostNetwork: true,
binding to all interfaces unnecessarily exposes the readiness endpoint
to the network. The kubelet runs on the same node and can reach
localhost for health probes.

This reduces attack surface for hostNetwork pods.

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>
@nddq nddq merged commit 1d6463d into cilium:master Feb 18, 2026
@nddq nddq deleted the config-readiness-localhost branch February 18, 2026 18:52
@nddq nddq added enhancement New feature or request release-note/minor This PR changes functionality that users may find relevant while operating the software. labels Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request release-note/minor This PR changes functionality that users may find relevant while operating the software.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants