solo-io / go-utils

golang utilities
Apache License 2.0
112 stars 19 forks source link

Kube dump fail handler #258

Closed kdorosh closed 5 years ago

kdorosh commented 5 years ago

related to: https://github.com/solo-io/gloo/issues/985

Goal

Print kube pod logs and statuses in kube install namespace to ease debugging failed regression/e2e tests in CI

Context

tested in gloo-ee PR and used to debug a failing regression test (printed the kube pod status with the failed image it was trying to pull, which was malformed)

kdorosh commented 5 years ago

closing because I found similar logic in gloo