-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy patholricd-sample.yaml
114 lines (107 loc) · 2.88 KB
/
olricd-sample.yaml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
olricd:
bindAddr: "0.0.0.0"
bindPort: 3320
serializer: "msgpack"
keepAlivePeriod: "300s"
requestTimeout: "5s"
partitionCount: 271
replicaCount: 1
writeQuorum: 1
readQuorum: 1
readRepair: false
replicationMode: 0 # sync mode. for async, set 1
tableSize: 1048576 # 1MB in bytes
memberCountQuorum: 1
logging:
verbosity: 6
level: "DEBUG"
output: "stderr"
memberlist:
environment: "local"
bindAddr: "0.0.0.0"
bindPort: 3322
enableCompression: false
joinRetryInterval: "1ms"
maxJoinAttempts: 1
#peers:
# - "localhost:3325"
#advertiseAddr: ""
#advertisePort: 3322
#suspicionMaxTimeoutMult: 6
#disableTCPPings: false
#awarenessMaxMultiplier: 8
#gossipNodes: 3
#gossipVerifyIncoming: true
#gossipVerifyOutgoing: true
#dnsConfigPath: "/etc/resolv.conf"
#handoffQueueDepth: 1024
#udpBufferSize: 1400
# cache:
# numEvictionWorkers: 1
# maxIdleDuration: ""
# ttlDuration: "100s"
# maxKeys: 100000
# maxInuse: 1000000
# lRUSamples: 10
# evictionPolicy: "LRU"
#
#dmaps:
# foobar:
# maxIdleDuration: "60s"
# ttlDuration: "300s"
# maxKeys: 500000
# lRUSamples: 20
# evictionPolicy: "NONE"
#serviceDiscovery:
# # path is a required property and used by Olric. It has to be a full path.
# path: "/home/burak/go/src/github.com/buraksezer/olric-consul-plugin/consul.so"
#
# # provider is just informal,
# provider: "consul"
#
# # Plugin specific configuration
# # Consul server, used by the plugin. It's required
# address: "http://127.0.0.1:8500"
#
# # Specifies that the server should return only nodes with all checks in the passing state.
# passingOnly: true
#
# # Missing health checks from the request will be deleted from the agent. Using this parameter
# # allows to idempotently register a service and its checks without having to manually deregister
# # checks.
# replaceExistingChecks: true
#
# # InsecureSkipVerify controls whether a client verifies the
# # server's certificate chain and host name.
# # If InsecureSkipVerify is true, TLS accepts any certificate
# # presented by the server and any host name in that certificate.
# # In this mode, TLS is susceptible to man-in-the-middle attacks.
# # This should be used only for testing.
# insecureSkipVerify: true
#
# # service record
# payload: '
# {
# "Name": "olric-cluster",
# "ID": "olric-node-1",
# "Tags": [
# "primary",
# "v1"
# ],
# "Address": "localhost",
# "Port": 3322,
# "EnableTagOverride": false,
# "check": {
# "name": "Olric node on 3322",
# "tcp": "0.0.0.0:3322",
# "interval": "10s",
# "timeout": "1s"
# }
# }
#'
#
#
#serviceDiscovery:
# provider: "k8s"
# path: "/Users/buraksezer/go/src/github.com/buraksezer/olric-cloud-plugin/olric-cloud-plugin.so"
# args: 'label_selector="app = olricd-server"'