Correlate Listener to Stacklet/indirect owner

オープン
#138 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
kubernetes, python

調査の方向性

まず、現在 Listener の所有関係がどのように解決されているかを追跡し、Listener から PersistentVolume、PersistentVolumeClaim、Pod、StatefulSet を経て Stacklet に至る、提案された Kubernetes の経路を、PV.spec.claimRef と ownerReferences を含めて調査します。これを従来の PVC ラベル方式と比較します。完了の条件は、オペレーターが discovery 設定のために Listener とその間接的な所有者を確実に対応付けられることです。

索引モデルが issue の本文から書いたものです。

説明

This is required for product operators to be able to watch Listeners properly (primarily to generate discovery config). It's theoretically possible to reproduce by following the path (using ownerReferences if nothing else is specified) Listener -> PersistentVolume -> PersistentVolumeClaim (via PV.spec.claimRef) -> Pod (by.. iterating over them and looking for the matching claim mount? ew) -> StatefulSet -> Stacklet.

Another approach would be to use our conventional labels on the PVC (app.kubernetes.io/{name,instance,component}), but that isn't really scoped to Stackable (as opposed to any other way to run HDFS). Then again, that's arguably "fine" if we end up doing spurious reconciles once in a while...

主要言語
Python
スター
9
フォーク
2
平均マージ
1日 9時間
マージ済み PR(30日)
8

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackabletech/listener-operator のほかの issue

stackabletech/listener-operator の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。