I prefer to install an LED lighting strip on both sides of the cabinet. That way, each shelf can glow, as shown in this photo. Hide the LED strip behind the cabinet’s face frame. If it’s a frameless cabinet, embed the strip in a prepared groove in the cabinet’s side wall.
Cupboard between dishwasher and sink, corner sinks the dishwasher door will be in the way.