You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit builds upon a previous commit that added the `--selector` flag to
the sidecar. It updates the chart to appropriate set this new flag and adds
acceptance tests to assert the functionality works as expected.
This commit is separate as the v2.x.x branches need to release the updated
sidecar before it can be used.
# TODO make this an outline and run through multiple configs:
6
+
# - mTLS
7
+
# - TLS
8
+
# - name overrides
9
+
# - ???
10
+
Given I helm install "redpanda""../charts/redpanda/chart" with values:
11
+
```yaml
12
+
nameOverride: foobar
13
+
fullnameOverride: bazquux
14
+
15
+
statefulset:
16
+
sideCars:
17
+
# TODO remove before merging
18
+
image:
19
+
tag: dev
20
+
repository: localhost/redpanda-operator
21
+
pvcUnbinder:
22
+
enabled: true
23
+
unbindAfter: 15s
24
+
brokerDecommissioner:
25
+
enabled: true
26
+
decommissionAfter: 15s
27
+
```
28
+
# May not be required?
29
+
# And Pods matching "app.kubernetes.io/instance=redpanda,app.kubernetes.io/name=foobar" are Ready
30
+
When I stop the Node running Pod "bazquux-2"
31
+
And Pod "bazquux-2" is eventually Pending
32
+
# This helps speed up the test and makes the following wait for Running to
33
+
# be less likely to assert on a phantom Pod.
34
+
# TODO: Something between these two steps is wrong. Pod transitions from
35
+
# Pending -> Terminating. Seems like a race between manual deletion and eviction?
36
+
# Maybe have the previous step block until the Node is actually registered as dead?
37
+
# And I force delete Pod "bazquux-2"
38
+
Then Pod "bazquux-2" will eventually be Running
39
+
And kubectl exec -it "bazquux-0""rpk redpanda admin brokers list | sed -E 's/\s+/ /gm' | cut -d ' ' -f 1,6" will eventually output:
40
+
```
41
+
ID MEMBERSHIP
42
+
0 active
43
+
1 active
44
+
3 active
45
+
```
46
+
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:
0 commit comments