Almost certainly eggs of the Large White butterfly, which lays batches of 20-100 eggs (the Small White lays lots of single eggs.) Squashing/rubbing them off is the usual method, unless you want to risk waiting to see what emerges, but bear in mind caterpillars of the Large White can defoliate a plant in mere days!