In the kernel clustering problem we are given a large n×n positive semi-definite matrix A=(aij) with ∑i,j=1naij=0 and a small k×k positive semi-definite matrix B=(bij). The goal is to find a partition S1,...,Sk of {1,...n} which maximizes the quantity i,j=1∑k((i,j)∈Si×Sj∑aij)bij. We study the computational complexity of this generic clustering problem which originates in the theory of machine learning. We design a constant factor polynomial time approximation algorithm for this problem, answering a question posed by Song, Smola, Gretton and Borgwardt. In some cases we manage to compute the sharp approximation threshold for this problem assuming the Unique Games Conjecture (UGC). In particular, when B is the 3×3 identity matrix the UGC hardness threshold of this problem is exactly 2716π. We present and study a geometric conjecture of independent interest which we show would imply that the UGC threshold when B is the k×k identity matrix is 98π(1−k1) for every k≥3.