-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ClusterRollingUpgrading state to always be in Progressing stat…
…e regardless of broker status Signed-off-by: Ha Van <musubi7726@gmail.com>
- Loading branch information
1 parent
2dbe5c1
commit e8d6467
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 |