To make this recipe gluten-free, substitute the whole-wheat spaghetti with your preferred gluten-free spaghetti variety. Be sure to check the labels to confirm the pasta contains no gluten-containing ingredients, and ensure your nonstick cooking spray and Parmesan are certified gluten-free if needed.