Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add probe for Kubernetes jobs #26

Closed
bzurkowski opened this issue Mar 28, 2020 · 0 comments · Fixed by #76
Closed

Add probe for Kubernetes jobs #26

bzurkowski opened this issue Mar 28, 2020 · 0 comments · Fixed by #76
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@bzurkowski
Copy link
Member

bzurkowski commented Mar 28, 2020

Add Kubernetes probe for Job resource. Jobs should be linked to pods.

Python client method: list_namespaced_job (see all methods)

In order to add a new probe, one need to implement probe and linker. The former pulls upstream entities (i.e. K8S objects) and inserts them into entity graph. The latter links inserted graph nodes. In other words: probes create graph nodes, whereas linkers create graph edges.

Below, an example implementation of related modules for K8S Service object:

  • probe - provisions a probe instance
  • extractor - extracts node element from raw upstream entity
  • linker - provisions a linker instance
  • matcher - matches two nodes based on matching condition, used by linker
  • init - provisions a probe bundle (probe + linkers)
@bzurkowski bzurkowski added enhancement New feature or request good first issue Good for newcomers labels Mar 28, 2020
@bzurkowski bzurkowski added this to the 0.2 milestone Apr 21, 2020
@bzurkowski bzurkowski linked a pull request Apr 29, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants