Have you ever had knee problems before? Is your bike adjusted to properly fit you? If you don't know how to make adjustments to fit your bike or if the changes you're making aren't helping, it would probably be worth talking to your LBS about a fitting session.