-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathhelm-chart.feature
More file actions
39 lines (37 loc) · 1.09 KB
/
helm-chart.feature
File metadata and controls
39 lines (37 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@serial
Feature: Redpanda Helm Chart
Scenario: Tolerating Node Failure
Given I helm install "redpanda" "../charts/redpanda/chart" with values:
```yaml
nameOverride: foobar
fullnameOverride: bazquux
statefulset:
sideCars:
image:
tag: dev
repository: localhost/redpanda-operator
pvcUnbinder:
enabled: true
unbindAfter: 15s
brokerDecommissioner:
enabled: true
decommissionAfter: 15s
```
When I stop the Node running Pod "bazquux-2"
And Pod "bazquux-2" is eventually Pending
Then Pod "bazquux-2" will eventually be Running
And kubectl exec -it "bazquux-0" "rpk redpanda admin brokers list | sed -E 's/\s+/ /gm' | cut -d ' ' -f 1,6" will eventually output:
```
ID MEMBERSHIP
0 active
1 active
3 active
```
And kubectl exec -it "bazquux-0" "rpk redpanda admin brokers list --include-decommissioned | sed -E 's/\s+/ /gm' | cut -d ' ' -f 1,6" will eventually output:
```
ID MEMBERSHIP
0 active
1 active
3 active
2 -
```