Rinse rice well until water runs clear. Place drained rice in the pot of electric pressure cooker (such as Instant Pot). Add water, pineapple chunks and juice, coconut milk, and red pepper flakes. Place the lid on the pot and lock in place.
Turn the cooker on and choose the "Manual" setting and high pressure. Set the timer for 3 minutes. Allow pressure to release naturally after the cooking time has ended, about 20 minutes. Stir in lime zest and juice.