Skip to content

Support reporting on multiple instances of a uniquely named pod (such as via a statefulset) #82

@mwestphall

Description

@mwestphall

Currently, Kuantifier's prometheus queries assume each pilot will run in a distinctly named pod (such as those scheduled via a Deployment or CronJob). UNL is currently contributing capacity via JupyterHub, which repeatedly schedules pods of the same name in serial (such that two distinct instances of a pod named eg. jupyter-mwestphall-0 might be scheduled on two different days). Kuantifier's queries currently don't handle this well, with some taking the value from a single instance of the pod name and some aggregating data from across all instances of the pod name. Queries that come from kube-state-metrics also support a uid field that can be used to differentiate between distinct instances of a shared pod name, but queries directly to the kubernetes control plane typically don't. We'll likely need a pretty substantial set of code changes to support reporting on this use case.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions