-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update unset-memory-requirements and unset-cpu-requirements, fixes #694
- Loading branch information
Showing
4 changed files
with
12 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
name: "unset-memory-requirements" | ||
description: "Indicates when containers do not have memory requests and limits set." | ||
remediation: >- | ||
Set memory requests and limits for your container based on its requirements. | ||
Set memory limits for your container based on its requirements. | ||
Refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#requests-and-limits for details. | ||
scope: | ||
objectKinds: | ||
- DeploymentLike | ||
template: "memory-requirements" | ||
params: | ||
requirementsType: "any" | ||
requirementsType: "request" | ||
lowerBoundMB: 0 | ||
upperBoundMB: 0 |