Define 'ValkeyReplication' and 'ValkeySentinel' as separate YAML objects. Enable 'podDisruptionBudget' in the configuration. Observe that the PodDisruptionBudget (PDB) is either not created at all or is only created for one set of pods (Valkey) while skipping other (Sentinel).
The Valkey Operator reconciliation process for split configurations (where replication and sentinel are separate objects) does not always trigger the creation of all associated PDB resources. This behavior occurs because the operator is optimized for a unified reconciliation flow.
Consolidate the configuration into a single 'ValkeySentinel' object. This unified approach ensures the operator correctly identifies and reconciles all dependent resources, including PDBs for both data and sentinel pods.
Follow these steps to update the configuration:
Expected output shows distinct PDBs for the replication master/replica and the sentinel pods.