Oil-based (alkyd) primers are the old favorite ... First prime just the knots with the alkyd or stain-blocking acrylic primer ...