apache / apache/openserverless
Health check on the operator restarting if redis breaks
- Lingua principale
- Python
- Stelle
- 576
- Fork
- 29
- Merge medio
- 50m
- PR unite (30g)
- 13
Descrizione
- [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:
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso. Inizia riproducendo un riavvio del cluster o la ripresa di Docker e verifica come l’operatore gestisce lo stato e i permessi di Redis; il lavoro è completato quando il cluster torna a uno stato funzionante senza riavviare manualmente l’operatore. La pull request collegata di openserverless-task è identificata come prerequisito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, kubernetes, python, redis
- Ambito
- cloud, infrastructure
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100