Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

190
Views
haproxy logs in a kubernetes container

I'm trying to run haproxy in a container deployed by kubernetes but it won't start from my entry script, when I logged into the container and tried to start it by hand I get:

[ALERT] 021/125902 (998) : sendto logger #1 failed: No such file or directory (errno=2)

The haproxy config I have for logging is:

log /dev/log    local2 debug

And in /etc/rsyslog.conf I have:

local2.* /etc/haproxy/logs/haproxy.log

I have /etc/haproxy as a shared volume mount in the container. So I want to send the logs to a file. The problem I have is that systemd-journald is not running in the container (from google searches seems like getting it to run is not straight forward). The error that haproxy is complained about is because there is no /dev/log in the container. So How do I get haproxy logs from my container?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!