k The number of nearest neighbors used in the classification. Default is 1.
and
The default behavior is to use majority rule. That is, a sample point is assigned to the class the majority of the k nearest neighbors are from. Use 'consensus' to require a consensus, as opposed to majority rule. When using the 'consensus' option, points where not all of the k nearest neighbors are from the same class are not assigned to one of the classes. Instead the output Class for these points is NaN for numerical groups or '' for string named groups.
In other words, when you did your testing, the results were the same when you varied k because the majority of neighbors happened to agree with the first nearest neighbor. This can, for example, happen if your clusters do not overlap much.