File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -816,17 +816,19 @@ export class NetworkCommand extends BaseCommand {
816
816
// minio
817
817
subTasks . push ( {
818
818
title : 'Check MinIO' ,
819
- // TODO: @Lenin , needs to run for each cluster
820
- task : async ctx =>
821
- await self . k8Factory
822
- . default ( )
823
- . pods ( )
824
- . waitForReadyStatus (
825
- ctx . config . namespace ,
826
- [ 'v1.min.io/tenant=minio' ] ,
827
- constants . PODS_RUNNING_MAX_ATTEMPTS ,
828
- constants . PODS_RUNNING_DELAY ,
829
- ) ,
819
+ task : async ctx => {
820
+ for ( const context of ctx . config . contexts ) {
821
+ await self . k8Factory
822
+ . getK8 ( context )
823
+ . pods ( )
824
+ . waitForReadyStatus (
825
+ ctx . config . namespace ,
826
+ [ 'v1.min.io/tenant=minio' ] ,
827
+ constants . PODS_RUNNING_MAX_ATTEMPTS ,
828
+ constants . PODS_RUNNING_DELAY ,
829
+ ) ;
830
+ }
831
+ } ,
830
832
// skip if only cloud storage is/are used
831
833
skip : ctx =>
832
834
ctx . config . storageType === constants . StorageType . GCS_ONLY ||
You can’t perform that action at this time.
0 commit comments