Skip to content

A deployment with all unschedulable pods should show up in revision status #3593

Closed

Description

@mdemirhan

/area API

If there are no resources remaining in a cluster to deploy a pod and when we try to scale up from zero, or when a user deploys a new revision, we should bubble up the information about the lack of capacity in revision status and make it easier for users to understand why their revisions might not be starting up correctly.

Activity

  1. added
    kind/feature
    on Mar 29, 2019
  2. added
    area/API
    on Mar 29, 2019
  3. mattmoor commented on Jul 11, 2019

    @mattmoor
    Contributor

    /assign @jonjohnsonjr

    Jon, please let me know if this isn't within the scope you are tracking.

  4. jonjohnsonjr commented on Jul 11, 2019

    @jonjohnsonjr
    Contributor

    This may have been fixed by #4191?

  5. jonjohnsonjr commented on Aug 14, 2019

    @jonjohnsonjr
    Contributor

    Confirmed this was fixed by tainting all my nodes:

    $ for node in $(kubectl get nodes -oname); do kubectl taint nodes $node key=value:NoSchedule; done
    

    When trying to scale up a revision, I see this in the ksvc status:

      - lastTransitionTime: "2019-08-14T21:24:08Z"
        message: 'Revision "counter-gzhj8" failed with message: 0/2 nodes are available:
          2 node(s) had taints that the pod didn''t tolerate..'
        reason: RevisionFailed
        status: "False"
        type: Ready

    🎉

    To untaint the nodes:

    $ for node in $(kubectl get nodes -oname); do kubectl taint nodes $node key:NoSchedule-; done
    

    /close

  6. knative-prow-robot commented on Aug 14, 2019

    @knative-prow-robot
    Contributor

    @jonjohnsonjr: Closing this issue.

    Details

    In response to this:

    Confirmed this was fixed by tainting all my nodes:

    $ for node in $(kubectl get nodes -oname); do kubectl taint nodes $node key=value:NoSchedule; done

    When trying to scale up a revision, I see this in the ksvc status:

     - lastTransitionTime: "2019-08-14T21:24:08Z"
       message: 'Revision "counter-gzhj8" failed with message: 0/2 nodes are available:
         2 node(s) had taints that the pod didn''t tolerate..'
       reason: RevisionFailed
       status: "False"
       type: Ready

    🎉

    To untaint the nodes:

    $ for node in $(kubectl get nodes -oname); do kubectl taint nodes $node key:NoSchedule-; done

    /close

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/APIkind/feature

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions