Top
Enterprise Postgres 18 for Kubernetes Reference

1.2.12 FEPAutoscale Custom Resource

When FEPClusterCR is defined, FEPAutoscaleCR is defined.

The parameters are as follows:

Configuration changes are made in FEPClusterCR.

Field

Default

Details

apiVersion

fep.fujitsu.io/v1

Fixed

kind

FEPAutoscale

Fixed

metadata.name

Same as FEPClusterCR

Fixed

metadata.namespace

Same as FEPClusterCR

Fixed

spec.scaleout.policy

off

[cpu_utilization/connection_number/off]

spec.scaleout.threshold

cpu_utilization: 40

connection_number: 40

Threshold

spec.scaleout.metricName

pg_capacity_connection_average

Specify this parameter if policy is connection_number.

The custom metrics server must publish the average number of connections in the FEP cluster under this name.

spec.scaleout.stabilizationWindowSeconds

0

If the duration (seconds) threshold of this parameter has been exceeded continuously, a scale out is performed.

spec.limits.maxReplicas

2

Maximum number of replicas (0 to 15)

If the value is out of range, no automatic scale out is performed.