Coach Massimiliano Allegri will leave Juventus at the end of the season after a reported fall-out with the club's directors, the newly-crowned Serie A champions said in a surprise statement on Friday.