Skip to content

Commit 6cd1efd

Browse files
chungtd203338horsegegunes
authored
K8SPSMDB-1074 fixed MongoDB Cluster cannot failover when down time all pods using mode External (NodePort and LB) by chungtd (#1535)
* K8SPSMDB-1074 fixed by chungtd * edit compare files to fix tests --------- Co-authored-by: Viacheslav Sarzhan <[email protected]> Co-authored-by: Ege Güneş <[email protected]>
1 parent 5220ef8 commit 6cd1efd

15 files changed

+16
-1
lines changed

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-crmeta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-cfg-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-manual.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-cfg-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-no-ignored-meta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ spec:
2222
port: 27017
2323
protocol: TCP
2424
targetPort: 27017
25+
publishNotReadyAddresses: true
2526
selector:
2627
statefulset.kubernetes.io/pod-name: some-name-cfg-0
2728
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-one-service-label-annotation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-cfg-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-two-service-labels-annotations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
port: 27017
2727
protocol: TCP
2828
targetPort: 27017
29+
publishNotReadyAddresses: true
2930
selector:
3031
statefulset.kubernetes.io/pod-name: some-name-cfg-0
3132
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-rs0-0-crmeta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-rs0-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-rs0-0-manual.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-rs0-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-rs0-0-no-ignored-meta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ spec:
2222
port: 27017
2323
protocol: TCP
2424
targetPort: 27017
25+
publishNotReadyAddresses: true
2526
selector:
2627
statefulset.kubernetes.io/pod-name: some-name-rs0-0
2728
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-rs0-0-one-service-label-annotation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-rs0-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-rs0-0-two-service-labels-annotations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
port: 27017
2727
protocol: TCP
2828
targetPort: 27017
29+
publishNotReadyAddresses: true
2930
selector:
3031
statefulset.kubernetes.io/pod-name: some-name-rs0-0
3132
sessionAffinity: None

0 commit comments

Comments
 (0)