PluginConfig
pgbackrest.dalibo.com / v1
apiVersion: pgbackrest.dalibo.com/v1
kind: PluginConfig
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object required
spec defines the desired state of the PluginConfig
exporterConfig object
Defines options to inject, enable and configure a pgBackRest exporter
sidecar into the cluster pods.
When enabled, it adds a pgBackRest exporter container to expose backup
and WAL archiving metrics for monitoring purposes.
collectInterval
integer required
Collecting metrics interval in seconds.
enabled
boolean
Define if pgBackRest exporter should be enabled.
resourcesRequirement object
Defines resource requests and limits for the pgBackRest exporter sidecar containers.
claims []object
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This field depends on the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
name
string required
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
request
string
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise
only the result of this request.
limits
object
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
requests
object
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/
resourcesRequirement object
Defines resource requests and limits for the pgBackRest sidecar containers.
claims []object
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This field depends on the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
name
string required
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
request
string
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise
only the result of this request.
limits
object
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
requests
object
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/
storageConfig object
Defines the configuration for pgBackRest storage used to persist WALs
when running in asynchronous mode. When provided, it allows to customize
the PersistentVolumeClaim settings (storage class and default size) for
the pgBackRest sidecars.
size
string
Defines the size of storage request for pgBackRest WAL storage
when running in asynchronous mode. This value determines the
capacity allocated to safely retain WALs.
pattern:
^[0-9]+?[M|G]i$
storageClass
string required
Defines the storage class used for PersistentVolumeClaims
created for the pgBackRest sidecar container. This storage will be used
to safely store WAL segments when running in asynchronous mode.
minLength:
1No matches. Try .spec.exporterConfig for an exact path