Do you have clipless pedals?
I notice my cavles if I'm dehydrated and climbing or pushing it harder than normal. Sometimes I have to back off to keep them from cramping, I need to drink more fluids I'm sure, sometimes it's hard. I work in construction all day and do not take on enough fluids, then I get home and jump on the bike, sometime my calves let me "know" they are there.