mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 20:12:43 +00:00
experimental consul branch
This commit is contained in:
3
consul/server-a-defaults.hcl
Normal file
3
consul/server-a-defaults.hcl
Normal file
@@ -0,0 +1,3 @@
|
||||
Kind = "service-defaults"
|
||||
Name = "server-a"
|
||||
Protocol = "http"
|
3
consul/server-b-defaults.hcl
Normal file
3
consul/server-b-defaults.hcl
Normal file
@@ -0,0 +1,3 @@
|
||||
Kind = "service-defaults"
|
||||
Name = "server-b"
|
||||
Protocol = "http"
|
3
consul/server-b-test-defaults.hcl
Normal file
3
consul/server-b-test-defaults.hcl
Normal file
@@ -0,0 +1,3 @@
|
||||
Kind = "service-defaults"
|
||||
Name = "server-b-test"
|
||||
Protocol = "http"
|
3
consul/server-check-defaults.hcl
Normal file
3
consul/server-check-defaults.hcl
Normal file
@@ -0,0 +1,3 @@
|
||||
Kind = "service-defaults"
|
||||
Name = "server-check"
|
||||
Protocol = "http"
|
6
consul/server-check-service.hcl
Normal file
6
consul/server-check-service.hcl
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
{
|
||||
"service": {
|
||||
"name": "server-check"
|
||||
}
|
||||
}
|
14
consul/server-check-splitter.hcl
Normal file
14
consul/server-check-splitter.hcl
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
kind = "service-splitter"
|
||||
name = "server-check"
|
||||
splits = [
|
||||
{
|
||||
weight = 50
|
||||
service = "server-b"
|
||||
},
|
||||
{
|
||||
weight = 50
|
||||
service = "server-b-test"
|
||||
},
|
||||
]
|
3
consul/server-d-defaults.hcl
Normal file
3
consul/server-d-defaults.hcl
Normal file
@@ -0,0 +1,3 @@
|
||||
Kind = "service-defaults"
|
||||
Name = "server-d"
|
||||
Protocol = "http"
|
Reference in New Issue
Block a user