operator-framework / operator-framework/java-operator-sdk

Access to CustomResourceCache

Offen
#390 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@metacosm arbeitet bereits daran.

Seit 16.4.2021.

feature kind/feature triage/support
Vorherrschende Sprache
Java
Sterne
944
Forks
242
Ø Merge
1 T. 4 Std.
Gemergte PRs (30 T.)
43

Beschreibung

We are looking to implement metrics over the custom resource managed by the operator and would like to avoid k8s api calls if possible. It seems that the cache could be utilized either directly or indirectly for this purpose. Directly would look like having access in the Controller, possibly via the init method - then we could use that to drive simple metrics count, and checks based upon the resource Status. Indirect access would be related to https://github.com/java-operator-sdk/java-operator-sdk/issues/323 - such that count and other readily definable metrics are automatically exposed.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.