Authorities said the men ran out of the store after the clerk resisted and fled east on Millbrook Road. Nothing was taken from the gas station.
The suspects are white, of medium height, and thought to be in their late teens or early 20s, police said. They were last seen wearing black sweatshirts.
Anyone with information should contact the Raleigh Police Department or Crime Stoppers at 919-834-4357.