ども、 cloudpack の かっぱ (@inokara) です。前回の続きです。 準備 サービスの登録 2 つの Consul ノードで Redis を動かした状態 Redis を Consul には redis と redis-read というサービス名で登録 サービス名の登録は以下のように。 { "service": { "name": "redis", "port": 6379, "check": { "script": "/opt/bin/check_redis.sh", "interval": "10s" } } } { "service": { "name": "redis-read", "port": 6379, "check": { "script": "/opt/bin/check_redis.sh", "interval": "10s" } } } consul を