Closed wenzowski closed 4 years ago
avoid use of the --follow flag when fetching logs for a pod to avoid hung deployments
--follow
example hung deployment: https://cas-shipit.pathfinder.gov.bc.ca/bcgov/cas-ggircs/wksv3k-dev/deploys/375
This fixes job log fetching introduced in #16 by only fetching logs after the job is complete instead of trying to stream them line by line.
So it turns out that the issue was with Shipit, and not oc. This should be reverted.
oc
avoid use of the
--follow
flag when fetching logs for a pod to avoid hung deploymentsexample hung deployment: https://cas-shipit.pathfinder.gov.bc.ca/bcgov/cas-ggircs/wksv3k-dev/deploys/375
This fixes job log fetching introduced in #16 by only fetching logs after the job is complete instead of trying to stream them line by line.