Connor McDavid and Corey Perry scored in the second period and the Edmonton Oilers rallied to beat the Seattle Kraken 4-2.