Karnataka has emerged as the second-largest milk producer in India after Gujarat, Chief Minister Siddaramaiah announced at a special event in New Delhi on Thursday.