k3s/pkg/registry/pod
k8s-merge-robot 132ebb091a Merge pull request #24459 from fgrzadkowski/unschedulable_pod
Automatic merge from submit-queue

Add pod condition PodScheduled to detect situation when scheduler tried to schedule a Pod, but failed

Set `PodSchedule` condition to `ConditionFalse` in `scheduleOne()` if scheduling failed and to `ConditionTrue` in `/bind` subresource.

Ref #24404

@mml (as it seems to be related to "why pending" effort)

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24459)
<!-- Reviewable:end -->
2016-05-12 05:54:06 -07:00
..
etcd Merge pull request #24459 from fgrzadkowski/unschedulable_pod 2016-05-12 05:54:06 -07:00
rest In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
strategy.go pkg/registry/pod: avoid allocation in common pod search 2016-04-21 15:53:47 -04:00
strategy_test.go Add field selector for pod.spec.restartPolicy 2016-02-16 16:51:42 -05:00