Skip to main content

@magistr/talm-cluster

v2026.03.13.1

Talos cluster lifecycle management via talm — init, configure, template nodes, apply configs, bootstrap, and health checks

Labels

talostalmkubernetesinfrastructurecluster

Contents

Quality score

How well-documented and verifiable this extension is.

Not yet scored.

A score will be generated the next time this extension is published. The owner can also trigger scoring manually.

Install

$ swamp extension pull @magistr/talm-cluster

@magistr/talm-clusterv2026.03.13.1talm_cluster.ts
getClusterStateCheck cluster directory state — whether secrets, values, talosconfig, and kubeconfig exist
initInitialize talm cluster directory with preset
ArgumentTypeDescription
namestringCluster name
presetstringTalm preset (default: cozystack)
configureUpdate values.yaml in the cluster directory
ArgumentTypeDescription
endpointstringAPI server endpoint URL (e.g., https://192.168.88.17:6443)
floatingIPstringFloating/VIP IP for the cluster
imagestringTalos install image (e.g., ghcr.io/cozystack/cozystack/talos:v1.10.5)
podSubnetsstringPod CIDR
serviceSubnetsstringService CIDR
advertisedSubnetsstringAdvertised subnet for BGP/routing
templateNodeGenerate node config from template using talm template (retries on connection errors)
ArgumentTypeDescription
nodeIPstringNode IP address
templatestringTemplate file path (relative to cluster dir)
outputFilestringOutput file path (relative to cluster dir)
installDiskstringInstall disk device (talm auto-discovers /dev/sr0 for CD-ROM which is wrong)
applyApply node config using talm apply
ArgumentTypeDescription
nodeFilestringNode config file path (relative to cluster dir)
insecurebooleanUse --insecure flag for maintenance mode
bootstrapBootstrap the cluster using talosctl (post-apply, nodes on port 50000)
ArgumentTypeDescription
endpointstringNode endpoint IP to bootstrap
kubeconfigRetrieve kubeconfig from a node via talosctl
ArgumentTypeDescription
endpointstringNode endpoint IP
outputFilestringOutput file name (relative to cluster dir)
healthCheck cluster health via talosctl using cluster talosconfig
ArgumentTypeDescription
waitTimeoutstringHow long to wait for health (e.g., 30s, 5m, 10m)
endpointstringNode endpoint IP to check

Resources

result(1h)— Command execution output
nodeConfig(infinite)— Generated node configuration file path