talos-helper
БесплатноБез исполняемых скриптовНе проверенTalos Linux cluster administration using talosctl When user mentions Talos, talosctl, or Talos cluster operations
от shepherdjerred★ 85 звёзд на GitHubОб этом скилле
Talos Helper Agent
What's New in 2025
- OCI Registry Cache:
talosctl image cache-servefor local registry over HTTP/HTTPS - System Logs: Automatic log rotation in
/var/logwith structured logging - Kernel Parameters:
talosctl get kernelparamstatusfor KSPP sysctl settings - Multi-Endpoint: Load balancing and automatic failover across control plane endpoints
- QEMU Support: QEMU x86 virtualization on macOS (Apple Silicon)
- Enhanced Context Management: Similar to kubectl, manage multiple clusters easily
Overview
This agent helps you manage Talos Linux Kubernetes clusters using talosctl for node configuration, cluster bootstrapping, and system maintenance.
Key Philosophy: Talos is API-driven infrastructure:
- No SSH Access: All operations through API
- No Package Manager: Immutable OS
- No Shell: Minimal attack surface
- YAML Configuration: Single source of truth
CLI Commands
Common Operations
Check version:
talosctl version
View cluster configuration:
talosctl config info
talosctl config contexts
Context management (like kubectl):
# List available contexts
talosctl config contexts
# Switch context
talosctl config context production-cluster
# Show current context
talosctl config info
# Add new context
talosctl config add staging \
--ca ca.crt \
--crt talos.crt \
--key talos.key \
--endpoints 10.0.1.10,10.0.1.11,10.0.1.12
# Merge contexts from another file
talosctl config merge ./staging-talosconfig
Multi-endpoint load balancing (2025):
# Multiple endpoints provide automatic failover
talosctl --endpoints 10.0.0.10,10.0.0.11,10.0.0.12 \
--nodes 10.0.0.20 get members
# Config with multiple endpoints
talosctl config add prod \
--endpoints 10.0.0.10,10.0.0.11,10.0.0.12 \
--nodes 10.0.0.10,10.0.0.11,10.0.0.12
# Client automatically load balances and fails over
Node status and health:
talosctl --nodes <node-ip> health
talosctl --nodes <node-ip> services
talosctl --nodes <node-ip> dmesg
talosctl --nodes <node-ip> logs kubelet
Get node configuration:
talosctl --nodes <node-ip> get machineconfig
talosctl --nodes <node-ip> read /etc/os-release
Cluster Bootstrapping
Initial Cluster Setup
# Generate cluster configuration
talosctl gen config my-cluster https://control-plane-ip:6443
# Apply configuration to nodes
talosctl apply-config --insecure --nodes <node-ip> --file controlplane.yaml
talosctl apply-config --insecure --nodes <node-ip> --file worker.yaml
# Bootstrap the cluster (only on one control plane node)
talosctl bootstrap --nodes <control-plane-ip>
# Get kubeconfig
talosctl kubeconfig --nodes <control-plane-ip>
Configuration Generation
# Generate with custom options
talosctl gen config my-cluster https://control-plane-ip:6443 \
--with-secrets secrets.yaml \
--config-patch @patch.yaml \
--kubernetes-version 1.28.0
# Generate secrets separately
talosctl gen secrets -o secrets.yaml
Node Management
Upgrading Nodes
# Upgrade Talos OS
talosctl --nodes <node-ip> upgrade \
--image ghcr.io/siderolabs/installer:v1.6.0
# Upgrade with preserve option
talosctl --nodes <node-ip> upgrade \
--image ghcr.io/siderolabs/installer:v1.6.0 \
--preserve
# Upgrade Kubernetes
talosctl --nodes <control-plane-ip> upgrade-k8s --to 1.28.0
Homelab (torvalds) upgrade gotchas
- Never pass
repo:tag@digesttotalosctl upgrade --image. containerd pulls by digest but the installer then looks up thetag@digestform in the store and fails with "not found in containerd store". Use the tag-only reference (e.g.factory.talos.dev/metal-installer-secureboot/<schematic>:vX.Y.Z). - Drains deadlock on unsatisfiable PDBs (minAvailable=1 on single-replica workloads on a single-node cluster). The upgrade aborts after ~5 min but leaves the node cordoned with pods Pending — a partial outage until manually uncordoned. Before any drain, check
kubectl get pdb -AforALLOWED DISRUPTIONS 0. (postgres-operator PDBs are disabled in code since PR #1126.) - Kernel lockdown posture: torvalds runs
lockdown=integrity(set via image-schematicextraKernelArgs [-lockdown, lockdown=integrity]) so eBPF profiling works. Secure-boot installs default tolockdown=confidentiality, which breaks eBPF — if reinstalled with secure boot, this reverts. Alsokernel.kptr_restrict=1viapackages/homelab/src/talos/torvalds/patches/sysctls.yaml. - After an upgrade that lands on a different version than the existing pin, update
versions.ts(siderolabs/talos,kubernetes/kubernetes) and the README example to the now-running version.
Node Maintenance
# Reboot node
talosctl --nodes <node-ip> reboot
# Shutdown node
talosctl --nodes <node-ip> shutdown
# Reset node (destructive!)
talosctl --nodes <node-ip> reset
# Reset and reboot
talosctl --nodes <node-ip> reset -
Установить talos-helper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл talos-helper?
Talos Linux cluster administration using talosctl When user mentions Talos, talosctl, or Talos cluster operations
Как установить скилл talos-helper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл talos-helper запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic