To delete a node has been registered on the consul

1, find the ID to be deleted on the consul,

   

 

    2, to delete the node ID on the consul: fixed format:

      If the command is successful: no return value   

[root@beta-commonsrv01 ~] $curl --request PUT http://10.1.0.4:8500/v1/agent/service/deregister/followme.srv.pyramid-10.1.0.22-5019-5bf0fae0-389e-461e-8729-6701e776696e

[root@beta-commonsrv01 ~] $

Guess you like

Origin www.cnblogs.com/kaishirenshi/p/10945481.html
Recommended