carvel-dev / kapp

kapp is a simple deployment tool focused on the concept of "Kubernetes application" — a set of resources with the same label
https://carvel.dev/kapp
Apache License 2.0
933 stars 110 forks source link

Reformating error output #1024

Closed rohitagg2020 closed 1 month ago

rohitagg2020 commented 2 months ago

Reformating error output. This is how new error looks:

11:40:16AM:  ^ Waiting for 1 unavailable replicas
11:40:16AM:  L ok: waiting on replicaset/simple-app-7698cd459 (apps/v1) namespace: default
11:40:16AM:  L ongoing: waiting on pod/simple-app-7698cd459-k5kh8 (v1) namespace: default
11:40:16AM:     ^ Pending: InvalidImageName, message: Failed to apply default image tag "docker.io/dkalinin/k8s-simple-app@sha256:4c8b96d4fffdfae29258d94a22ae4ad1fe36139d47288b8960d9958d1e63a9d0rohit": couldn't parse image name "docker.io/dkalinin/k8s-simple-app@sha256:4c8b96d4fffdfae29258d94a22ae4ad1fe36139d47288b8960d9958d1e63a9d0rohit": invalid reference format
11:41:11AM: fail: reconcile deployment/simple-app (apps/v1) namespace: default
11:41:11AM:  ^ Deployment is not progressing: ProgressDeadlineExceeded, message: ReplicaSet "simple-app-7698cd459" has timed out progressing.

kapp: Error: waiting on reconcile deployment/simple-app (apps/v1) namespace: default:
  Finished waiting unsuccessfully:
    Deployment is not progressing:
      ProgressDeadlineExceeded, message:
        ReplicaSet "simple-app-7698cd459" has timed out progressing.

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?

Additional Notes for your reviewer:

Review Checklist:

Additional documentation e.g., Proposal, usage docs, etc.: