PointInTimeRecovery
k8s.mariadb.com / v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: PointInTimeRecovery
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
PointInTimeRecoverySpec defines the desired state of PointInTimeRecovery. It contains binlog archive and point-in-time restoration settings.
archiveTimeout
string
ArchiveTimeout defines the maximum duration for the binary log archival.
If this duration is exceeded, the sidecar agent will log an error and it will be retried in the next archive cycle.
It defaults to 1 hour.
compression
string
Compression algorithm to be used for compressing the binary logs.
This field is immutable, it cannot be updated after creation.
enum:
none, bzip2, gzip, zstd
compressionThreads
integer
CompressionThreads defines the number of CPU threads to use for compression. It only has effect when compression is set to zstd.
Defaults to all available CPUs.
format:
int32minimum:
1physicalBackupRef object required
PhysicalBackupRef is a reference to a PhysicalBackup object that will be used as base backup.
name
string
storage object required
PointInTimeRecoveryStorage is the storage where the point in time recovery data will be stored
azureBlob object
AzureBlob is the Azure Blob Storage where the binary logs will be kept.
containerName
string required
ContainerName is the name of the storage container.
prefix
string
Prefix indicates a folder/subfolder in the container. For example: mariadb/ or mariadb/backups. A trailing slash '/' is added if not provided.
serviceURL
string required
ServiceURL is the full URL for connecting to Azure, usually in the form: http(s)://<account>.blob.core.windows.net/.
storageAccountKey object
StorageAccountKey is a reference to a Secret key containing the Azure Blob Storage Storage account Key. Pairs with StorageAccountKey for static credential authentication
key
string required
name
string
storageAccountName
string
StorageAccountName is the name of the storage account. Pairs with StorageAccountKey for static credential authentication
tls object
TLS provides the configuration required to establish TLS connections with Azure Blob Storage.
caSecretKeyRef object
CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3.
By default, the system trust chain will be used, but you can use this field to add more CAs to the bundle.
key
string required
name
string
enabled
boolean
Enabled is a flag to enable TLS.
s3 object
S3 is the S3-compatible storage where the binary logs will be kept.
accessKeyIdSecretKeyRef object
AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 access key id.
key
string required
name
string
bucket
string required
Bucket is the name Name of the bucket to store backups.
endpoint
string required
Endpoint is the S3 API endpoint without scheme.
prefix
string
Prefix indicates a folder/subfolder in the bucket. For example: mariadb/ or mariadb/backups. A trailing slash '/' is added if not provided.
region
string
Region is the S3 region name to use.
secretAccessKeySecretKeyRef object
AccessKeyIdSecretKeyRef is a reference to a Secret key containing the S3 secret key.
key
string required
name
string
sessionTokenSecretKeyRef object
SessionTokenSecretKeyRef is a reference to a Secret key containing the S3 session token.
key
string required
name
string
ssec object
SSEC is a reference to a Secret containing the SSE-C (Server-Side Encryption with Customer-Provided Keys) key.
The secret must contain a 32-byte key (256 bits) in the specified key.
This enables server-side encryption where you provide and manage the encryption key.
customerKeySecretKeyRef object required
CustomerKeySecretKeyRef is a reference to a Secret key containing the SSE-C customer-provided encryption key.
The key must be a 32-byte (256-bit) key encoded in base64.
key
string required
name
string
tls object
TLS provides the configuration required to establish TLS connections with S3.
caSecretKeyRef object
CASecretKeyRef is a reference to a Secret key containing a CA bundle in PEM format used to establish TLS connections with S3.
By default, the system trust chain will be used, but you can use this field to add more CAs to the bundle.
key
string required
name
string
enabled
boolean
Enabled is a flag to enable TLS.
strictMode
boolean
StrictMode controls the behavior when a point-in-time restoration cannot reach the exact target time:
When enabled: Returns an error and avoids replaying binary logs if target time is not reached.
When disabled (default): Replays available binary logs until the last recoverable time. It logs logs an error if target time is not reached.
status object
PointInTimeRecoveryStatus represents the current status of the point-in-time-recovery.
lastRecoverableTime
string
LastRecoverableTime is the most recent recoverable time based on the current state of physical backups and archived binary logs.
No matches. Try .spec.archiveTimeout for an exact path