Spring is the obvious choice. Machining down the rod inside the cylinder will end up reducing the strength of it.