0
私はクライアントモードでホストに領事エージェントを追加し、サービスを追加しました。 そして今、それは常に静かにサービスを削除し、再度、登録領事は常にサービスを削除します
2017/01/27 08:25:23 [INFO] consul: member 'static' joined, marking health alive
2017/01/27 08:26:23 [INFO] consul: member 'static' joined, marking health alive
2017/01/27 08:28:23 [INFO] consul: member 'static' joined, marking health alive
2017/01/27 08:29:23 [INFO] consul: member 'static' joined, marking health alive
2017/01/27 08:30:23 [INFO] consul: member 'static' joined, marking health alive
2017/01/27 08:31:23 [INFO] consul: member 'static' joined, marking health alive
2017/01/27 08:33:23 [INFO] consul: member 'static' joined, marking health alive
2017/01/27 08:35:23 [INFO] consul: member 'static' joined, marking health alive
2017/01/27 08:37:23 [INFO] consul: member 'static' joined, marking health alive
サービスの設定が
{
"service": {
"tags": [
"master"
],
"address": "172.16.50.40",
"port": 5432,
"name": "staging-postgres"
}
}
それは永遠にサービスを登録して、手動でのみ登録解除するかのうです簡単ですか?
クライアントの代わりに領事サーバーに直接登録しようとしましたか? – Amos