Some members can’t kneel at all, some can, and some can but don’t because it doesn’t feel good.
My first thought is that you most likely “just” upset the soft tissue near the knee, especially since you were kneeling on the bed and not on a hard surface.
I’d give it some time to settle down, and baby it for a while. If you continue to have concerns call your doctor.