Ahsoka absolutely knew Anakin and Padme were in a relationship, based on her comments tpto Padme during the Forces of Destiny short "Unexpected Company", when she showed up on a "mission" thethat Padme and Anakin were supposedly going on thatwhich was really them getting away for some private time.
It isn't, however, known if sheAhsoka knew they were married, or that Padme was pregnant.