Kirkuk , which sits atop some of Iraq 's richest oil fields , is coveted by the country 's major ethnic and sectarian groups , and for that reason is considered the most politically precarious city in Iraq .