diff --git a/shell/pages/c/_cluster/explorer/__tests__/index.test.ts b/shell/pages/c/_cluster/explorer/__tests__/index.test.ts index 64b2a5d73..2db156f92 100644 --- a/shell/pages/c/_cluster/explorer/__tests__/index.test.ts +++ b/shell/pages/c/_cluster/explorer/__tests__/index.test.ts @@ -69,24 +69,24 @@ describe('page: cluster dashboard', () => { }); describe.each([ - ['local', 'fleet', true, ['fleetDeployment', 'fleetStatefulSet'], [ - [STATES_ENUM.IN_PROGRESS, 'icon-spinner', false, false, false, '', 0, 0], - [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, false, [{ status: 'False' }], 0, 0], - [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, true, [{ status: 'True' }], 0, 0], - [STATES_ENUM.WARNING, 'icon-warning', true, true, false, [{ status: 'True' }], 0, 0], - [STATES_ENUM.WARNING, 'icon-warning', true, false, false, [{ status: 'True' }], 0, 0], - [STATES_ENUM.WARNING, 'icon-warning', true, false, false, [{ status: 'True' }], 0, 1], - [STATES_ENUM.HEALTHY, 'icon-checkmark', true, false, false, [{ status: 'True' }], 1, 0], - ]], - ['downstream RKE2', 'fleet', false, ['fleetStatefulSet'], [ - [STATES_ENUM.IN_PROGRESS, 'icon-spinner', false, false, false, '', 0, 0], - [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, false, [{ status: 'False' }], 0, 0], - [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, true, [{ status: 'True' }], 0, 0], - [STATES_ENUM.WARNING, 'icon-warning', true, true, false, [{ status: 'True' }], 0, 0], - [STATES_ENUM.WARNING, 'icon-warning', true, false, false, [{ status: 'True' }], 0, 0], - [STATES_ENUM.WARNING, 'icon-warning', true, false, false, [{ status: 'True' }], 0, 1], - [STATES_ENUM.HEALTHY, 'icon-checkmark', true, false, false, [{ status: 'True' }], 1, 0], - ]], + // ['local', 'fleet', true, ['fleetDeployment', 'fleetStatefulSet'], [ + // [STATES_ENUM.IN_PROGRESS, 'icon-spinner', false, false, false, '', 0, 0], + // [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, false, [{ status: 'False' }], 0, 0], + // [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, true, [{ status: 'True' }], 0, 0], + // [STATES_ENUM.WARNING, 'icon-warning', true, true, false, [{ status: 'True' }], 0, 0], + // [STATES_ENUM.WARNING, 'icon-warning', true, false, false, [{ status: 'True' }], 0, 0], + // [STATES_ENUM.WARNING, 'icon-warning', true, false, false, [{ status: 'True' }], 0, 1], + // [STATES_ENUM.HEALTHY, 'icon-checkmark', true, false, false, [{ status: 'True' }], 1, 0], + // ]], + // ['downstream RKE2', 'fleet', false, ['fleetStatefulSet'], [ + // [STATES_ENUM.IN_PROGRESS, 'icon-spinner', false, false, false, '', 0, 0], + // [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, false, [{ status: 'False' }], 0, 0], + // [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, true, [{ status: 'True' }], 0, 0], + // [STATES_ENUM.WARNING, 'icon-warning', true, true, false, [{ status: 'True' }], 0, 0], + // [STATES_ENUM.WARNING, 'icon-warning', true, false, false, [{ status: 'True' }], 0, 0], + // [STATES_ENUM.WARNING, 'icon-warning', true, false, false, [{ status: 'True' }], 0, 1], + // [STATES_ENUM.HEALTHY, 'icon-checkmark', true, false, false, [{ status: 'True' }], 1, 0], + // ]], ['downstream RKE2', 'cattle', false, ['cattleDeployment'], [ [STATES_ENUM.IN_PROGRESS, 'icon-spinner', false, false, false, '', 0, 0], [STATES_ENUM.UNHEALTHY, 'icon-warning', true, false, false, [{ status: 'False' }], 0, 0], diff --git a/shell/pages/c/_cluster/explorer/index.vue b/shell/pages/c/_cluster/explorer/index.vue index 0471e153d..c6a6957a6 100644 --- a/shell/pages/c/_cluster/explorer/index.vue +++ b/shell/pages/c/_cluster/explorer/index.vue @@ -281,11 +281,12 @@ export default { }); } - services.push({ - name: 'fleet', - status: this.fleetStatus, - labelKey: 'clusterIndexPage.sections.componentStatus.fleet', - }); + // for Kube-explorer, no need to show fleet status + // services.push({ + // name: 'fleet', + // status: this.fleetStatus, + // labelKey: 'clusterIndexPage.sections.componentStatus.fleet', + // }); } return services;