Servicing a heater in a dense neighbourhood means servicing the cupboard it lives in as well.
Start with access
Can the panel be reached, the drain valve turned, the anode withdrawn, the vent inspected? Where the answer is no, the honest recommendation is often to improve access before promising maintenance.
The appliance work
Drain and flush. Clear the floor and check what comes out; the quantity sets the interval.
Anode. The cheapest protection on the tank, and the part most often skipped because it is awkward to reach.
Relief valve and discharge. Operate the lever, watch it shut off cleanly, then trace the pipe to its terminus.
Gas side. Vent, combustion air, burner condition. In a closet, a blocked louvre is a safety issue, not a draught.
The summer check
Long, hot seasons punish equipment in unconditioned spaces. Clearance, insulation and a sane set point are the levers, and they cost nothing to check.
The supply
The district's water is treated and blended, so what arrives can vary. A periodic test is how you notice a change rather than guessing at one.
What to have ready
Location, age, fuel, service history.