Kompany is not an experienced coach and he doesn't even have the enough knowledge. I think the only reason for Bayern Munich to hire Kompany was because him being available because before trying to go for Kompany they tried to hire some other coaches while they all rejected the offer from Bayern Munich because working in Bayern Munich is the current situation was a big risk for any coach while Kompany did it because he had nothing to lose.
It's no longer news how kompany was like a subsidiary to what Bayern Munich really did wanted, I will agree that it was based on availability Bayern Munich later got to hire kompany, Munich would have gone for others who appears more experienced than kompany but then they were left with almost no option at the time so they now had to hire him but not paying too many attention to all that, I think it's better to at this moment be optimistic about his performance and only hope for the best.