-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: BanzaiCloud KafkaCluster healthcheck to return Progressing durin…
…g rolling update (#17994) * Update ClusterRollingUpgrading state to always be in Progressing state regardless of broker status Signed-off-by: Ha Van <[email protected]> * Retrigger CI pipeline Signed-off-by: Ha Van <[email protected]> --------- Signed-off-by: Ha Van <[email protected]> Co-authored-by: Dan Garfield <[email protected]>
- Loading branch information
1 parent
5849a06
commit f4fd97d
Showing
3 changed files
with
59 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
resource_customizations/kafka.banzaicloud.io/KafkaCluster/testdata/rollingUpgrade.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
apiVersion: kafka.banzaicloud.io/v1beta1 | ||
kind: KafkaCluster | ||
metadata: | ||
finalizers: | ||
- finalizer.kafkaclusters.kafka.banzaicloud.io | ||
- topics.kafkaclusters.kafka.banzaicloud.io | ||
- users.kafkaclusters.kafka.banzaicloud.io | ||
generation: 4 | ||
labels: | ||
argocd.argoproj.io/instance: kafka-cluster | ||
controller-tools.k8s.io: "1.0" | ||
name: kafkacluster | ||
namespace: kafka | ||
name: kafkacluster | ||
namespace: kafka | ||
resourceVersion: "31935335" | ||
selfLink: /apis/kafka.banzaicloud.io/v1beta1/namespaces/2269-kafka/kafkaclusters/kafkacluster | ||
uid: c6affef0-651d-44c7-8bff-638961517c8d | ||
spec: {} | ||
status: | ||
alertCount: 0 | ||
brokersState: | ||
"0": | ||
configurationState: ConfigInSync | ||
gracefulActionState: | ||
cruiseControlState: GracefulUpscaleSucceeded | ||
errorMessage: CruiseControlTopicReady | ||
rackAwarenessState: | | ||
broker.rack=us-east-1,us-east-1c | ||
"1": | ||
configurationState: ConfigInSync | ||
gracefulActionState: | ||
cruiseControlState: GracefulUpscaleSucceeded | ||
errorMessage: CruiseControlTopicReady | ||
rackAwarenessState: | | ||
broker.rack=us-east-1,us-east-1b | ||
"2": | ||
configurationState: ConfigOutOfSync | ||
gracefulActionState: | ||
cruiseControlState: GracefulUpscaleSucceeded | ||
errorMessage: CruiseControlTopicReady | ||
rackAwarenessState: | | ||
broker.rack=us-east-1,us-east-1a | ||
cruiseControlTopicStatus: CruiseControlTopicReady | ||
rollingUpgradeStatus: | ||
errorCount: 0 | ||
lastSuccess: "" | ||
state: ClusterRollingUpgrading |