Clayton Kershaw and the Dodgers agreed to a two-year deal Tuesday.