If your diet does not include enough Magnesium (Mg) and Potassium (K), you may experience leg cramps. Also, insufficient fluid intake may cause the same problem. If you want to not have the same problems, you can increase your kefir and yogurt consumption and try to be physically more active. You can benefit from vitamin supplements if needed.