The mayor and city council shall appoint a city manager for an indefinite term and shall fix his or her compensation. The manager shall be appointed solely on the basis of his or her executive and administrative qualifications and shall serve at the pleasure of the mayor and city council. Any vacancy in the office of city manager shall be filled by the mayor and city council.