added netbox allocator
This commit is contained in:
parent
fef86deac8
commit
cef74df3e8
10 changed files with 195 additions and 53 deletions
58
config.yaml
Normal file
58
config.yaml
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
#leaderHook: "/bin/leader_hook.sh"
|
||||
#followerHook: "/bin/follower_hook.sh"
|
||||
#haproxyConfig: "/etc/haproxy/haproxy.cfg"
|
||||
#haproxyService: haproxy
|
||||
#failover:
|
||||
# ip: "192.168.1.1/32"
|
||||
# interface: eth0
|
||||
vip:
|
||||
prefix: "192.168.101.0/24"
|
||||
store:
|
||||
local: {}
|
||||
# netbox:
|
||||
# endpoint: "https://your.net.box"
|
||||
# token: asdf
|
||||
# insecure: false
|
||||
# interface: eth1
|
||||
# label: LB
|
||||
cluster:
|
||||
# raft:
|
||||
# dir: raft
|
||||
# id: node1
|
||||
# listen: 192.168.1.2:7001
|
||||
# peers:
|
||||
# - id: node2
|
||||
# address: 192.168.1.3:7002
|
||||
# - id: node3
|
||||
# address: 192.168.1.4:7003
|
||||
# tls:
|
||||
# cert: cert.pem
|
||||
# key: key.pem
|
||||
# ca: cert.pem
|
||||
# insecure: false
|
||||
# logLevel: off
|
||||
etcd:
|
||||
endpoints:
|
||||
- "http://127.0.0.1:2379"
|
||||
clusterName: "lb"
|
||||
# prefix: "/haproxy-lb"
|
||||
# username: user
|
||||
# password: password
|
||||
# tls:
|
||||
# cert: cert.pem
|
||||
# key: key.pem
|
||||
# ca: cert.pem
|
||||
# insecure: false
|
||||
# logLevel: error
|
||||
apiServer:
|
||||
listen: "127.0.0.1:8001"
|
||||
# tls:
|
||||
# cert: cert.pem
|
||||
# key: key.pem
|
||||
# ca: cert.pem
|
||||
# insecure: false
|
||||
basicAuth:
|
||||
- user: admin
|
||||
# 123456
|
||||
hash: $2b$10$zNfGTAQ94vifj2wtGsv1W.yZRe4/rDBzQixpB6FbrTed4BnHuNqBS
|
||||
prefix: /
|
||||
Loading…
Add table
Add a link
Reference in a new issue