Kompany is a good coach and nobody saw those qualities in him, until he came to Bayern. There are also some ex-players that became a coach and they are doing pretty good. Look at Inzaghi and Xabi Alonso in their respective clubs, they both won their domestic leagues last season. I am happy to see Kompany doing great with his new clubs despite all the critics he had in the beginning, when he was appointed as Bayern coach.
Vincent Kompany first showed that he's got a great managerial ability when he helped Burnley to get promoted to the English Premier League two seasons ago but his coaching abilities began to receive serious doubts when he couldn't help same Burnley to avoid relegation last season.
That said, I'm happy to see that he's back to getting the best results now with Bayern Munich as he's on course to win his first title as a manager with the German giants. It's not yet done for Vincent Kompany because he'll need to remain at the top of his game till the end of the season to win the German Bundesliga and I'm very optimistic that he'll surely achieve that.