Basically, Krishna is 1) not referring to himself but God. He’s explaining the true essence of this way of life. By “I” he means God 2) He is an avatar, he is the human form of a cosmic energy that is apart of God. Therefore he is considered God. However he has never called himself God.