skills/core/pod-show-gateway/SKILL.md
Show the gateway for a network interface in a Kubernetes pod. Reads the routing table via `ip -j route` from the pod's network namespace. First resolve_pod_netns, then node_script with netns param.
npx skillsauth add scitix/siclaw pod-show-gatewayInstall 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.
This skill runs in the pod's network namespace using host tools. Two steps required:
resolve_pod_netns: pod="<pod>", namespace="<ns>"
node_script: node="<node>", netns="<netns>", skill="pod-show-gateway", script="show-gateway.sh", args="<args>"
| Parameter | Required | Description |
|-----------|----------|-------------|
| --interface IFACE | no | Network interface name. If omitted, shows all. |
| --json | no | Output in JSON format |
resolve_pod_netns: pod="rdma-pod", namespace="rdma-test"
→ node="worker-1", netns="abc123"
node_script: node="worker-1", netns="abc123", skill="pod-show-gateway", script="show-gateway.sh", args="--interface net1"
node_script: node="worker-1", netns="abc123", skill="pod-show-gateway", script="show-gateway.sh"
node_script: node="worker-1", netns="abc123", skill="pod-show-gateway", script="show-gateway.sh", args="--json"
The output table includes a TYPE column identifying each interface type:
| TYPE | Meaning |
|------|---------|
| RoCE | Ethernet interface with an RDMA device attached |
| Ethernet | Regular Ethernet interface |
| IB | InfiniBand interface |
Detection logic: /sys/class/net/<dev>/type = 32 → IB; type=1 and rdma link contains netdev <dev> → RoCE; otherwise → Ethernet.
JSON output (--json) also includes a type field in each gateway entry.
See node-show-gateway for the node version.
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.