consul上刪除已經註冊的節點

1,在consul上找到要刪除的ID,curl

   

 

    2,在consul的節點上刪除這個ID:固定格式:url

      命令若是運行成功:沒有任何的返回值   blog

[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-6701e776696eservice

[root@beta-commonsrv01 ~] $request

相關文章
相關標籤/搜索