update README, examples and RBAC to include leader election

This commit is contained in:
Andrew Sy Kim
2019-03-29 16:47:27 -04:00
parent 8f69d74514
commit 2e2058d559
4 changed files with 39 additions and 1 deletions

View File

@@ -48,6 +48,13 @@ It is necessary to create a new service account and give it enough privileges to
for i in $(find deploy/kubernetes -name '*.yaml'); do kubectl create -f $i; done
```
### Running with Leader Election
If you want to run external-snapshotter with higher availability, you can enable resource based leader election. To enable this, set the following flags:
```bash
--leader-election=true
```
## Testing
Running Unit Tests: