I'm not a medical expert, but as far as I'm aware even a 100% ketogenic diet would still have fluctuations in glucose levels which would require insulin to manage. But, it's entirely dependent on how much insulin a T1 or T2 diabetic's body is still capable of producing which would determine if they would still need exogenous insulin. (Because the quantity required _would_ be much lower than on a higher carb diet)