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

HPA for Loki-indexer in a failed state when zoneAwareReplication is set to enabled #14021

Closed
sepulworld opened this issue Sep 1, 2024 · 0 comments · Fixed by #14565
Closed
Labels
type/bug Somehing is not working as expected

Comments

@sepulworld
Copy link

sepulworld commented Sep 1, 2024

Describe the bug
HPA for Loki-indexer in a failed state when zoneAwareReplication is set to enabled

To Reproduce

  • add HPA for indexer
ingester:
  zoneAwareReplication:
    enabled: true
  autoscaling:
    enabled: true
    minReplicas: 1
    maxReplicas: 15
    targetCPUUtilizationPercentage: 80
    targetMemoryUtilizationPercentage: 80
kubectl describe hpa loki-ingester -n monitoring

---snip---
  Warning  FailedGetScale  30s (x6119 over 25h)  horizontal-pod-autoscaler  statefulsets.apps "loki-ingester" not found

There is no loki-ingester statefulset. There are instead the 3 zone aware statefulsets.

Expected behavior

expect to see HPA working with the zone aware statefulsets.

Environment:

  • Infrastructure: Kubernettes
  • Deployment tool: helm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants