Skip to content

Commit

Permalink
Merge pull request #7528 from RafalKorepta/rk/gh-3023/wait-for-health…
Browse files Browse the repository at this point in the history
…y-cluster

Get cluster health before an update
  • Loading branch information
RafalKorepta committed Dec 5, 2022
2 parents f118b5b + 2d775e6 commit 26dcdf6
Show file tree
Hide file tree
Showing 29 changed files with 584 additions and 471 deletions.
433 changes: 7 additions & 426 deletions src/go/k8s/controllers/redpanda/suite_test.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/go/k8s/pkg/admin/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ type AdminAPIClient interface {

EnableMaintenanceMode(ctx context.Context, node int) error
DisableMaintenanceMode(ctx context.Context, node int) error

GetHealthOverview(ctx context.Context) (admin.ClusterHealthOverview, error)
}

var _ AdminAPIClient = &admin.AdminAPI{}
Expand Down
Loading

0 comments on commit 26dcdf6

Please sign in to comment.