Files
cheatsheet-tldr/tldr/talosctl
2025-12-21 00:23:35 +00:00

35 lines
888 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# talosctl
> Interact with Talos Linux, a minimal and immutable Kubernetes distribution.
> See also: `kubectl`.
> More information: <https://docs.siderolabs.com/talos/v1.11/reference/cli>.
- Apply a config to a fresh node:
`talosctl apply-config {{[-i|--insecture]}} {{[-n|--nodes]}} {{control_plane_ip}} {{[-f|--file]}} {{path/to/control_plane.yaml}}`
- Bootstrap the `etcd` cluster on a node:
`talosctl bootstrap {{[-n|--nodes]}} {{node_ip}}`
- Edit an API resource:
`talosctl edit {{resource_to_edit}} {{[-n|--nodes]}} {{node_ip}}`
- Get resources:
`talosctl get {{resource_to_get}} {{[-n|--nodes]}} {{node_ip}}`
- Download the admin kube configuration from a node:
`talosctl kubeconfig {{[-n|--nodes]}} {{node_ip}}`
- Reset a node:
`talosctl reset {{[-n|--nodes]}} {{node_ip}}`