We have an allotment. A large one. We’ve learned over the years how to cope with it.
Have a couple of beds for soft fruit; raspberries, strawberries, black currents, blueberries, gooseberries, etc..
Leave one bed fallow each year and dig all your kitchen waste, grass cuttings, etc into it. Same bed, have a bonfire on it in autum and burn all your weeds and rake in ashes, then plant a crop of green manure. We have chickens at home so also dig in their soiled bedding.
Plant crops you know you’ll eat and plenty of them. We’re virtually self sufficient in onions, garlic, leeks, beetroot. Plenty of potatoes (first earlies, second earlies an main crop) IF you eat them.
Have a few fruit trees, apples, pears, cherries, etc. We also grow our own hazel nuts.
Grown mixed crops in some beds eg a row or carrots, a row of parsnips, kale, beans, peas. Intersperse with lavender (attracts pollinators) chives (deters some insects) and other herbs.
Try The Three Sisters - that’s growing sweet corn alongside beans and courgettes in one bed. The sweet corn provides support for the beans to grow up and the courgettes provide ground cover so keeping moisture in. Alternatively you can grow squashes (same family as courgettes) and/or pumpkins.
But only grow what you will harvest and eat!