27 lines
1.1 KiB
YAML
27 lines
1.1 KiB
YAML
---
|
|
argument_specs:
|
|
main:
|
|
short_description: Defragment etcd on a single-control-plane OpenShift cluster
|
|
description:
|
|
- cluster-etcd-operator disables automatic defragmentation on SingleReplica topology.
|
|
This role defragments the local member when fragmentation exceeds the thresholds of
|
|
the etcdDatabaseHighFragmentationRatio alert, then clears any NOSPACE alarm.
|
|
- Blocks etcd for the duration of the defrag. Requires pods/exec in openshift-etcd.
|
|
options:
|
|
sno_etcd_defrag_max_in_use_ratio:
|
|
description: Defragment when dbSizeInUse / dbSize is below this ratio.
|
|
type: float
|
|
default: 0.5
|
|
sno_etcd_defrag_min_db_size_bytes:
|
|
description: Skip defragmentation when the database is smaller than this.
|
|
type: int
|
|
default: 104857600
|
|
sno_etcd_defrag_command_timeout:
|
|
description: etcdctl --command-timeout for the defrag, in seconds.
|
|
type: int
|
|
default: 60
|
|
sno_etcd_defrag_force:
|
|
description: Defragment regardless of the thresholds.
|
|
type: bool
|
|
default: false
|