Be sure your seat isn't too high or too low. Too high, and I think you feel it behind the knee. Too low and I think you'll feel it in the knee. But I may have that backwards or sideways.
And of course if you feel some strain coming on in your knee, just shift to a lower gear and go easy and drink plenty of fluids.