-
Notifications
You must be signed in to change notification settings - Fork 585
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
Parameterize config watcher loop speed #1322
base: master
Are you sure you want to change the base?
Parameterize config watcher loop speed #1322
Conversation
@@ -627,6 +627,10 @@ master CNI configuration and kubeconfig. when such change detected, the script w | |||
|
|||
--skip-config-watch | |||
|
|||
The poll interval of the config changes watcher is configurable with `--multus-config-watch-timer=<duration>` | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also provide a link to whatever appropriate go docs about what are valid values for "duration" here. Otherwise, lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dougbtv Thanks. I've updated the description with the go doc link for the duration
. Please let me know if any suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dougbtv Thanks for reviewing the PR. Can we merge the PR or is there something can do to make it better?
73d11b8
to
bdb8e19
Compare
This loop spins really quickly otherwise. This will allow cluster operators to choose how quickly the thin plugin reconciles the kubeconfig in the event of a stale service account token. BUG: k8snetworkplumbingwg#1232 Signed-off-by: Connor Kuehl <[email protected]> Signed-off-by: Chris Chiu <[email protected]>
bdb8e19
to
0b2b14d
Compare
rebase on top of the latest adfb270 of k8snetworkplumbingwg:master |
The original PR is #1232. This PR rebase the commit on top of the current master.
This loop spins really quickly otherwise. This will allow cluster operators to choose how quickly the thin plugin reconciles the kubeconfig in the event of a stale service account token.