aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/register_external_services.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-01-31 19:03:54 +0100
committerAlex Auvolat <alex@adnab.me>2024-01-31 19:04:02 +0100
commit4cddb15fa4a25f4246ff804e72d3b55fd7676d4c (patch)
tree9a43c9556abaf089d6509e54a3a77bec6f10fb44 /cluster/prod/register_external_services.sh
parent1bf356e49d3ed98515af370d38ff1047555dd743 (diff)
downloadnixcfg-4cddb15fa4a25f4246ff804e72d3b55fd7676d4c.tar.gz
nixcfg-4cddb15fa4a25f4246ff804e72d3b55fd7676d4c.zip
prod: updat external services
Diffstat (limited to 'cluster/prod/register_external_services.sh')
-rwxr-xr-xcluster/prod/register_external_services.sh48
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