RCMP say that a third party became suspicious of the pair’s relationship and filed a complaint which prompted the investigation.
Miller is married with school age children of his own and is a popular teacher at the school.
Miller appeared in an Airdrie court on Thursday morning to answer to the charges and was granted bail.
A letter from the principal was posted on the school’s website informing parents about the charges.
The school has brought in counselors to support students and staff.
Miller must abide by a number of conditions and will be back in court on November 8.
This article originally appeared oncalgary.ctvnews