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

kubelet: Allow runonce mode to contact apiserver #23074

Closed

Conversation

derekparker
Copy link
Contributor

This patch allows a kubelet to contact an apiserver and use
that as a pod source in runonce mode. This "non-standalone" mode will
cause the kubelet to register with an apiserver, ignore "source ready"
pod updates, and run the first pod received from the apiserver before
exiting. As during a typical "non-standalone" kubelet, the runonce
kubelet will update the apiserver with the status of the pod it has ran.

Additionally, a new flag has been added: --runonce-timeout, which
allows the user to configure the timeout for a kubelet in runonce mode,
as opposed to hard coding it. The default flag value is the same as what
the hard coded value previously was.

Fixes #23073

Derek Parker added 2 commits March 16, 2016 13:09
This patch allows a kubelet to contact an apiserver and use
that as a pod source in runonce mode. This "non-standalone" mode will
cause the kubelet to register with an apiserver, ignore "source ready"
pod updates, and run the first pod received from the apiserver before
exiting. As during a typical "non-standalone" kubelet, the runonce
kubelet will update the apiserver with the status of the pod it has ran.

Additionally, a new flag has been added: `--runonce-timeout`, which
allows the user to configure the timeout for a kubelet in runonce mode,
as opposed to hard coding it. The default flag value is the same as what
the hard coded value previously was.

Fixes kubernetes#23073
@k8s-bot
Copy link

k8s-bot commented Mar 16, 2016

Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist")

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

1 similar comment
@k8s-bot
Copy link

k8s-bot commented Mar 16, 2016

Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist")

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@k8s-github-robot k8s-github-robot added kind/old-docs size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 16, 2016
@k8s-bot
Copy link

k8s-bot commented Mar 16, 2016

Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist")

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@derekparker
Copy link
Contributor Author

cc: @aaronlevy @dchen1107 @mikedanese

@k8s-github-robot
Copy link

@derekparker PR needs rebase

@k8s-github-robot k8s-github-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. release-note-label-needed labels Mar 30, 2016
@derekparker
Copy link
Contributor Author

Closing in favor of #25596

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants