• Michail Kargakis's avatar
    controller: support perma-failed deployments · a5029bf3
    Michail Kargakis authored
    This commit adds support for failing deployments based on a timeout
    parameter defined in the spec. If there is no progress for the amount
    of time defined as progressDeadlineSeconds then the deployment will be
    marked as failed by adding a condition with a ProgressDeadlineExceeded
    reason in it. Progress in the context of a deployment means the creation
    or adoption of a new replica set, scaling up new pods, and scaling down
    old pods.
    a5029bf3
controller_utils.go 30.3 KB