My family is genetically prone to knee problems. The best preventive measure for weak knees is strong quadriceps(thigh) muscles. However, when weight training, always develop the opposing muscle group too, which would be the hamstrings(back of thighs), to maintain a balance of strength and prevent injury.
Drumming is an athletic musical instrument. (not only playing, but carting

) It behooves us to warm up and cool down (stretch) as Bart says.
If you listen to your body and keep track of your trial and error seat and instrument positioning, and the subsequent muscle/joint feedback via a journal, you can narrow down
your ideal ergonomic position at the kit.