mirror of
https://github.com/puppetlabs/vmpooler-deployment.git
synced 2026-01-26 11:38:41 -05:00
Merge pull request #144 from puppetlabs/RE-15163
(RE-15163) Call BGREWRITEAOF on the redis database every restart to reduce aof file size
This commit is contained in:
commit
e0c3671d93
1 changed files with 7 additions and 0 deletions
|
|
@ -156,6 +156,13 @@ redis:
|
|||
initialDelaySeconds: 40
|
||||
periodSeconds: 10
|
||||
failureThreshold: 10
|
||||
lifecycleHooks:
|
||||
postStart:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- echo "AUTH $REDIS_PASSWORD\nBGREWRITEAOF" | redis-cli
|
||||
metrics:
|
||||
enabled: true
|
||||
resources:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue