DevOpsBest, YAML-scanning, AllControls
This control identifies all Pods for which the memory limit is not set.Note, this control is configurable. See below the details.
CronJob, DaemonSet, Deployment, Job, Pod, ReplicaSet, StatefulSet
This control identifies all Pods for which the memory limit is not set.
Set the memory limit or use exception mechanism to avoid unnecessary notifications.
This control can be configured using the following parameters. Read CLI/UI documentation about how to change parameters.
Ensure memory max requests are set
Ensure memory min requests are set
Ensure memory max limits are set
Ensure memory min limits are set
apiVersion: v1 kind: Pod metadata: name: frontend spec: containers: - name: app image: images.my-company.example/app:v4 resources: requests: memory: "64Mi" cpu: "250m" limits: memory: "128Mi" #we make sure this is set cpu: "500m"
Updated about 2 months ago