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

Custom CRD: Wait for all processes before running metrics collector #1313

Merged

Conversation

andreyvelich
Copy link
Member

Related: #1214.

I refactored metrics collector to wait for all other process to finish before running parser.
I had to switch to gopsutil library to identify which process is the main and try to be consistent with Python psutil lib.

I search for echo completed > /var/log/katib in PID's cmdline to find the main PID.

/assign @gaocegege @johnugeorge @sperlingxx

@kubeflow-bot
Copy link

This change is Reviewable

@johnugeorge
Copy link
Member

/lgtm

Copy link
Member Author

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@andreyvelich andreyvelich force-pushed the issue-1214-finish-proc-for-mc branch from c485517 to 62aae3d Compare September 8, 2020 21:51
@k8s-ci-robot k8s-ci-robot removed the lgtm label Sep 8, 2020
@andreyvelich
Copy link
Member Author

@johnugeorge @gaocegege Can you approve this PR again, please?

@gaocegege
Copy link
Member

/retest
/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich, gaocegege

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [andreyvelich,gaocegege]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 6b7142f into kubeflow:master Sep 9, 2020
@andreyvelich andreyvelich deleted the issue-1214-finish-proc-for-mc branch October 2, 2021 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants