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

issue 380 - env check for start time #386

Merged
merged 3 commits into from
Mar 26, 2020
Merged

Conversation

2infinitee
Copy link
Collaborator

In regards to issue 380, this is setting start time as an environment variable.

@CLAassistant
Copy link

CLAassistant commented Mar 24, 2020

CLA assistant check
All committers have signed the CLA.

@joshulyne
Copy link
Collaborator

#380

@2infinitee 2infinitee linked an issue Mar 26, 2020 that may be closed by this pull request
Copy link
Collaborator

@integrii integrii left a comment

Choose a reason for hiding this comment

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

It looks like we only update the RunStartTime on the creation of a KuberhealthyCheck and it also isn't completely aligned with how Kuberhealthy determines that a check has timed out.

However, we probably don't even need a struct property for RunStartTime. We should find a codepath wherein we use the same variable that is used for measuring when the check has timed out. This way they are in complete alignment.

If you want to review, let me know on Slack and we'll talk it over.

@integrii integrii merged commit aab7c6f into master Mar 26, 2020
@integrii
Copy link
Collaborator

Worked with @2infinitee to rework this slightly today.

@integrii integrii deleted the checker-env-timestamp branch March 26, 2020 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new CHECK_START_TIME environment variable to checker pods
4 participants