Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

192
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda