(chore) move resource(limits) to an include for easier maintenance (#1034)

This commit is contained in:
Kjeld Schouten-Lebbing
2021-09-26 20:44:02 +02:00
committed by GitHub
parent 4c1861933f
commit 68a5032dad
97 changed files with 140 additions and 3800 deletions
+1 -40
View File
@@ -612,46 +612,7 @@ questions:
- value: "Always"
description: "Always"
- variable: resources
group: "Resources and Devices"
label: ""
schema:
type: dict
attrs:
- variable: limits
label: "Advanced Limit Resource Consumption"
schema:
type: dict
attrs:
- variable: cpu
label: "CPU"
schema:
type: string
default: "2000m"
valid_chars: '^([0-9]+)(\.[0-9]?|m?)$'
- variable: memory
label: "Memory RAM"
schema:
type: string
default: "2Gi"
valid_chars: '^([0-9.]+)([EPTGMK]i?|[EPTGMK]?|e[0-9]+)$'
- variable: requests
label: "Advanced Request minimum resources required"
schema:
type: dict
attrs:
- variable: cpu
label: "CPU"
schema:
type: string
default: "10m"
valid_chars: '^([0-9]+)(\.[0-9]?|m?)$'
- variable: memory
label: "Memory RAM"
schema:
type: string
default: "50Mi"
valid_chars: '^([0-9.]+)([EPTGMK]i?|[EPTGMK]?|e[0-9]+)$'
# Include{resources}
- variable: autoscaling
group: "Resources and Devices"