mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
Fix Forgejo deployment strategy to prevent queue lock conflicts
Change maxSurge from 100% to 0 and maxUnavailable from 0 to 1 to ensure old pod terminates before new pod starts, preventing LevelDB queue lock conflicts when email notifications are enabled.
This commit is contained in:
@@ -34,8 +34,8 @@ replicaCount: 1
|
||||
strategy:
|
||||
type: 'RollingUpdate'
|
||||
rollingUpdate:
|
||||
maxSurge: '100%'
|
||||
maxUnavailable: 0
|
||||
maxSurge: 0
|
||||
maxUnavailable: 1
|
||||
|
||||
## @param clusterDomain cluster domain
|
||||
clusterDomain: cluster.local
|
||||
|
||||
Reference in New Issue
Block a user