Top
Enterprise Postgres 18 for Kubernetes User's Guide

5.2 Configuration Change

This section describes changes to the FEPCluster configuration.

List FEPCluster

Equivalent Kubernetes command: kubectl get FEPClusters (-A)

This operation lists all FEPClusters in the namespace in the following format:. Alternatively, if the -A option is specified, will list all FEPClusters in all namespace.

Field

Value

Details

NAME

.metadata.name

Name of Cluster

AGE

Elapsed time

Indicates the amount of time that has elapsed since the cluster was created


Example)

# kubectl get fepclusters -A

NAMESPACE       NAME            AGE
namespace1      ns1fep1         21h
namespace2      ns2fep2         22h

Update FEPCluster

Equivalent Kubernetes command: kubectl apply -f <new_spec>

Operations that can be performed here.

Custom Resource spec

Change effect

.spec.fep.instances: n

Increase the number of nodes in the cluster to n.

.spec.fep.image.image:
'quay.io/fujitsu/fujitsu-enterprise-postgres-18-server:ubi9-18-1.1'

Minor upgrade of FEP image to ubi9-18-1.1.

spec.fepChildCrVal.backup.image.image:
'quay.io/fujitsu/fujitsu-enterprise-postgres-18-backup:ubi9-18-1.1'

Minor upgrade of Backup image to ubi9-18-1.1.

This will impact behaviour for values in fep section only.
All parameters can be updated from the FEPCluster custom resource.

Delete FEPCluster

Equivalent Kubernetes command: kubectl delete FEPCluster <cluster_name>

This operation will remove the FEPCluster by the cluster_name and all Child CRs (FEPVolume, FEPConfig, FEPCert & FEPUser) & resources associated with it.

Note

Deleting a FEPCluster will delete all PV associated with the cluster, including backup and archived WAL volumes (except when using pre-made PV or AWS S3). This is an unrecoverable action.