If you undertake a mandatory internship as part of your degree programme, your health insurance will continue with TK. In the case of internships that are not mandatory, the same rules apply as to jobs alongside of degree programmes.
More details
Mandatory intermediate internships
Intermediate internships are mandatory vocational activities undertaken during a dregree programme and stipulated in the relevant study and examination regulations. Since you stay registered at university or college during these internships, you remain insured with student health insurance cover regardless of the duration of the internship and the weekly working hours.
This also applies to students from a foreign university or college who undertake an internship in Germany.