vmshepherd-zookeeper-driver
Introduction
Provides plugin for VmShepherd - driver allows to store runtime data and lock management in Zookeeper.
Installation
Simply use pip.
pip install vmshepherd-zookeeper-driver
Library requires (as well as VmShepherd itself) python 3.6 or later.
Usage
Install package (in the same environment as VmShepherd) and configure VmShepherd like:
# ...
runtime:
driver: ZookeeperDriver
servers:
- some.zk.host
working_path: /vmshepherd
addauth:
auth: vmshepherduser:password
# ...
Available config options
Name |
Type |
Description |
Default value |
|---|---|---|---|
servers |
list |
Zookeeper hosts |
|
working_path |
string |
Base path where vmshepherd will read/write/create/deletes its nodes. A cdrwa permissions must be set for this path either to provided auth otherwise to anyone/world |
/vmshepherd |
addauth |
object |
Authentication options. If not provided or null no auth assumed. |
null |
addauth.scheme |
string |
Zookeeper’s auth scheme (eg. digest sasl). |
digest |
addauth.auth |
string |
Auth data specific to given scheme (eg. user:password for digest) |
vmshepherd:vmshepherd |
License
MIT
Changelog
1.0.0 (2018-05-21)
Implement stable API
Lock management
0.0.1 (2018-02-13)
Initial release
Release files for vmshepherd-zookeeper-driver 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vmshepherd-zookeeper-driver-1.0.1.tar.gz | 3.7 kB | Details |
Release files / vmshepherd-zookeeper-driver-1.0.1.tar.gz
| Download URL | vmshepherd-zookeeper-driver-1.0.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
735033a5ec31b1c074b4cf46f094d9d11914f7f0a27cb31fe46d684500377645
|
|
BLAKE2b-256 checksum How to use checksums |
2e2227be454e1522304d2f49f2b172a4a56c03228bd45ba816a3e332a9dbed1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |