apache / apache/openserverless
Health check on the operator restarting if redis breaks
- 主要言語
- Python
- スター
- 576
- フォーク
- 29
- 平均マージ
- 50分
- マージ済み PR(30日)
- 13
説明
- [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:
コントリビューションガイド
調査の方向性
ファイル、テスト、またはエントリーポイントは指定されていません。まず、クラスターの再起動または Docker の再開を再現し、オペレーターが Redis の状態と権限をどのように処理するかを確認します。オペレーターを手動で再起動せずにクラスターが動作する状態に戻れば完了です。リンクされた openserverless-task の pull request は前提条件として特定されています。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, kubernetes, python, redis
- 領域
- cloud, infrastructure
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100