Open mcfly722 opened 5 months ago
This issue has not had any activity in the past 30 days, so the needs-attention
label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention
label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!
What's wrong?
Hello, I configured Alloy with loki.source.syslog plugin to forward all logs to loki.write.
loki.source.syslog listens incoming traffic in container on its own port (in config it is = 31010). I need to configure each rsyslog on k8s nodes to forward logs to loki.source.syslog. I'm trying to publish it through agent.extraPorts parameter on NodePort service, but your service does not support nodePort option for extraPorts, so every time kubernetes replaces it with random one.
It is impossible to use it, because it is every time random.
Fix could be applied to: https://github.com/grafana/alloy/blob/main/operations/helm/charts/alloy/templates/service.yaml you should add
in extraPorts range, to make it work.
Steps to reproduce
Create values config
deploy alloy:
view created service:
System information
No response
Software version
REVISION: 1
Configuration
No response
Logs
No response