Skip to main content
Version: Dev

API Reference

Packages

barmancloud.cnpg.io/v1

Package v1 contains API Schema definitions for the barmancloud v1 API group

Resource Types

InstanceSidecarConfiguration

InstanceSidecarConfiguration defines the configuration for the sidecar that runs in the instance pods.

Appears in:

FieldDescriptionRequiredDefaultValidation
env EnvVar arrayThe environment to be explicitly passed to the sidecar
retentionPolicyIntervalSeconds integerThe retentionCheckInterval defines the frequency at which the
system checks and enforces retention policies.
1800
resources ResourceRequirementsResources define cpu/memory requests and limits for the sidecar that runs in the instance pods.

ObjectStore

ObjectStore is the Schema for the objectstores API.

FieldDescriptionRequiredDefaultValidation
apiVersion stringbarmancloud.cnpg.io/v1True
kind stringObjectStoreTrue
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.True
spec ObjectStoreSpecSpecification of the desired behavior of the ObjectStore.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
True
status ObjectStoreStatusMost recently observed status of the ObjectStore. This data may not be up to
date. Populated by the system. Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

ObjectStoreSpec

ObjectStoreSpec defines the desired state of ObjectStore.

Appears in:

FieldDescriptionRequiredDefaultValidation
configuration BarmanObjectStoreConfigurationThe configuration for the barman-cloud tool suiteTrue
retentionPolicy stringRetentionPolicy is the retention policy to be used for backups
and WALs (i.e. '60d'). The retention policy is expressed in the form
of XXu where XX is a positive integer and u is in [dwm] -
days, weeks, months.
Pattern: ^[1-9][0-9]*[dwm]$
instanceSidecarConfiguration InstanceSidecarConfigurationThe configuration for the sidecar that runs in the instance pods

ObjectStoreStatus

ObjectStoreStatus defines the observed state of ObjectStore.

Appears in:

FieldDescriptionRequiredDefaultValidation
serverRecoveryWindow object (keys:string, values:RecoveryWindow)ServerRecoveryWindow maps each server to its recovery windowTrue

RecoveryWindow

RecoveryWindow represents the time span between the first recoverability point and the last successful backup of a PostgreSQL server, defining the period during which data can be restored.

Appears in:

FieldDescriptionRequiredDefaultValidation
firstRecoverabilityPoint TimeThe first recoverability point in a PostgreSQL server refers to
the earliest point in time to which the database can be
restored.
True
lastSuccussfulBackupTime TimeThe last successful backup timeTrue