github.com/aacfactory/fns@v1.2.86-0.20240310083819-80d667fc0a17/docs/cluster.md (about) 1 # Cluster 2 3 --- 4 5 ## members 6 For a fixed number of clusters, existing nodes in other members will be automatically added, but other members will not be found by themselves. 7 8 Config: 9 ```yaml 10 cluster: 11 devMode: false # if true, current node will not be pushed into cluster 12 nodesProxyAddress: "" # used for dev mode and current node can not access members by member's address 13 kind: "members" # cluster member finder type 14 client: 15 maxIdleConnSeconds: 10 16 maxConnsPerHost: 512 17 maxIdleConnsPerHost: 64 18 requestTimeoutSeconds: 10 19 options: 20 members: 21 - "192.168.11.1:8080" 22 - "192.168.11.2:8080" 23 ``` 24 25 ## DOCKER SWARM 26 Read [doc](https://github.com/aacfactory/fns-contrib/tree/main/cluster/swarm) for more. 27 28 ## KUBERNETES 29 Read [doc](https://github.com/aacfactory/fns-contrib/tree/main/cluster/kubernetes) for more.