talos icon indicating copy to clipboard operation
talos copied to clipboard

[Feature Request] talosctl apply --wait

Open ChickenIQ opened this issue 1 year ago • 1 comments

Feature Request

Description

An option for talosctl to wait after applying the config if the node is going to reboot.

This is useful mainly for automation, introducing a simple and clean way to make sure that a config is applied before continuing. Using the no-reboot mode is usually not an option as it will just error out and not apply the changes.

ChickenIQ avatar Jul 26 '24 11:07 ChickenIQ

Hi @ChickenIQ ! I think you can use talosctl health: `Usage: talosctl health [flags]

Flags: --control-plane-nodes strings specify IPs of control plane nodes -h, --help help for health --init-node string specify IPs of init node --k8s-endpoint string use endpoint instead of kubeconfig default --run-e2e run Kubernetes e2e test --server run server-side check (default true) --wait-timeout duration timeout to wait for the cluster to be ready (default 20m0s) --worker-nodes strings specify IPs of worker nodes

Global Flags: --cluster string Cluster to connect to if a proxy endpoint is used. --context string Context to be used in command -e, --endpoints strings override default endpoints in Talos configuration -n, --nodes strings target the specified nodes --talosconfig string The path to the Talos configuration file. Defaults to 'TALOSCONFIG' env variable if set, otherwise '$HOME/.talos/config' and '/var/run/secrets/talos.dev/config' in order.` for example wait-timeout

minivolk avatar Aug 13 '24 09:08 minivolk

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Feb 10 '25 02:02 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Feb 16 '25 02:02 github-actions[bot]