2004 Mitsubishi Pajero Sport 2.5TD

It has developed a knock in the engine, appears to be from the top part of engine but it goes away and then comes back? Can be driving along and it will disappear then all of a sudden will come back ? There's no drop in power etc? Start the jeep and it there and it will disappear for awhile then come back into the jeep? Anyone ever had any similar problems ?