I know what the official rules state, but my wife brought on a 12 pack of soda in a carryon on our last two cruises.  She preferred Pepsi to Coke, but would not have had a problem if it was confiscated.  Both cruises were out of Fort Lauderdale pier 26 - Nieuw Amsterdam in November 2021 and Eurodam in January 2022.