Skip to content

fix(k8s): delete loki-ingress, blocked by the logging network policy - #2624

Merged
dan-petty merged 1 commit into
mainfrom
fix/2439-remove-loki-ingress
Oct 29, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2439-remove-loki-ingress

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

What this changes

The logging-default-perimeter NetworkPolicy admits Loki port 3100 only from namespace logging, from Grafana and the Alloy collectors in monitoring, and from the OpenTelemetry Collector in otel. It has no peer for Traefik. The loki-ingress Ingress routed host loki.example.com on the Traefik web entry point to Loki in namespace logging, so each request failed at the policy.

#1632 decided to keep the policy closed, because a Traefik peer would open the Loki API, with auth_enabled false, to each client that reaches Traefik. This change deletes the loki-ingress Ingress.

Checks

Failing tests added, then verified with uv run devops ci fail-to-pass --base origin/main:

  • test_no_ingress_routes_to_loki_in_the_logging_namespace: FAIL on base, PASS on head
  • test_no_ingress_is_in_the_logging_namespace: FAIL on base, PASS on head

Full gate uv run devops ci: all checks pass.

OpenSpec

Change 2439-remove-loki-ingress archived in this commit.

Closes #2439

…cy blocks

The logging-default-perimeter policy admits port 3100 only from namespace
logging, from Grafana and the Alloy collectors in monitoring, and from the
OpenTelemetry Collector in otel. It has no peer for Traefik, so each
request to loki.example.com failed. #1632 decided to keep the policy
closed and delete the Ingress.

Fail-to-pass: uv run devops ci fail-to-pass --base origin/main
- test_no_ingress_routes_to_loki_in_the_logging_namespace: FAIL on base, PASS on head
- test_no_ingress_is_in_the_logging_namespace: FAIL on base, PASS on head

Closes #2439
@dan-petty dan-petty changed the title fix(k8s): delete loki-ingress, whose backend the logging network policy blocks fix(k8s): delete loki-ingress, blocked by the logging network policy Oct 29, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 06:02
@dan-petty
dan-petty merged commit 7c956e3 into main Oct 29, 2026
16 of 17 checks passed
@dan-petty
dan-petty deleted the fix/2439-remove-loki-ingress branch October 29, 2026 06:03
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.15.1](v0.15.0...v0.15.1)
(2026-10-29)


### Bug Fixes

* **k8s:** delete loki-ingress, blocked by the logging network policy
([#2624](#2624))
([7c956e3](7c956e3)),
closes [#2439](#2439)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): delete loki-ingress, whose backend the logging network policy blocks

1 participant