mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-13 22:23:11 +01:00
feat: add sidecar resources definition to ObjectStore CRD
Modify ObjectStore CRD to enable resources specification for the plugin's sidecar container. Signed-off-by: MichaluxPL <68371308+MichaluxPL@users.noreply.github.com>
This commit is contained in:
parent
c24d7aed3e
commit
db51e51fa0
@ -517,6 +517,37 @@ spec:
|
|||||||
The retentionCheckInterval defines the frequency at which the
|
The retentionCheckInterval defines the frequency at which the
|
||||||
system checks and enforces retention policies.
|
system checks and enforces retention policies.
|
||||||
type: integer
|
type: integer
|
||||||
|
resources:
|
||||||
|
description: |-
|
||||||
|
Plugin's sidecar resources requirements. Please refer to
|
||||||
|
https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
|
for more information.
|
||||||
|
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-resources-containers/
|
||||||
|
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. Requests cannot exceed Limits.
|
||||||
|
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
type: object
|
type: object
|
||||||
retentionPolicy:
|
retentionPolicy:
|
||||||
description: |-
|
description: |-
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user