forked from box/kube-applier
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run kustomize and kubectl sequentially, without piping (#119)
This specifically fixes a bug where `ioutil.ReadAll` could block indefinitely reading from kustomize's stderr pipe when kubectl exited before kustomize. More generally, removing piping altogether reduces the complexity and eliminates the distinct possibility of bugs like this being introduced again. From my testing in exp-1-aws, where runs have been taking ~366 seconds, this change adds about 4 seconds to the overall run latency. I think that's more than acceptable.
- Loading branch information
1 parent
16bdd56
commit dbbc2bc
Showing
1 changed file
with
12 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters