I follow a very low carb diet. Generally less than 50 grams of carbs per day.
Potassium is certainly important, but you should generally be able to get more than enough potassium with a varied diet.
Being in DKA or undertaking extended exercise leads to leaching of electrolytes like sodium and potassium. Like meee, I've experienced this after long days working in the hot sun or very long bouts of exercise. My suggestion under those circumstances is to use low carb electrolyte replacements of which there are many. You can just mix it into a bottle of water.