Entire Turkish Military Resigns

At least at the top:

The chief of the Turkish armed forces has resigned, along with the heads of the army, navy and air force, according to the state-run Anatolia news agency.  The reason for the resignations of Gen Isik Kosaner and the other heads remains unclear.  There has been a history of tension between the secularist military and the government of Prime Minister Recep Tayyip Erdogan in recent years.

AJE puts the resignations in the context of recent accusations that the ruling AKP party is more Islamist than it claims.  Vali Nasr thinks this is a fight the military can't win.  Soner Cagaptay isn't so sure:

[W]ith dozens of generals and hundreds of other officers in jail for years with coup allegations, with no indictment in sight, the officer corps is demoralized. This is the Turkish military leadership's way of telling the government: "We are done playing with you. Set up your own team — if you can."  The dilemma for the AKP is that this may not be possible. Turkish military officers all undergo the same training, with the same discipline and commitment to secularism and the subsequent opposition to the AKP. It will be difficult for the AKP to find pro-AKP officials in the military's top ranks.  This leaves Turkey with two options: Operate with a headless military…or fashion an agreement between the AKP and the military.