I know this is going against the rest of the very good advice here, but, I use a 5 gal kettle for 5 gal batches of extract brew. I would go 10 if i had the room and will when i buy a new house and a propane burner. With a smaller kettle I can only boil 2.5 to 3 gallons of wort. I mix the wort once it gets down to around 100 degrees using a wort chiller,with cool water to get the temp down to pitching temp. I have yet to have a bad batch but I know if i brewed a 5 gallon wort, the beer would be better.
So if space is an issue as it is with me, then a 5 gallon kettle would work so long as you keep it filled with no more 2.5 to 3 gallons. At half full you still have to baby sit for boil overs though. Good Luck!