Skip to content

Commit

Permalink
#42 : For some reason the declaration of the properties for resource …
Browse files Browse the repository at this point in the history
…limits were not in the scheme yaml.
  • Loading branch information
alex-arica committed Sep 23, 2021
1 parent 8e28cce commit 05a56ba
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
1 change: 0 additions & 1 deletion Backlog
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
By priority:
#34 : Expand Storage
#43 : Increase memory of Kubegres controller
#27 : Additional volumes
#20 : Delete PVC
#40 : Wal_level to logical
Expand Down
22 changes: 22 additions & 0 deletions kubegres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,28 @@ spec:
replicas:
format: int32
type: integer
resources:
description: ResourceRequirements describes the compute resource requirements.
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
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/'
type: object
type: object
scheduler:
properties:
affinity:
Expand Down

0 comments on commit 05a56ba

Please sign in to comment.