03 jeep morning knocks

03 Jeep rubicon cranks rough in the morning…motor knocks…fog light indicator is on…has no fog lights?

stops knocking once warmed up

How long does it take for the knocking to stop? Does it stop once the oil light goes out?

High mileage? Neglected oil changes? Abused? If so rod bearings. Highly unlikely knock sensor.