backups:
# trackLatestRestorableTime: true
pgbackrest:
# metadata:
# labels:
picture: docker.io/percona/percona–pgbackrest:2.55.0
# initContainer:
# picture: docker.io/percona/percona-postgresql-operator:2.7.0
# sources:
# limits:
# cpu: 2.0
# reminiscence: 4Gi
# requests:
# cpu: 1.0
# reminiscence: 3Gi
# containerSecurityContext:
# runAsUser: 1001
# runAsGroup: 1001
# runAsNonRoot: true
# privileged: false
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# capabilities:
# add:
# – NET_ADMIN
# – SYS_TIME
# drop:
# – ALL
# seccompProfile:
# kind: Localhost
# localhostProfile: localhost/profile.json
# procMount: Default
# seLinuxOptions:
# kind: spc_t
# degree: s0:c123,c456
# containers:
# pgbackrest:
# sources:
# limits:
# cpu: 200m
# reminiscence: 128Mi
# requests:
# cpu: 150m
# reminiscence: 120Mi
# pgbackrestConfig:
# sources:
# limits:
# cpu: 200m
# reminiscence: 128Mi
# requests:
# cpu: 150m
# reminiscence: 120Mi
#
configuration:
– secret:
identify: cluster1–pgbackrest–secrets and techniques
# jobs:
# restartPolicy: OnFailure
# backoffLimit: 2
# priorityClassName: high-priority
# ttlSecondsAfterFinished: 60
# sources:
# limits:
# cpu: 200m
# reminiscence: 128Mi
# requests:
# cpu: 150m
# reminiscence: 120Mi
# tolerations:
# – impact: NoSchedule
# key: function
# operator: Equal
# worth: connection-poolers
#
# securityContext:
# fsGroup: 1001
# runAsUser: 1001
# runAsNonRoot: true
# fsGroupChangePolicy: “OnRootMismatch”
# runAsGroup: 1001
# seLinuxOptions:
# kind: spc_t
# degree: s0:c123,c456
# seccompProfile:
# kind: Localhost
# localhostProfile: localhost/profile.json
# supplementalGroups:
# – 1001
# sysctls:
# – identify: internet.ipv4.tcp_keepalive_time
# worth: “600”
# – identify: internet.ipv4.tcp_keepalive_intvl
# worth: “60”
#
world:
# repo1-retention-full: “14”
# repo1-retention-full-type: time
repo1–path: /pgbackrest/postgres–operator/cluster1/repo1
# repo1-cipher-type: aes-256-cbc
repo1–s3–uri–type: path
repo1–s3–confirm–tls: ‘n’
# repo2-path: /pgbackrest/postgres-operator/cluster1-multi-repo/repo2
# repo3-path: /pgbackrest/postgres-operator/cluster1-multi-repo/repo3
# repo4-path: /pgbackrest/postgres-operator/cluster1-multi-repo/repo4
repoHost:
# sources:
# limits:
# cpu: 200m
# reminiscence: 128Mi
# requests:
# cpu: 150m
# reminiscence: 120Mi
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
– weight: 1
podAffinityTerm:
labelSelector:
matchLabels:
postgres–operator.crunchydata.com/knowledge: pgbackrest
topologyKey: kubernetes.io/hostname
# tolerations:
# – impact: NoSchedule
# key: function
# operator: Equal
# worth: connection-poolers
# priorityClassName: high-priority
#
# topologySpreadConstraints:
# – maxSkew: 1
# topologyKey: my-node-label
# whenUnsatisfiable: ScheduleAnyway
# labelSelector:
# matchLabels:
# postgres-operator.crunchydata.com/pgbackrest: “”
#
# securityContext:
# fsGroup: 1001
# runAsUser: 1001
# runAsNonRoot: true
# fsGroupChangePolicy: “OnRootMismatch”
# runAsGroup: 1001
# seLinuxOptions:
# kind: spc_t
# degree: s0:c123,c456
# seccompProfile:
# kind: Localhost
# localhostProfile: localhost/profile.json
# supplementalGroups:
# – 1001
# sysctls:
# – identify: internet.ipv4.tcp_keepalive_time
# worth: “600”
# – identify: internet.ipv4.tcp_keepalive_intvl
# worth: “60”
#
handbook:
repoName: repo1
choices:
– —kind=full
# initialDelaySeconds: 120
repos:
# – identify: repo1
# schedules:
# full: “0 0 * * 6”
# differential: “0 1 * * 1-6”
# incremental: “0 1 * * 1-6”
# quantity:
# volumeClaimSpec:
# storageClassName: normal
# accessModes:
# – ReadWriteOnce
# sources:
# requests:
# storage: 1Gi
– identify: repo1
s3:
bucket: “ajtest”
endpoint: “https://host.k3d.inner:9000”
area: “us-east-1”
