Skip to content

Commit d89913a

Browse files
committed
debug logs crio
1 parent ef89f32 commit d89913a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- name: Get logs of crio
2+
hosts: all
3+
gather_facts: false
4+
become: true
5+
tasks:
6+
- name: Show journal logs for CRI-O
7+
command: journalctl -u crio.service -e -n 300

roles/container-engine/cri-o/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
content: |
124124
[Service]
125125
Slice={{ kube_reserved_cgroups_for_service_slice }}
126-
Environment=CRIO_CONFIG_OPTIONS='--pull-progress-timeout=10'
126+
Environment=CRIO_CONFIG_OPTIONS='--log-level=debug --log-journald'
127127
notify: Restart crio
128128
when:
129129
- kube_reserved is defined and kube_reserved is true

0 commit comments

Comments
 (0)