This is a "ball". It was used to protect tubes and capacitors against overvoltages
on them.