Skip to content

Commit 7e6ea57

Browse files
jianzhangbjztmshort
andcommitted
Update helm/olmv1/templates/deployment-olmv1-system-catalogd-controller-manager.yml
Co-authored-by: Todd Short <tmshort@users.noreply.github.com>
1 parent 90b470a commit 7e6ea57

File tree

7 files changed

+15
-11
lines changed

7 files changed

+15
-11
lines changed

helm/olmv1/templates/deployment-olmv1-system-catalogd-controller-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
strategy:
1717
type: RollingUpdate
1818
rollingUpdate:
19-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
19+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
2020
maxUnavailable: 0 # Never allow pods to be unavailable during updates
2121
selector:
2222
matchLabels:

helm/olmv1/templates/deployment-olmv1-system-operator-controller-controller-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
strategy:
1616
type: RollingUpdate
1717
rollingUpdate:
18-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
18+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
1919
maxUnavailable: 0 # Never allow pods to be unavailable during updates
2020
selector:
2121
matchLabels:

manifests/experimental-e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ spec:
21112111
strategy:
21122112
type: RollingUpdate
21132113
rollingUpdate:
2114-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
2114+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
21152115
maxUnavailable: 0 # Never allow pods to be unavailable during updates
21162116
selector:
21172117
matchLabels:
@@ -2262,7 +2262,7 @@ spec:
22622262
strategy:
22632263
type: RollingUpdate
22642264
rollingUpdate:
2265-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
2265+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
22662266
maxUnavailable: 0 # Never allow pods to be unavailable during updates
22672267
selector:
22682268
matchLabels:

manifests/experimental.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,7 @@ spec:
20362036
strategy:
20372037
type: RollingUpdate
20382038
rollingUpdate:
2039-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
2039+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
20402040
maxUnavailable: 0 # Never allow pods to be unavailable during updates
20412041
selector:
20422042
matchLabels:
@@ -2174,7 +2174,7 @@ spec:
21742174
strategy:
21752175
type: RollingUpdate
21762176
rollingUpdate:
2177-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
2177+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
21782178
maxUnavailable: 0 # Never allow pods to be unavailable during updates
21792179
selector:
21802180
matchLabels:

manifests/standard-e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ spec:
17991799
strategy:
18001800
type: RollingUpdate
18011801
rollingUpdate:
1802-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
1802+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
18031803
maxUnavailable: 0 # Never allow pods to be unavailable during updates
18041804
selector:
18051805
matchLabels:
@@ -1949,7 +1949,7 @@ spec:
19491949
strategy:
19501950
type: RollingUpdate
19511951
rollingUpdate:
1952-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
1952+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
19531953
maxUnavailable: 0 # Never allow pods to be unavailable during updates
19541954
selector:
19551955
matchLabels:

manifests/standard.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,7 +1724,7 @@ spec:
17241724
strategy:
17251725
type: RollingUpdate
17261726
rollingUpdate:
1727-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
1727+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
17281728
maxUnavailable: 0 # Never allow pods to be unavailable during updates
17291729
selector:
17301730
matchLabels:
@@ -1861,7 +1861,7 @@ spec:
18611861
strategy:
18621862
type: RollingUpdate
18631863
rollingUpdate:
1864-
maxSurge: 1 # Allow temporary extra pod (e.g., 3 pods with 2 replicas) for zero-downtime updates
1864+
maxSurge: 1 # Allow temporary extra pod for zero-downtime updates
18651865
maxUnavailable: 0 # Never allow pods to be unavailable during updates
18661866
selector:
18671867
matchLabels:

test/e2e/single_namespace_support_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"fmt"
66
"os"
77
"testing"
8+
"time"
89

910
"github.com/stretchr/testify/assert"
1011
"github.com/stretchr/testify/require"
@@ -404,9 +405,12 @@ func TestClusterExtensionVersionUpdate(t *testing.T) {
404405
require.Equal(ct, ocv1.ReasonSucceeded, cond.Reason)
405406
}, pollDuration, pollInterval)
406407
t.Log("We should have two ClusterExtensionRevision resources")
408+
// Use 5 minutes for checking ClusterExtensionRevision creation after upgrade.
409+
// In multi-replica deployments, revision creation happens after the upgrade completes,
410+
// which includes leader election time (up to 163s) plus reconciliation overhead.
407411
require.EventuallyWithT(t, func(ct *assert.CollectT) {
408412
cerList := &ocv1.ClusterExtensionRevisionList{}
409413
require.NoError(ct, c.List(context.Background(), cerList))
410414
require.Len(ct, cerList.Items, 2)
411-
}, pollDuration, pollInterval)
415+
}, 5*time.Minute, pollInterval)
412416
}

0 commit comments

Comments
 (0)