Where the gods are killed/overthrown. Ragnarok sort of applies, though there's no replacement of the previous gods.
There is a theory that over the course of the evolution of Norse mythology this has actually happened - Tyr, god of justice, is theorized to have been the previous head of the pantheon, and had Christianity not interrupted, the same thing may have happened again. There is a mention on Ragnarok that Heimdall becomes head of a 'new' pantheon, or at least the principle god, however taking that at face value is tricky due to the source being filtered through a Christian worldview (ie. compiled by a monk). This does make some sense since all these gods are the ones missing a part of them- eye, hand and ear iirc.
There is a paper I found written about cyclical vs. linear mythologies, which cites several cultures, however it's more in reference to humanity ending rather than gods. The author cites Hopi, Mayan and Hindu mythology, but I don't know enough about those to really discuss them. I found the paper by searching 'cyclical mythology', you may find more with a variation on that. Most of the results do seem to relate to Norse or Greek mythology though.