A K-complex is an electroencephalography (EEG) waveform that occurs during stage 2 of NREM sleep. It is the “largest event in healthy human EEG”. They are more frequent in the first sleep cycles. So yeah, it’s NOTHING to do with K!
Here are some informative graphs for your perusal: