-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/processor output individual records for gratia, add CPU usage…
… and memory metrics (#54) * first pass at adding optional gratia output container to helm chart * fix variable name * fix syntax for configmap in values.yaml * Add dedicated docker image for processor * add optional mode to output individual job records rather than summaries * fix paramter order in individual_message * add optional authentication secret to helm chart * clean up some scratch work * Add a README for helm chart configuration and installation * minor documentation consistency/tweaks * fix phrasing and missing link in README * Update helm chart make non-privileged user uid/gid configurable * make serviceUser.uid nullable * Update processor to output gratia-compatible individual job records, add Dockerfile * Add explicit commands to cronjobs, fix default image tag * clean up comments * revert accidental change to readme * Deduplicate memory and cpu usage records, revert change to cpu usage accounting for summary records * use sum by pod instead of max by pod for more accurate v2 cgroups reporting * use last_over_time, update comments * report on pod total requested memory rather than max usage per container * change result_lengths * update comment * small tidying --------- Co-authored-by: Ryan Taylor <[email protected]>
- Loading branch information
1 parent
c46a37c
commit 8938f18
Showing
4 changed files
with
123 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM python:3.12 | ||
ARG UID=10000 | ||
ARG GID=10000 | ||
|
||
WORKDIR /src | ||
COPY python/requirements.txt . | ||
RUN pip install -r requirements.txt | ||
COPY python/*.py ./ | ||
|
||
USER $UID:$GID | ||
CMD python3 KAPEL.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
services: | ||
kapel-processor: | ||
image: hub.opensciencegrid.org/osgpreview/kapel-processor:latest | ||
build: | ||
context: . | ||
network: host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters