Node Tuning Helper Scripts
Installation
SKILL.md
Node Tuning Helper Scripts
Detailed instructions for invoking the helper utilities that back /node-tuning commands:
generate_tuned_profile.pyrenders Tuned manifests (tuned.openshift.io/v1).analyze_node_tuning.pyinspects live nodes or sosreports for tuning gaps.
When to Use These Scripts
- Translate structured command inputs into Tuned manifests for the Node Tuning Operator.
- Iterate on generated YAML outside the assistant or integrate the generator into automation.
- Analyze CPU isolation, IRQ affinity, huge pages, sysctl values, and networking counters from live clusters or archived sosreports.
Prerequisites
- Python 3.8 or newer (
python3 --version). - Repository checkout so the scripts under
plugins/node-tuning/skills/scripts/are accessible. - Optional:
ocCLI when validating or applying manifests. - Optional: Extracted sosreport directory when running the analysis script offline.
- Optional (remote analysis):
ocCLI access plus a validKUBECONFIGwhen capturing/proc//sysor sosreport viaoc debug node/<name>. The sosreport workflow pulls theregistry.redhat.io/rhel9/support-toolsimage (override with--toolbox-imageorTOOLBOX_IMAGE) and requires registry access. HTTP(S) proxy env vars from the host are forwarded automatically when present, but using a proxy is optional.