experimental consul branch

This commit is contained in:
2020-03-10 12:01:09 +01:00
parent 36e337b67b
commit 50a83e32d8
12 changed files with 1212 additions and 39 deletions

View File

@@ -0,0 +1,3 @@
Kind = "service-defaults"
Name = "server-a"
Protocol = "http"

View File

@@ -0,0 +1,3 @@
Kind = "service-defaults"
Name = "server-b"
Protocol = "http"

View File

@@ -0,0 +1,3 @@
Kind = "service-defaults"
Name = "server-b-test"
Protocol = "http"

View File

@@ -0,0 +1,3 @@
Kind = "service-defaults"
Name = "server-check"
Protocol = "http"

View File

@@ -0,0 +1,6 @@
{
"service": {
"name": "server-check"
}
}

View File

@@ -0,0 +1,14 @@
kind = "service-splitter"
name = "server-check"
splits = [
{
weight = 50
service = "server-b"
},
{
weight = 50
service = "server-b-test"
},
]

View File

@@ -0,0 +1,3 @@
Kind = "service-defaults"
Name = "server-d"
Protocol = "http"