Skip to content

Commit

Permalink
k8s: Deploy 3 node cluster in CRUD e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalKorepta committed Oct 3, 2023
1 parent 486bfa8 commit 37b618b
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ metadata:
finalizers:
- operator.redpanda.com/finalizer
name: redpanda
spec:
chartRef:
chartVersion: "5.5.1"
clusterSpec:
statefulset:
replicas: 1
status:
conditions:
- message: Redpanda reconciliation succeeded
Expand All @@ -27,13 +21,13 @@ kind: StatefulSet
metadata:
name: redpanda
spec:
replicas: 1
replicas: 3
status:
availableReplicas: 1
currentReplicas: 1
readyReplicas: 1
replicas: 1
updatedReplicas: 1
availableReplicas: 3
currentReplicas: 3
readyReplicas: 3
replicas: 3
updatedReplicas: 3
---
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@ spec:
timeout: 1m
chartVersion: 5.5.1
clusterSpec:
image:
tag: v23.2.9
statefulset:
replicas: 1
replicas: 3
additionalRedpandaCmdFlags:
- --dump-memory-diagnostics-on-alloc-failure-kind=all
- --abort-on-seastar-bad-alloc=''
- --reserve-memory=100M
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
chartVersion: "5.5.2"
clusterSpec:
statefulset:
replicas: 1
replicas: 3
status:
conditions:
- message: Redpanda reconciliation succeeded
Expand All @@ -22,6 +22,24 @@ status:
helmRepository: redpanda-repository
helmRepositoryReady: true
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: redpanda
status:
conditions:
- message: Release reconciliation succeeded
reason: ReconciliationSucceeded
status: "True"
type: Ready
- message: Helm upgrade succeeded
reason: UpgradeSucceeded
status: "True"
type: Released
helmChart: redpanda/redpanda-redpanda
lastAppliedRevision: 5.3.2
lastAttemptedRevision: 5.3.2
---
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
collectors:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ metadata:
spec:
chartRef:
chartVersion: "5.5.2"
clusterSpec:
image:
tag: v23.2.10
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,24 @@ status:
replicas: 3
updatedReplicas: 3
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: redpanda
status:
conditions:
- message: Release reconciliation succeeded
reason: ReconciliationSucceeded
status: "True"
type: Ready
- message: Helm upgrade succeeded
reason: UpgradeSucceeded
status: "True"
type: Released
helmChart: redpanda/redpanda-redpanda
lastAppliedRevision: 5.3.3
lastAttemptedRevision: 5.3.3
---
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
collectors:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,16 @@ spec:
chartRef:
chartVersion: "5.5.3"
clusterSpec:
image:
tag: v23.2.11
logging:
logLevel: debug
statefulset:
replicas: 3
additionalRedpandaCmdFlags:
- --dump-memory-diagnostics-on-alloc-failure-kind=all
- --abort-on-seastar-bad-alloc=''
- --reserve-memory=120M
config:
cluster:
cluster_id: testID

0 comments on commit 37b618b

Please sign in to comment.