aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-24 10:17:49 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-24 10:18:02 +0200
commitc31de0e94fed68cb25dbf15fc5a95008351b3e19 (patch)
tree34355613da8462af5d991454c423daa93fc01f71 /cluster
parent7022b768e4efac52b87a4041000c875b9bedda61 (diff)
downloadnixcfg-c31de0e94fed68cb25dbf15fc5a95008351b3e19.tar.gz
nixcfg-c31de0e94fed68cb25dbf15fc5a95008351b3e19.zip
tricot passthrough of external services at neptune
Diffstat (limited to 'cluster')
-rwxr-xr-xcluster/prod/register_external_services.sh39
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