Files
kubespray/tests/files/ubuntu24-ha-separate-etcd
Max Gautier 16e3670dd4 Remove etcd member by peerURLs (#12691)
The way to obtain the IP of a particular member is convoluted and depend
on multiple variables. The match is also textual and it's not clear
against what we're matching

It's also broken for etcd member which are not also Kubernetes nodes,
because the "Lookup node IP in kubernetes" task will fail and abort the
play.

Instead, match against 'peerURLs', which does not need new variable, and
use json output.

- Add testcase for etcd removal on external etcd
2025-11-17 02:53:40 -08:00

3 lines
48 B
Plaintext

REMOVE_NODE_CHECK=true
REMOVE_NODE_NAME=etcd[2]