• Kubernetes Submit Queue's avatar
    Merge pull request #34634 from mwielgus/pod-unschedulable · e3067f32
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Make "Unschedulable" reason a constant in api
    
    String "Unschedulable" is used in couple places in K8S:
    * scheduler
    * federation replicaset and deployment controllers
    * cluster autoscaler
    * rescheduler
    This PR makes the string a part of API so it not changed.
    
    cc: @davidopp @fgrzadkowski @wojtek-t
    e3067f32
types.go 144 KB