K in knife is just there in spelling but in pronunciation it's silent. And its silentness in that word is what we refer to as silent letters in phonology.
There are other silent k's for example in knot,knob,knock, knicker,knead,knit, knack,knight etc.
@unclewowo_