diff --git a/ui/apps/everest/src/components/cluster-form/resources/constants.ts b/ui/apps/everest/src/components/cluster-form/resources/constants.ts index efc909ea0..db88666f1 100644 --- a/ui/apps/everest/src/components/cluster-form/resources/constants.ts +++ b/ui/apps/everest/src/components/cluster-form/resources/constants.ts @@ -293,13 +293,6 @@ export const resourcesFormSchema = (passthrough?: boolean) => { path: [DbWizardFormFields.shardNr], }); } - if (+intNrNodes > 1 && intShardNr < 2) { - ctx.addIssue({ - code: z.ZodIssueCode.custom, - message: Messages.sharding.minForNodes, - path: [DbWizardFormFields.shardNr], - }); - } } if ( diff --git a/ui/apps/everest/src/components/cluster-form/resources/messages.tsx b/ui/apps/everest/src/components/cluster-form/resources/messages.tsx index 7d4af2eb6..4f737d892 100644 --- a/ui/apps/everest/src/components/cluster-form/resources/messages.tsx +++ b/ui/apps/everest/src/components/cluster-form/resources/messages.tsx @@ -2,7 +2,6 @@ export const Messages = { sharding: { invalid: 'Please fill in valid values for sharding', min: (val: number) => `The value cannot be less than ${val}`, - minForNodes: 'The minimum number of shards should be 2', max: (val: number) => `The value cannot be more than ${val}`, odd: 'The value cannot be even', numberOfShards: 'NÂș of shards',