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

set FileCheckFrequency default properly #20158

Merged

Conversation

sjenning
Copy link
Contributor

@sjenning sjenning commented Jun 29, 2018

removes the need for 91ff3a7

In 3.11, this code was reworked to use Ticker:
https://github.com/openshift/origin/blob/master/vendor/k8s.io/kubernetes/pkg/kubelet/config/file.go#L63-L116

Whose panic exposed that we were defaulting the --file-check-frequency flag to 0 in the write-flags:
https://github.com/openshift/origin/blob/master/pkg/cmd/server/kubernetes/node/options/options.go#L34-L38

@deads2k @smarterclayton @derekwaynecarr

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 29, 2018
@@ -31,7 +31,7 @@ func ComputeKubeletFlags(startingArgs map[string][]string, options configapi.Nod
imageTemplate.Latest = options.ImageConfig.Latest

path := ""
var fileCheckInterval int64
fileCheckInterval := int64(20)
Copy link
Contributor

Choose a reason for hiding this comment

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

do you want that or do you want to only conditionally set the flag at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

set conditionally is better. i'll update it.

@deads2k deads2k mentioned this pull request Jul 2, 2018
17 tasks
@sjenning sjenning force-pushed the fix-file-check-freq branch from ef60ac0 to ed83a54 Compare July 3, 2018 16:18
@deads2k
Copy link
Contributor

deads2k commented Jul 3, 2018

/lgtm
/retest

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 3, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, sjenning

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:

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 3, 2018
@smarterclayton
Copy link
Contributor

/retest

1 similar comment
@sjenning
Copy link
Contributor Author

sjenning commented Jul 5, 2018

/retest

@sjenning
Copy link
Contributor Author

sjenning commented Jul 5, 2018

/test unit

@sjenning
Copy link
Contributor Author

sjenning commented Jul 5, 2018

flake #20219
/retest

@sjenning
Copy link
Contributor Author

sjenning commented Jul 6, 2018

/retest

1 similar comment
@stevekuznetsov
Copy link
Contributor

/retest

@openshift-bot
Copy link
Contributor

/test cross

@openshift-merge-robot openshift-merge-robot merged commit c7660e6 into openshift:master Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants