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

DaemonSet should respect new scheduling constraints #22205

Closed
bgrant0607 opened this issue Feb 29, 2016 · 9 comments
Closed

DaemonSet should respect new scheduling constraints #22205

bgrant0607 opened this issue Feb 29, 2016 · 9 comments
Assignees
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@bgrant0607
Copy link
Member

Node affinity / anti-affinity, at least.

It already respects nodeSelector.

See also #12744 (comment)

cc @davidopp @kevin-wangzefeng

@bgrant0607 bgrant0607 added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. team/control-plane labels Feb 29, 2016
@mikedanese
Copy link
Member

I believe this is unblocked.

@mikedanese mikedanese self-assigned this Apr 13, 2016
@mikedanese mikedanese added this to the v1.3 milestone Apr 13, 2016
@davidopp
Copy link
Member

Pod affinity is also in the pipeline, I just haven't had time to make the second pass review yet (#22985)

@davidopp
Copy link
Member

This didn't make 1.3, moving to 1.4.

@lukaszo
Copy link
Contributor

lukaszo commented Jun 29, 2016

It looks like no one is working on it so I've looked at the code.
It should be easy to change nodeShouldRunDaemonPod in pkg/controller/daemon/controller.go to use GeneralPredicates.
Unfortunately I see one issue. In current implementation of nodeShouldRunDaemonPod when there are no free resource or there is a port conflict it generates Event. GeneralPredicates does not generate any events so moving to it would break backward compatibility.
What do you think how can it be solved? Can I add generating Events to GeneralPredicates?

@mikedanese
Copy link
Member

@lukaszo that event is not part of the api so it wouldn't be breaking compatibility to change it. Is there any way to surface failure cause of GeneralPredicate to the user?

@lukaszo
Copy link
Contributor

lukaszo commented Jul 11, 2016

@mikedanese I ended up with logging the errors. Pls see my PR

k8s-github-robot pushed a commit that referenced this issue Jul 19, 2016
Automatic merge from submit-queue

Make Daemonset use GeneralPredicates

fixes: #21454 #22205
@lukaszo
Copy link
Contributor

lukaszo commented Jul 19, 2016

Ups, I'm not sure if it should be closed. anti-affinity is still not supported.
cc @bgrant0607

@bgrant0607 bgrant0607 reopened this Jul 19, 2016
@bgrant0607
Copy link
Member Author

@lukaszo Could you please file a more specific issue for pod anti-affinity (assuming that's the only missing feature)? Once it exists, we can close this one.

@lukaszo
Copy link
Contributor

lukaszo commented Jul 20, 2016

@bgrant0607 done: #29276

zefciu pushed a commit to zefciu/kubernetes that referenced this issue Jul 28, 2016
openshift-publish-robot pushed a commit to openshift/kubernetes that referenced this issue Mar 4, 2019
…lution

UPSTREAM: 74806: src/k8s.io/apiserver: Increase cert expiration histo…

Origin-commit: 3c0422a2a07737a8e7677e83661c0e181f2e533a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

4 participants