-
Notifications
You must be signed in to change notification settings - Fork 166
Expand file tree
/
Copy pathapis.yaml
More file actions
86 lines (69 loc) · 1.27 KB
/
apis.yaml
File metadata and controls
86 lines (69 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# yaml-language-server: $schema=https://www.membrane-api.io/v7.2.2.json
api:
port: 8080
name: Balancer 1
path:
uri: /service
flow:
- balancer:
name: balancer1
clusters:
- name: Default
nodes: # target 1 and 2 that are balanced by balancer 1
- host: localhost
port: 4000
- host: localhost
port: 4001
---
api:
port: 8081
name: Balancer 2
path:
uri: /service
flow:
- balancer:
name: balancer2
clusters:
- name: Default
nodes: # target 3 and 4 that are balanced by balancer 2
- host: localhost
port: 4002
- host: localhost
port: 4003
---
api:
port: 9010
name: Up/Down Push Interface
flow:
- clusterNotification: {}
---
# Mock nodes for testing. Remove them in production.
api:
port: 4000
name: Mock Node 1
flow:
- counter: Mock Node 1
---
api:
port: 4001
name: Mock Node 2
flow:
- counter: Mock Node 2
---
api:
port: 4002
name: Mock Node 3
flow:
- counter: Mock Node 3
---
api:
port: 4003
name: Mock Node 4
flow:
- counter: Mock Node 4
---
api:
port: 9000
name: Administration
flow:
- adminConsole: {}