diff options
Diffstat (limited to 'cluster')
-rwxr-xr-x | cluster/prod/register_external_services.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cluster/prod/register_external_services.sh b/cluster/prod/register_external_services.sh index 9c00216..3b6a35e 100755 --- a/cluster/prod/register_external_services.sh +++ b/cluster/prod/register_external_services.sh @@ -39,3 +39,42 @@ curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: app } } EOF + +# Orsay (neptune): Alex's personnal stuff + +curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF +{ + "Datacenter": "prod", + "Node": "lindy", + "Address": "192.168.1.184", + "NodeMeta": { + "site": "neptune", + "cname_target": "neptune.site.deuxfleurs.fr." + }, + "Service": { + "Service": "lx-apimdev", + "Tags": ["tricot apimdev.adnab.me"], + "Address": "192.168.1.184", + "Port": 8910 + } +} +EOF + + +curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF +{ + "Datacenter": "prod", + "Node": "www.isomorphis.me", + "Address": "192.168.1.24", + "NodeMeta": { + "site": "neptune", + "cname_target": "neptune.site.deuxfleurs.fr." + }, + "Service": { + "Service": "isomorphis.me-web", + "Tags": ["tricot *.isomorphis.me"], + "Address": "192.168.1.24", + "Port": 5000 + } +} +EOF |