Australian authorities called it the largest drug seizure on a commercial boat or plane the country has ever had, the BBC reported.
"It is a very sad indictment on her relative age group in society to seem to get self worth relative to posts on Instagram", Traill said, reported ABC News.
Although Traill noted Roberge had a decent chance of rehabilitation and accepted that her remorse was genuine, she also criticized her motivation for committing the crimes.
Her companion Isabelle Lagace, 29, was jailed for at least four-and-a-half years for transporting the substance, with a maximum term of seven-and-a-half years.
"She was seduced by lifestyle and the opportunity to post glamorous Instagram photos from around the world".
She added: "This highlights the negative influence of social media on young women".
Roberge is the youngest of three Canadians who prosecutors said imported 209 pounds of cocaine on a luxury cruise en route to Australia, where it docked and was raided, the report said.
Judge Traill accepted the naive escort was led astray by a much older man.
"He charmed her and he spoiled her".
Roberge had been "groomed" with freebies and expensive dinners by her sugar daddy, whom she won't name over fears for her family's safety in Canada.
Wearing a white jacket over a black top and trousers, her face carefully made up and long brown hair drawn up into a ponytail, Roberge bit her lip and wiped her eyes with a tissue in court.
Roberge, who stood to earn a possible $100,000 from the $21m cocaine plot, was being sentenced for trafficking 29kg - 23kg of it's pure - of the total importation. "I doubt she is now", the judge said.
The Sea Princess stopped at Bermuda, Colombia, Panama, Ecuador, Peru, Chile and Tahiti before berthing in Sydney six weeks later.
Andre Tamin, in his sixties, has also pleaded guilty and will be sentenced later this year, while a fourth trafficker disembarked the ship before it reached Sydney.
She said she took part in the scheme to gain more Instagram followers and to promote the glamorous lifestyle she portrays on her social media account.
Co-defendant Isabelle Lagace, 30, a former porn star, traveled with Roberge and the pair often posted bikini-clad photos of themselves with tropical backdrops, the report said. Picture: Instagram. Lagace was sentenced last November to at least four-and-a-half years in jail for her part in the crime.
He invited her on a trip to Morocco in May 2016 where she worked as an escort, and it was on this trip that he first asked her to be involved in the drug-smuggling trip.
The court heard Roberge had always been preoccupied with her appearance and "her main hobby in prison is training at the gym".
Tamine will be sentenced at a later date.