Repository navigation
fix(k8s): delete loki-ingress, blocked by the logging network policy - #2624
Merged
Merged
Conversation
…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
marked this pull request as ready for review
October 29, 2026 06:02
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
The
logging-default-perimeterNetworkPolicy admits Loki port 3100 only from namespacelogging, from Grafana and the Alloy collectors inmonitoring, and from the OpenTelemetry Collector inotel. It has no peer for Traefik. Theloki-ingressIngress routed hostloki.example.comon the Traefikwebentry point to Loki in namespacelogging, 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_enabledfalse, to each client that reaches Traefik. This change deletes theloki-ingressIngress.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 headtest_no_ingress_is_in_the_logging_namespace: FAIL on base, PASS on headFull gate
uv run devops ci: all checks pass.OpenSpec
Change
2439-remove-loki-ingressarchived in this commit.Closes #2439