In a campground building, knocking usually comes from the fixtures rather than the tank.
Four patterns
Thump when a shower or toilet closes. Water hammer. Stopping a column of moving water suddenly sends a shock wave back down the pipe to the heater. Quick-closing group fixtures make it frequent.
Knock during heating. Expansion. Check the expansion vessel and watch the relief valve through a cycle.
Rattle after start-up. Air working through a system that was drained months earlier. Purging properly usually ends it.
Gurgle. Sediment and steam, which belongs with the popping question.
The building factor
Shower blocks have long runs to multiple outlets and often little restraint on the pipework. That is a design inheritance, not a fault, but it makes hammer louder and more frequent.
What to check
The expansion vessel's charge, the relief discharge through a heating cycle, and the supports along the run. Confirm the system is fully purged after start-up.
The fixes
Restraints and clips, an arrestor at the offending fixture, restored expansion capacity, and a proper purge routine written into the opening checklist.
What to have ready
The sound, its timing, and whether the system was recently refilled.