The noise is coming from the heat exchanger located just above the burner tray. One or more of the heat exchanger tubes has become blocked or reduced in size from calcium buildup - - - improper adjustment of your pool's pH which can happen is a short period of time. The knocking is caused by steam or the lack of proper water flow through the exchanger tubes. Someone, and I am not mentioning names has not done their job of maintaining the pool properly. If left alone the exchanger will fail and you will have a great expense of replacing the heater. Another possibility is that the heater by-pass valve is failing. You need a qualified pool tech to advise. He can only assess the problem through a heater visual inspection --- that means disassembling the heater to look at the exchanger tubes.
Sorry for your misfortune.
k
Knocking is usually associated with worn main and rod bearings.
Driving at 50mph or above what causes a loud knocking clicking sound during acceleration?
a dog
counterbalancer is bad
it could be your valves or your engine
cv joints
A little kid in the trunk with a hammer
Mine did the same, mine was a motor mount.
If the brakes are too loose that could be a result.
You forgot to let your wife in
Heating in wire is caused by the flow of current through the wire. The resistance in the wire causes energy to be converted into heat as the electrons move. This heating effect is known as Joule heating.
Knocking as opposed to pinging or ticking, usually means seriously worn bearings of some sort. Time for an overhaul.