You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using nodeSelector/tolerations with Serving? #1816
area/APIAPI objects and controllerskind/featureWell-understood/specified features, ready for coding.kind/questionFurther information is requestedkind/specDiscussion of how a feature should be exposed to customers.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
Could Revision be extended to support using Tolerations and/or Node Selectors? I get the reason why it doesn't include the entire pod spec, but I think some additional attributes to influence scheduling could be useful. I looked through the current types and I don't see how I can do this today, but I might have missed something!
For example, I might care about where my thing gets scheduled if....
I have a hybrid cluster with both Linux and Windows nodes. I've got some things I want to run with KNative that need to run on the windows nodes. Those nodes are tainted, so I'd need to utilize label selectors / tolerations to make that a thing.
In most cases, I probably don't care where things run because serverless...but somettimes I think there are. This change seems like it would be useful and not have a ton of impact to user experience or complexity.
I'd be interested in working on this if it's something that seems palatable. cc: @krancour
Reacted by Kent Rancourt, Carolyn Van Slyck, Stephen Chen, Bruno Miranda, Julien Crestin, Ouail Bendidi, Hugo Raynal, Guilhem de Viry, Nacho Carnicero, Hamza Elmiqdam and 23 more
Would config-features then have a flag to allow affinity/nodeSelector/etc in the podSpec or would those settings somehow get set from somewhere else as defined with a fieldRef? I'm trying to understand what the implementation would look like.
Talked to @emaildanwilson on Slack. They want to take over the issue and work on it. I'm on vacation next week so I won't be able to finish it as quickly.
area/APIAPI objects and controllerskind/featureWell-understood/specified features, ready for coding.kind/questionFurther information is requestedkind/specDiscussion of how a feature should be exposed to customers.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
Activity
79 remaining items
emaildanwilson commentedon Jul 9, 2020
Would config-features then have a flag to allow affinity/nodeSelector/etc in the podSpec or would those settings somehow get set from somewhere else as defined with a fieldRef? I'm trying to understand what the implementation would look like.
JRBANCEL commentedon Jul 9, 2020
Yes, this looks like the right way to do this.
emaildanwilson commentedon Jul 15, 2020
/assign @emaildanwilson
mpetason commentedon Jul 15, 2020
Talked to @emaildanwilson on Slack. They want to take over the issue and work on it. I'm on vacation next week so I won't be able to finish it as quickly.
evankanderson commentedon Jul 17, 2020
/assign @whaught
It sounds like Weston might be the right person to do an initial pass and then find someone else with approver if he doesn't have it by then.
evankanderson commentedon Jul 17, 2020
/unassign whaught
Whoops, this is the issue, not the PR.
rccrdpccl commentedon Aug 3, 2020
Glad to see this landing to knative-serving. However, since this did not look like it was going to be implemented, we have been implementing it through annotations, one CRD and a webhook, greatly simplifying the definition from the user perspective https://github.com/softonic/node-policy-webhook @sumowrestler @calclavia
sniperking1234 commentedon Aug 11, 2020
When will this feature be available?
mattmoor commentedon Aug 11, 2020
in 0.17, which cuts a week from tomorrow.