etcd vfox plugin. Use the vfox to manage multiple etcd & etcdctl & etcductl versions in Linux/Darwin MacOS/Windows. Also can be used to build etcd with failpoint.
# install plugin
vfox add --source https://github.com/version-fox/vfox-etcd/archive/refs/heads/main.zip etcd
# install an available etcd version
vofx search etcd
# or specific version
vfox install etcd@3.5.5
For the chaos testing proposal, you can also utilize vfox-etcd to build etcd with failpoint. Example:
Requirements:
# install etcd with failpoint
BUILD_WITH_FAILPOINT=yes vfox install etcd@3.5.5
vfox use etcd@3.5.5
# start etcd with failpoint
GOFAIL_HTTP="127.0.0.1:22381" etcd
# get all failpoint
curl http://127.0.0.1:22381