Is it a low pressure sodium? or high pressure? they have different lamp failure characteristics, if low pressure then its possibly a loose wire, or faulty ballast but as the lamp is going through constant restrike the lamp may be damaged too, probably just as quick and cheap to bring spare fitting.
If high pressure lamp then when the lamp comes to the end of its life it can go into what is known as cycling caused by loss of sodium in the arc which means the maintaining voltage rises to try keep arc going but when you hit the voltage limit of the ballast it can no longer maintain the arc and fails, lamp cools down and cycle begins again. Lamps doing this should be replaced immediately as it damages the lifespan of the ballast, if it been cycling a long time it may have longer duration before restrike as the sodium depletes and lower internal pressure are required to cause restrike.
Low pressure sodium lamps just normally fail and wont try cycling but may just give low level glow.
High pressure sodium lamps may be the symptoms of the OP but can be caused by other issues.