-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement(k8s): reduce usage of kubectl, use APIs directly
Cleaning up a bit of tech debt here. This will make Garden processes more light-weight, and hopefully reduce some test flakiness that has appeared to be related to our use of kubectl when running test/task pods. The refactor of PodRunner is the most substantial change, so please take a close look at that one. Tests should cover the changes pretty well though. I didn't go so far as to replace our use of `kubectl apply`, because there's just too much magic that happens in that thing. Same with `kubectl port-forward`, at least that'll be a PR of its own. I also skipped a few instances where kubectl is being used infrequently.
- Loading branch information
Showing
40 changed files
with
2,336 additions
and
1,302 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
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
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
Oops, something went wrong.