diff options
Diffstat (limited to 'cluster/prod')
-rw-r--r-- | cluster/prod/register_personal_services.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cluster/prod/register_personal_services.sh b/cluster/prod/register_personal_services.sh new file mode 100644 index 0000000..6ea8dbe --- /dev/null +++ b/cluster/prod/register_personal_services.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + + +curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF +{ + "Datacenter": "prod", + "Node": "spoutnik", + "Address": "192.168.1.60", + "NodeMeta": { "somekey": "bidon" }, + "Service": { + "Service": "adrien-nginx", + "Tags": ["tricot-https *.luxeylab.net"], + "Address": "192.168.1.60", + "Port": 443 + } +} +EOF |