En kubernetes cronjobb för att tömma redis stream
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Öystein Andersen b5dc68b741 Dokumentation 4 years ago
kube Wrong name in kubernetes, added requests to requirements 4 years ago
pipeline Added a way to copy from aws to docker hub 4 years ago
.gitignore First version 4 years ago
Dockerfile First version 4 years ago
README.md Dokumentation 4 years ago
entrypoint.sh First version 4 years ago
requirements.txt Wrong name in kubernetes, added requests to requirements 4 years ago
trigger_redis_clean.py First version 4 years ago

README.md

Redis clean trigger

Will clean the Redis Stream and leave only the specified amount of posts

By number and not by time

Redis can't remove old post by date, only by how many you want to be left. Not optimal.