It's all through what you eat. Less carbs and more veg and protein. My diabetes midwife was/is fantastic. She said to eat no more than a fistful of carbs a day - whether that is bread, pasta, chocolate etc, avoid most fruit and juices as they are extremely high in sugar - all berry fruit is better, strawberry, blueberry etc. Cheese helps to level your sugars so I try to have it with most meals and go for a half an hour walk after your main meal, don't sit around as this helps the sugar to pass through.
Once you are tracking your blood levels and know which food works best it becomes routine.
I'm the same, I had a lovely, quick first delivery so having to get my head round a csection is hard but like you say if it's the safest way for me and my baby then so be it.
Have you had a growth scan yet?