generated from replicatedhq/krew-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: request/limits mismatch with many containers in a pod (#21)
* fix apply command for oomer.yaml * wip: container index fix * add simple helper to retrieve podSpecIndex This is used to map the correct memory limits/requests to the relevant container that was OOMKilled * update docstring * alter usage of plugin integration tests to suite pkg usage * remove redundant use of index in .Status.ContainerStatuses * add wip test for checking resources are matching * add helper function for retrieving deployment manifest resource lim/request * add test for matching plugin.Run func result to manifest mem req/lim * update comment for hardcoded container index * add docstring for purpose of TearDownSuite with RequiresClusterTests * add knownIndex assignment for explanation with getMemoryRequestAndLimitFromDeploymentManifest func * fix typo in README development section
- Loading branch information
Showing
4 changed files
with
137 additions
and
32 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
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