prod: updat external services
This commit is contained in:
parent
1bf356e49d
commit
4cddb15fa4
2 changed files with 10 additions and 43 deletions
|
@ -118,6 +118,9 @@
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEve02acr522psrPxeElkwIPw2pc6QWtsUVZoaigqwZZ"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEve02acr522psrPxeElkwIPw2pc6QWtsUVZoaigqwZZ"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL/h+rxR2o+vN0hUWQPdpO7YY9aaKxO3ZRnUh9QiKBE7"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL/h+rxR2o+vN0hUWQPdpO7YY9aaKxO3ZRnUh9QiKBE7"
|
||||||
];
|
];
|
||||||
|
armael = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJOoPghSM72AVp1zATgQzeLkuoGuP9uUTTAtwliyWoix"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# For Garage external communication
|
# For Garage external communication
|
||||||
|
|
|
@ -42,57 +42,21 @@ EOF
|
||||||
|
|
||||||
# Orsay (neptune): Alex's personnal stuff
|
# Orsay (neptune): Alex's personnal stuff
|
||||||
|
|
||||||
|
|
||||||
curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF
|
curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF
|
||||||
{
|
{
|
||||||
"Datacenter": "prod",
|
"Datacenter": "prod",
|
||||||
"Node": "lindy",
|
"Node": "pivert",
|
||||||
"Address": "192.168.1.184",
|
"Address": "192.168.1.189",
|
||||||
"NodeMeta": {
|
"NodeMeta": {
|
||||||
"site": "neptune",
|
"site": "neptune",
|
||||||
"cname_target": "neptune.site.deuxfleurs.fr."
|
"cname_target": "neptune.site.deuxfleurs.fr."
|
||||||
},
|
},
|
||||||
"Service": {
|
"Service": {
|
||||||
"Service": "lx-apimdev",
|
"Service": "garage.isomorphis.me",
|
||||||
"Tags": ["tricot apimdev.adnab.me"],
|
"Tags": ["tricot garage.isomorphis.me"],
|
||||||
"Address": "192.168.1.184",
|
"Address": "192.168.1.189",
|
||||||
"Port": 8910
|
"Port": 3900
|
||||||
}
|
|
||||||
}
|
|
||||||
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",
|
|
||||||
"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
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue