add-node
Add a new node to the Kubernetes cluster. Use when connecting new hardware, expanding cluster capacity, or setting up worker nodes.
Best use case
add-node is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Add a new node to the Kubernetes cluster. Use when connecting new hardware, expanding cluster capacity, or setting up worker nodes.
Teams using add-node should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/add-node/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How add-node Compares
| Feature / Agent | add-node | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Add a new node to the Kubernetes cluster. Use when connecting new hardware, expanding cluster capacity, or setting up worker nodes.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Add New Node to Cluster
Complete workflow to add a new node to the Kubernetes cluster via Tailscale.
## Steps Overview
1. Discover the node on Tailscale
2. Add to Ansible inventory
3. Run bootstrap playbook
4. Run preflight checks
5. Add to cluster
## Instructions
### Step 1: Discover the Node
Check if the node is visible on Tailscale:
```bash
tailscale status | grep -i <node_name>
```
If not found, the user needs to install Tailscale on the target:
```bash
# On target node:
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up
```
### Step 2: Get Node Details
Required information:
- **Node name**: Hostname (should match Tailscale name)
- **Role**: worker (default) or control-plane
- **Reserved CPU**: CPU cores for local use (default: "2")
- **Reserved Memory**: Memory to reserve (default: "4Gi")
- **GPU**: Has GPU? (default: false)
- **Labels**: Custom labels (optional)
### Step 3: Update Inventory
Add to `ansible/inventory/hosts.yml`:
```yaml
workers:
hosts:
<node_name>:
ansible_host: <tailscale_ip>
tailscale_ip: <tailscale_ip>
reserved_cpu: "2"
reserved_memory: "4Gi"
node_labels:
node-role: worker
workstation: "true"
bootstrap:
hosts:
<node_name>: {}
```
### Step 4: Setup SSH Access
Test connectivity:
```bash
ssh -o BatchMode=yes -o ConnectTimeout=5 <tailscale_ip> echo "SSH OK" 2>/dev/null
```
If fails:
```bash
ssh-copy-id <user>@<tailscale_ip>
```
### Step 5: Run Bootstrap Playbook
```bash
cd /home/al/git/kubani
ansible-playbook -i ansible/inventory/hosts.yml ansible/playbooks/bootstrap_node.yml --limit <node_name>
```
### Step 6: Run Preflight Checks
```bash
ansible-playbook -i ansible/inventory/hosts.yml ansible/playbooks/preflight_checks.yml --limit <node_name>
```
### Step 7: Add Node to Cluster
Include control plane node to fetch join token:
```bash
ansible-playbook -i ansible/inventory/hosts.yml ansible/playbooks/add_node.yml --limit "<node_name>,sparky"
```
### Step 8: Verify
```bash
KUBECONFIG=/home/al/.kube/config kubectl get nodes
```
## Troubleshooting
- **SSH failed**: Run `ssh-copy-id <user>@<ip>` manually
- **Bootstrap failed**: Usually package or network issue
- **Preflight failed**: Missing Tailscale auth or network issues
- **Add node failed**: Check control plane healthRelated Skills
admin-infra-linode
Deploys infrastructure on Linode (Akamai Cloud) with Linodes, Firewalls, and VLANs. Strong Kubernetes support with Cluster Autoscaler and Akamai edge network integration. Use when: setting up Linode/Akamai infrastructure, deploying Linodes, configuring firewalls, needing Kubernetes autoscaling, wanting Akamai CDN integration. Keywords: linode, akamai, linode-cli, VPS, dedicated CPU, firewall, VLAN, kubernetes autoscale, infrastructure
add-nodebridge-handler
Use this skill when adding a new NodeBridge handler to src/nodeBridge.ts, including updating types in src/nodeBridge.types.ts and optionally testing with scripts/test-nodebridge.ts
add-dag-node
Scaffold a new DAG node in afi-reactor, wire it into the pipeline, and ensure all types and validators are imported from afi-core while obeying AFI Orchestrator Doctrine and the AFI Droid Charter.
Backend Node.js Expert
专注于 Node.js 后端开发模式与最佳实践。
modal-deployment
Run Python code in the cloud with serverless containers, GPUs, and autoscaling using Modal. This skill enables agents to generate code for deploying ML models, running batch jobs, serving APIs, and scaling compute-intensive workloads.
grail-miner
This skill assists in setting up, managing, and optimizing Grail miners on Bittensor Subnet 81, handling tasks like environment configuration, R2 storage, model checkpoint management, and performance tuning.
astro
This skill provides essential Astro framework patterns, focusing on server-side rendering (SSR), static site generation (SSG), middleware, and TypeScript best practices. It helps AI agents implement secure authentication, manage API routes, and debug rendering behaviors within Astro projects.
tech-blog
Generates comprehensive technical blog posts, offering detailed explanations of system internals, architecture, and implementation, either through source code analysis or document-driven research.
ux
This AI agent skill provides comprehensive guidance for creating professional and insightful User Experience (UX) designs, covering user research, information architecture, interaction design, visual guidance, and usability evaluation. It aims to produce actionable, user-centered solutions that avoid generic AI aesthetics.
ontopo
An AI agent skill to search for Israeli restaurants, check table availability, view menus, and retrieve booking links via the Ontopo platform, acting as an unofficial interface to its data.
vly-money
Generate crypto payment links for supported tokens and networks, manage access to X402 payment-protected content, and provide direct access to the vly.money wallet interface.
chrome-debug
This skill empowers AI agents to debug web applications and inspect browser behavior using the Chrome DevTools Protocol (CDP), offering both collaborative (headful) and automated (headless) modes.