Skip to content

a tool to register service instance from discovery service to registrator service

License

Notifications You must be signed in to change notification settings

go-chassis/registrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

registrator

a tool to register service instance from service center to another service center

Guide

  1. build images
bash ./build_image.sh
  1. prepare config reg.yaml
source:
  address: http://127.0.0.1:30100
  fetchInterval: 60s #how long to fetch services and instances and register them to target registry,
                  #if your instances is not changing rapidly, you can set it to longer
  exclude: SERVICECENTER,CseConfigCenter,CseMonitoring,REGISTRATOR
target:
  address: http://127.0.0.1:30200
  heartbeatInterval: 30s # how long to send heart beat to target registry
  1. Run, CSE_REGISTRY_ADDR must equal to address of source
docker run -v /path/to/conf_folder/:/etc/registrator/conf/ -p 8080:8080 gomesh/registrator 

About

a tool to register service instance from discovery service to registrator service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published