diff options
author | Alex Auvolat <alex@adnab.me> | 2024-01-31 19:03:54 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-01-31 19:04:02 +0100 |
commit | 4cddb15fa4a25f4246ff804e72d3b55fd7676d4c (patch) | |
tree | 9a43c9556abaf089d6509e54a3a77bec6f10fb44 /cluster/prod/register_external_services.sh | |
parent | 1bf356e49d3ed98515af370d38ff1047555dd743 (diff) | |
download | nixcfg-4cddb15fa4a25f4246ff804e72d3b55fd7676d4c.tar.gz nixcfg-4cddb15fa4a25f4246ff804e72d3b55fd7676d4c.zip |
prod: updat external services
Diffstat (limited to 'cluster/prod/register_external_services.sh')
-rwxr-xr-x | cluster/prod/register_external_services.sh | 48 |
1 files changed, 6 insertions, 42 deletions
diff --git a/cluster/prod/register_external_services.sh b/cluster/prod/register_external_services.sh index 7db4e7a..aed55ad 100755 --- a/cluster/prod/register_external_services.sh +++ b/cluster/prod/register_external_services.sh @@ -42,57 +42,21 @@ 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": "lindy", - "Address": "192.168.1.184", - "NodeMeta": { - "site": "neptune", - "cname_target": "neptune.site.deuxfleurs.fr." - }, - "Service": { - "Service": "lx-apimtest", - "Tags": ["tricot apimtest.adnab.me"], - "Address": "192.168.1.184", - "Port": 8920 - } -} -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", + "Node": "pivert", + "Address": "192.168.1.189", "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 + "Service": "garage.isomorphis.me", + "Tags": ["tricot garage.isomorphis.me"], + "Address": "192.168.1.189", + "Port": 3900 } } EOF |