It normally crops up in any discussion on the management of hyperkalemia... if there are EKG changes. It's not 1. Ca 2. Insulin 3. IV fluids. It's look at the patient, get an EKG and 1. Ca iff there are EKG changes 2. Insulin+D50, Albuterol (at a high dose), and/or Bicarb (iff the patient is also acidotic) 3. Kayexalate, fluids+diuretics, or dialysis (depending on how high the level is and the status of the patient).
With DKA, the above management changes a little. You can still give Ca if there are EKG changes, and you'll be giving high dose insulin (plus sugar if necessary) to get the serum level down, but you know that the total body potassium is actually quite low, so you would never give diuretics or kayexalate. Dialysis may be an option for management of DKA only in a patient who already has ESRD and is otherwise quite unstable, but even then the point is not to remove K.