skills/core/node-logs/SKILL.md
Retrieve logs from a Kubernetes node. Supports journalctl (systemd units) and file-based logs. Use when you need to inspect node-level logs (containerd, kubelet, etc.). Execute via node_script tool.
npx skillsauth add scitix/siclaw node-logsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the node_script tool to run this skill:
node_script: node="<node>", skill="node-logs", script="get-node-logs.sh", args="<args>"
Required (one of):
| Parameter | Description |
|-----------|-------------|
| --unit UNIT | Systemd unit name (e.g. containerd, kubelet). Use this or --file. |
| --file PATH | Log file path on the node (e.g. /var/log/messages). Use this or --unit. |
Optional:
| Parameter | Default | Description |
|-----------|---------|-------------|
| --since DURATION | 1h ago | Time range for journalctl (only with --unit), e.g. 30m ago, 2h ago, today |
| --grep PATTERN | — | Case-insensitive grep filter pattern |
| --tail N | 200 | Maximum number of output lines |
Check containerd logs on a node:
node_script: node="node-1", skill="node-logs", script="get-node-logs.sh", args="--unit containerd --tail 50"
Search containerd logs for a specific image:
node_script: node="node-1", skill="node-logs", script="get-node-logs.sh", args='--unit containerd --grep "myregistry.com/myapp" --since "2h ago"'
Check kubelet logs for errors:
node_script: node="node-1", skill="node-logs", script="get-node-logs.sh", args='--unit kubelet --grep "error" --since "30m ago"'
Read a log file on the node:
node_script: node="node-1", skill="node-logs", script="get-node-logs.sh", args='--file /var/log/messages --grep "containerd" --tail 100'
Check containerd or cri-o logs when pods fail to start, images fail to pull, or containers crash unexpectedly.
Check kubelet logs for node-level issues like pod evictions, volume mount failures, or resource pressure.
Read /var/log/messages, /var/log/syslog, or other log files for kernel or system-level issues affecting the node.
development
Guide for writing and improving Siclaw skills. Read this when creating or modifying a skill. Covers skill directory layout, SKILL.md format, script execution modes, and best practices.
development
Guides the user to the Siclaw Web page to manage Skills. Use this guide when the user requests to create, edit, or view a Skill in a Channel conversation.
development
Retrieve and analyze Volcano scheduler logs. Filter by keyword, time range, or pod name to debug scheduling decisions.
tools
View Volcano scheduler configuration. Check scheduler ConfigMap, actions, plugins, and tier settings.