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

Make Daemonset use GeneralPredicates #28803

Merged
merged 1 commit into from
Jul 19, 2016
Merged

Make Daemonset use GeneralPredicates #28803

merged 1 commit into from
Jul 19, 2016

Conversation

lukaszo
Copy link
Contributor

@lukaszo lukaszo commented Jul 11, 2016

fixes: #21454 #22205

@lukaszo
Copy link
Contributor Author

lukaszo commented Jul 11, 2016

@k8s-github-robot k8s-github-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. release-note-label-needed labels Jul 11, 2016
@k8s-github-robot k8s-github-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jul 12, 2016
@@ -37,16 +36,16 @@ import (
"k8s.io/kubernetes/pkg/controller"
"k8s.io/kubernetes/pkg/controller/framework"
"k8s.io/kubernetes/pkg/controller/framework/informers"
"k8s.io/kubernetes/pkg/kubelet/util/format"
Copy link
Member

Choose a reason for hiding this comment

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

it's weird to be depending on a pkg/kubelet/util package in the controller manager. Perhaps we should move required functionality to pkg/util

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah. Yes, it's weird. Actually I don't need it. I will just log Pod name.

@lukaszo
Copy link
Contributor Author

lukaszo commented Jul 18, 2016

@mikedanese @davidopp so guys, what do you think about this change?

@mikedanese
Copy link
Member

LGTM

@mikedanese mikedanese added release-note Denotes a PR that will be considered when it comes time to generate release notes. lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed release-note-label-needed labels Jul 18, 2016
@davidopp
Copy link
Member

@mikedanese / @lukaszo I'm not going to have a chance to review this for a while -- it's OK to LGTM but can you document here exactly which predicates DaemonSet will now be subjected to that it was not previously, and which (if any -- I assume none) predicates it used to be subjected to that it will now not be?

@mikedanese
Copy link
Member

@davidopp I looked thorough general predicates and it looked to me like only node affinity and gpu resource. @lukaszo does that sound right?

@k8s-bot
Copy link

k8s-bot commented Jul 18, 2016

GCE e2e build/test passed for commit 528bf7a.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Jul 19, 2016

GCE e2e build/test passed for commit 528bf7a.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit a049a97 into kubernetes:master Jul 19, 2016
@lukaszo
Copy link
Contributor Author

lukaszo commented Jul 19, 2016

@mikedanese @davidopp yes, node affinity and gpu resource. I will also update documentation for DaemonSets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Have DaemonSet controller use predicates.GeneralPredicates
7 participants