kapp icon indicating copy to clipboard operation
kapp copied to clipboard

Provide more informations in deploy progress log

Open StarpTech opened this issue 5 years ago • 1 comments

As discussed in slack.

In comparison to skaffold (another deployment tool), kapp only reports if the condition was met or not. I'd like to see more information about the stabilization process e.g:

Waiting for deployments to stabilize...
 - production:deployment/demo: creating container service
    - production:pod/demo-5cf5f768d4-x9xfr: creating container service
 - production:deployment/demo: Readiness probe failed: Get http://10.2.0.161:5002/health: dial tcp 10.2.0.161:5002: connect: connection refused
    - production:pod/demo-5cf5f768d4-x9xfr: Readiness probe failed: Get http://10.2.0.161:5002/health: dial tcp 10.2.0.161:5002: connect: connection refused
 - production:deployment/demo is ready.
Deployments stabilized in 1m19.115769968s

StarpTech avatar Oct 12 '20 15:10 StarpTech

check what current error message look like for:

  • [ ] probes (readiness liveliness startup)
  • [ ] image pull errors
  • [ ] container failing at startup (eg wrong command/args)
  • [ ] what else (https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/)?

cppforlife avatar Oct 12 '20 16:10 cppforlife