I’m using traefik 1.7.12 with no .toml file, just command line parameters and docker labels. We’re using swarm on AWS with cloudwatch logging. Several times the traefik container is stopping , with no log output, and either exit code 0, or exit code 137. Inspecting the stopped container shows OOMKilled: false , there are sufficient resources on the swarm managers. Anyone see this? What could be the problem?
Running traefik as a docker service with the following command line options to the container:
"Args": [
"--docker",
"--docker.swarmmode",
"--docker.domain=traefik",
"--docker.watch",
"--docker.exposedbydefault=false",
"--web"
],
And the labels for the containers:
"traefik.docker.network": "traefiknet",
"traefik.enable": "true",
"traefik.frontend.entryPoints": "http",
"traefik.frontend.rule": "Host:someprefix.somedomain.io",
"traefik.port": "80"
The configuration works just fine, everything is correctly routed.
It’s just that maybe once a week (but we did have 3 in a week recently) the traefik process will exit with either (0) or (137).
There is nothing in cloudwatch [docker log] for the traefik daemon.
I know this isn’t much to go on, but would appreciate some help in what to investigate next. Thanks.