Skip to content

Commit

Permalink
Added more details for failed deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbunney committed May 6, 2020
1 parent 7dae39e commit c5272d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/resource_kubectl_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ func waitForDeploymentReplicasFunc(provider *KubeProvider, ns, name string) reso
if dply.Generation <= dply.Status.ObservedGeneration {
cond := GetDeploymentCondition(dply.Status, apps_v1.DeploymentProgressing)
if cond != nil && cond.Reason == TimedOutReason {
err := fmt.Errorf("Deployment exceeded its progress deadline")
err := fmt.Errorf("Deployment exceeded its progress deadline: %v\nDeployment details:\n%v", cond.String(), dply.String())
return resource.NonRetryableError(err)
}

Expand Down

0 comments on commit c5272d5

Please sign in to comment.