Marigolds can deter cucumber pests like aphids, and support insects that prey on stink bugs. They'll also shade the soil, helping to keep cucumbers well hydrated.
Companion planting legumes with marigolds can keep their pests in check, including root-knot nematodes, aphids, and beetles.
Kale, cabbage, and other brassicas are some of the best marigold companions; the flowers will deter almost all of their pests, including caterpillars, worms, and aphids.
for 9 more companion planting ideas + what not to plant with marigolds