This is a modular vertical K-Cup holder/dispenser. Simply pull a K-Cup out the side of the Dixie cup-like dispenser and another will fall into place. A single dispenser piece holds 3 cups and each extension piece (that snaps onto the bottom piece) holds 2 more. Magnets can be stuck/glued to the backs of each piece to stick the dispenser on the side of the fridge.
The Fusion 360 design (included) is probably parametric enough for this design to be adapted to different brands of coffee pod.
I printed in PETG, it doesn't really matter. The hardest part to print (and the only part where supports are necessary) is the lip at the bottom of the dispenser piece. I wouldn't recommend skimping on the infill because that is all (aside from the top shell layers) supporting the pegs at the top.
Connect any extension pieces printed to the top of the bottom dispenser piece. Add kitchen magnets (either adhesive ones meant for crafts or other random magnets superglued to the back of the dispenser) to at least the bottom piece, preferably with extensions too.