Although Rocky did get diagnosed with non-Hodgkin's lymphoma in the first Creed movie, he seemingly recovered before the events of Creed II. Rocky is still alive at the end of Creed II, meaning that something else had to have happened to him in between films.