A right circular cylinder is inscribed in a cone with height h and base radius r

A right circular cylinder is inscribed in a cone with height h and base radius r.

Find the largest possible volume of such a cylinder.
image