Turn Instant Pot to saute, and when it reads HOT, add the olive oil and onion, and cook until slightly soft
Add the meat, Italian seasoning, salt, garlic powder and pepper, and cook until no pink remains, stirring frequently
Hit CANCEL, and add a little water if needed, to deglaze bottom of pot
Break spaghetti strands in half, and layer on top of meat in a criss-cross pattern
Pour marinara sauce over pasta
Pour diced tomatoes over sauce
Pour water around sides and on top of tomatoes, and push down lightly with spatula to make sure water gets through layers and all pasta is covered
Cover with lid, turn valve to SEALING, press PRESSURE COOK or Manuel on some models, and set cook time to 5 minutes
When cooking is done, turn the pressure release valve to do a quick pressure release or gradual quick release, hen hit CANCEL
When pin drops, carefully open lid, and stir spaghetti and meat sauce together well before serving