ylliX - Online Advertising Network
Vertex AI - Antrophic and Mistral models: Why does it require Imegen access?

Kubernetes CNPG cluster s3 barman restore: could not load server certificate file \”/controller/certificates/server.crt\”: No such file or directory”


Image I am using: cnpg-postgresql16-citus12:16.4-bookworm. Data is backed up on s3 using barmanObjectStore

enter image description here

The restoration manifest being used is…

externalClusters:
- name: citus-cnpg-coord
  barmanObjectStore:
    wal:
      compression: gzip
      maxParallel: 8
      encryption: AES256
    destinationPath: s3://blitz-citus-backup/citus-cnpg-coord
    s3Credentials:
      accessKeyId:
        name: s3-backup-bucket-secret
        key: accessKeyId
      secretAccessKey:
        name: s3-backup-bucket-secret
        key: secretAccessKey
bootstrap:
recovery:
  source: citus-cnpg-coord

However, as the recovery init job starts, it fails with the following logs

{"level":"info","ts":"2024-11-22T10:34:12Z","logger":"pg_ctl","msg":"waiting for server to start....2024-11-22 10:34:12.243 UTC [33] FATAL:  could not load server certificate file \"/controller/certificates/server.crt\": No such file or directory","pipe":"stdout","logging_pod":"citus-cnpg-coord-1-full-recovery"}

I am not sure where it’s going wrong, I am using certmanager to assign selfsigned certificates in case that helps.
At this point I would love any help at all. Thanks for reading.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *