Hello Promtail Experts,
I'm getting connection refused from rsyslogd to promtail-syslog service.
Anything else i can check?
Thank you.
Setup: Kubernetes - no netpol setup.
Rsyslog pod log:
Rsyslogd config:
action(type="omfwd" protocol="tcp" target="promtail-syslog" port="1514" Template="RSYSLOG_SyslogProtocol23Format" TCP_Framing="octet-counted" KeepAlive="on")
Kubernetes service: i can see promtail-syslog created and bound to the datasets of the promtail.
I tried creating a busybox and connecting via curl to the promtail service i'm getting the same connection refused as well.
-
/home # curl -v telnet://promtail-syslog:1514
* About to connect() to promtail-syslog port 1514 (#0)
* Trying 100.67.76.223...
* Adding handle: conn: 0x10dbdbb0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x10dbdbb0) send_pipe: 1, recv_pipe: 0
* Connection refused
* Failed connect to promtail-syslog:1514; Connection refused
* Closing connection 0
curl: (7) Failed connect to promtail-syslog:1514; Connection refused
-