apache / apache/openserverless
Health check on the operator restarting if redis breaks
- Vorherrschende Sprache
- Python
- Sterne
- 576
- Forks
- 29
- Ø Merge
- 50 Min.
- Gemergte PRs (30 T.)
- 13
Beschreibung
- [x] I have searched the [issues](https://github.com/apache/openserverless/issues) of this repository and believe that this is not a duplicate.
### Ⅰ. Issue Description
Fixing the redis state when resuming docker
### Ⅱ. Describe what happened
If you restart the cluster (this happens especially when resuming with docker) REDIS may lose its state, and you need to restart the operator to recreate the proper acls
The solution would be that you put an health check that restarts the operator if redis loses its permissions.
### Ⅲ. Describe what you expected to happen
Restarting a machine with docker you should have a cluster working
### Ⅳ. How to reproduce it (as minimally and precisely as possible)
### Ⅴ. Anything else we need to know?
Merge this PR first to have a single node kind cluster
https://github.com/apache/openserverless-task/pull/169
### Ⅵ. Environment:
- K8S Runtime and version:
- OPS CLI version:
- Others:
Beitragsleitfaden
Rechercherichtung
Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, einen Cluster-Neustart oder das Fortsetzen von Docker zu reproduzieren, und untersuche, wie der Operator den Redis-Zustand und die Berechtigungen behandelt; als abgeschlossen gilt die Aufgabe, wenn der Cluster ohne manuellen Neustart des Operators wieder in einen funktionierenden Zustand zurückkehrt. Der verknüpfte openserverless-task-Pull-Request wird als Voraussetzung genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- docker, kubernetes, python, redis
- Bereich
- cloud, infrastructure
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100