Lord Krishna is one of the most popular Gods in Hinduism. In the mythological story, Krishna did not know who his real parents were. We know Krishna is also the incarnation of Lord Vishnu. If he is almighty Lord Vishnu, why was he in a confusion about his parents?
He is never in illusion or confusion. Only uninformed think otherwise. Following statements from Bhagavata purana prove my point.
In relation to slaying of Salva demon, some sages thought Krishna was actually illusioned. Then following three verses refutes such conception.
SB 10.77.30: Such is the account given by some sages, O wise King, but those who speak in this illogical way are contradicting themselves, having forgotten their own previous statements
Further these verses are spoken:
SB 10.77.31: How can lamentation, bewilderment, material affection or fear, all born out of ignorance, be ascribed to the infinite Supreme Lord, whose perception, knowledge and power are all similarly infinite?
SB 10.77.32: By virtue of self-realization fortified by service rendered to His feet, devotees of the Lord dispel the bodily concept of life, which has bewildered the soul since time immemorial. Thus they attain eternal glory in His personal association. How, then, can that Supreme Truth, the destination of all genuine saints, be subject to illusion?