8. Given the equation about $x$
$$
|x-k|=\frac{\sqrt{2}}{2} k \sqrt{x}
$$

has two distinct real roots in the interval $[k-1, k+1]$. Then the range of the real number $k$ is $\qquad$.
8. $0<k \leqslant 1$