Automation Orchestrator install and tweaks
This commit is contained in:
26
roles/sno_etcd_defrag/meta/argument_specs.yml
Normal file
26
roles/sno_etcd_defrag/meta/argument_specs.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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
|
||||
16
roles/sno_etcd_defrag/meta/main.yml
Normal file
16
roles/sno_etcd_defrag/meta/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: ptoal
|
||||
description: Defragment etcd on single-node OpenShift (automatic defrag is disabled there)
|
||||
license: MIT
|
||||
min_ansible_version: "2.16"
|
||||
platforms:
|
||||
- name: GenericLinux
|
||||
versions:
|
||||
- all
|
||||
galaxy_tags:
|
||||
- openshift
|
||||
- etcd
|
||||
- sno
|
||||
|
||||
dependencies: []
|
||||
Reference in New Issue
Block a user