mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-09 18:56:57 +00:00
35 lines
757 B
YAML
35 lines
757 B
YAML
successMessage: Memory limits are set
|
|
failureMessage: Memory limits should be set
|
|
category: Efficiency
|
|
target: Container
|
|
containers:
|
|
exclude:
|
|
- initContainer
|
|
schema:
|
|
'$schema': http://json-schema.org/draft-07/schema
|
|
type: object
|
|
required:
|
|
- resources
|
|
properties:
|
|
resources:
|
|
type: object
|
|
required:
|
|
- limits
|
|
properties:
|
|
limits:
|
|
type: object
|
|
required:
|
|
- memory
|
|
properties:
|
|
memory:
|
|
type: string
|
|
not:
|
|
const: ''
|
|
mutations:
|
|
- op: add
|
|
path: /resources/limits/memory
|
|
value: "512Mi"
|
|
comments:
|
|
- find: "memory: 512Mi"
|
|
comment: "TODO: Set this to the maximum amount of memory you want your workload to use"
|