Here, the authors show that astrocytic PDK2 ablation or inhibition attenuates hypothalamic inflammation in mouse models of diabetes. Here, PDK2 is linked to diabetes mellitus.