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

Native ingress does not support log deletion endpoints in Loki Helm Chart #14389

Open
ojroques opened this issue Oct 4, 2024 · 0 comments · May be fixed by #14390
Open

Native ingress does not support log deletion endpoints in Loki Helm Chart #14389

ojroques opened this issue Oct 4, 2024 · 0 comments · May be fixed by #14390
Labels
area/helm type/bug Somehing is not working as expected

Comments

@ojroques
Copy link

ojroques commented Oct 4, 2024

Describe the bug
Native ingress does not support log deletion endpoints in Loki Helm Chart. This is because the endpoints are not defined in the values.yaml: https://github.com/grafana/loki/blob/main/production/helm/loki/values.yaml#L1175-L1215.

To Reproduce
Steps to reproduce the behavior:

  1. Use Loki Helm Chart in any mode
  2. Use the native Ingress instead of the gateway:
ingress:
  enabled: true
  1. Query the log deletion endpoint/loki/api/v1/delete:
curl \
  --request "POST" \
  --get \
  --data-urlencode "start=$(date -d '1 hour ago' '+%s')" \
  "https://<hostname>/loki/api/v1/delete"

We get 404 page not found.

Expected behavior
The log deletion endoints are defined.

Environment:

  • Infrastructure: Kubernetes
  • Deployment tool: Helm
@JStickler JStickler added area/helm type/bug Somehing is not working as expected labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants