The mayor shall appoint, subject to confirmation by the city council, for an indefinite term an officer whose title shall be the 'city manager' and the city manager shall serve at the pleasure of the city council. The city manager shall be appointed without regard to political beliefs and solely on the basis of his or her executive and administrative qualifications with special reference to his or her educational background and actual experience in, and knowledge of, the duties of office as hereinafter prescribed.