Skip to content

Commit 05a56ba

Browse files
committed
#42 : For some reason the declaration of the properties for resource limits were not in the scheme yaml.
1 parent 8e28cce commit 05a56ba

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

Backlog

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
By priority:
22
#34 : Expand Storage
3-
#43 : Increase memory of Kubegres controller
43
#27 : Additional volumes
54
#20 : Delete PVC
65
#40 : Wal_level to logical

kubegres.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,28 @@ spec:
159159
replicas:
160160
format: int32
161161
type: integer
162+
resources:
163+
description: ResourceRequirements describes the compute resource requirements.
164+
properties:
165+
limits:
166+
additionalProperties:
167+
anyOf:
168+
- type: integer
169+
- type: string
170+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
171+
x-kubernetes-int-or-string: true
172+
description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
173+
type: object
174+
requests:
175+
additionalProperties:
176+
anyOf:
177+
- type: integer
178+
- type: string
179+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
180+
x-kubernetes-int-or-string: true
181+
description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
182+
type: object
183+
type: object
162184
scheduler:
163185
properties:
164186
affinity:

0 commit comments

Comments
 (0)