Top
Enterprise Postgres 18 for Kubernetes User's Guide

5.14.2 Storing validation environment statistics in object storage

Run FEPAction to export the validation environment statistics and store them in object storage. Define the connection information to object storage in the FEPCluster custom resource before executing FEPAction.

The following is an example definition of FEPAction that stores a binary file that exports the database "mydatabase" in object storage AWS s3.

Example) Definition example of FEPCluster custom resource

spec:
  fep:
    fixedStats: 
      endpoint: #Required
        protocol: s3
        authentication: aws-fixedstats-credentials

Example) Definition example of FEPAction custom resource

apiVersion: fep.fujitsu.io/v1
kind: FEPAction
metadata:
  name: fep-action-fixdStats
spec:
  fepAction:
    targetClusterName: new-fep #target cluster
    type: fixed_stats 
    args: 
      fixedStatsType: export
      targetDb: mydatabase
      url: 's3://export_stats/file'
      targetStats: effective