apache / apache/openserverless

Health check on the operator restarting if redis breaks

Ouverte
#181 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
576
Forks
29
Merge moyen
50 min
PR mergées (30 j)
13

Description

- [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:

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Aucun fichier, test ou point d’entrée n’est nommé. Commencez par reproduire un redémarrage du cluster ou une reprise de Docker, puis examinez comment l’opérateur gère l’état et les permissions de Redis ; c’est terminé lorsque le cluster revient à un état fonctionnel sans redémarrer manuellement l’opérateur. La pull request openserverless-task liée est identifiée comme un prérequis.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
docker, kubernetes, python, redis
Domaine
cloud, infrastructure
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.