Skip to content

Instantly share code, notes, and snippets.

@Chever-John
Last active July 20, 2022 02:41
Show Gist options
  • Save Chever-John/e6ff091c761681a081d9116fa0ad2409 to your computer and use it in GitHub Desktop.
Save Chever-John/e6ff091c761681a081d9116fa0ad2409 to your computer and use it in GitHub Desktop.
// start etcd
nohup etcd &
// stop etcd
kill `pgrep etcd`
// get all route info
etcdctl get / --prefix --keys-only
// delete all route info
etcdctl del /apisix/routes --prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment