apache / apache/openserverless

Health check on the operator restarting if redis breaks

Abierto
#181 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
576
Forks
29
Merge medio
50 min
PR fusionados (30 d)
13

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

No se nombran archivos, pruebas ni puntos de entrada. Empieza reproduciendo un reinicio del clúster o la reanudación de Docker e inspecciona cómo el operador gestiona el estado y los permisos de Redis; se considera terminado cuando el clúster vuelve a un estado operativo sin reiniciar manualmente el operador. El pull request vinculado de openserverless-task se identifica como un prerrequisito.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
docker, kubernetes, python, redis
Área
cloud, infrastructure
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.