Skip to content

Commit 2b3bc89

Browse files
authored
fix: set log_driver of reverse proxy pods to k8s-file (#223)
We don't want to log to journald, instead this makes logs available via `podman logs`. Co-authored-by: spameier <[email protected]>
1 parent b4f19aa commit 2b3bc89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roles/foreman/tasks/host_groups.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@
328328
parameter_type: yaml
329329
value:
330330
containers:
331+
log_driver: k8s-file # log to `podman logs`
331332
log_size_max: 1073741824 # 1Gib in bytes
332333
network:
333334
default_rootless_network_cmd: slirp4netns
@@ -462,6 +463,7 @@
462463
parameter_type: yaml
463464
value:
464465
containers:
466+
log_driver: k8s-file # log to `podman logs`
465467
log_size_max: 1073741824 # 1Gib in bytes
466468
network:
467469
default_rootless_network_cmd: slirp4netns

0 commit comments

Comments
 (0)