An electrode assembly comprises a housing, an electrode, a retainer and a potting material. The housing has a first end and a second end, with the electrode extending from the first end of the housing to a process flow. The retainer is positioned about the electrode, inside the housing. The potting material fills voids between the first end of the housing and the second end of the housing, such that the potting material limits displacement of the electrode when the electrode head is subject to pressure from the process flow.