The administration has demanded that allies commit to spending at least 5 percent of GDP on defense.